opens and closes the toilet

master
tony-ka 2012-08-08 00:24:28 +02:00
parent 16fe5a2c58
commit 7a9168e92e
2 changed files with 3 additions and 4 deletions

View File

@ -75,7 +75,7 @@ local on_lamp_puncher = function (pos, node, puncher)
end
end
--[[
local on_toilet_puncher = function (pos, node, puncher)
if node.name == '3dforniture:toilet' then
local dir = node["param2"]
@ -87,7 +87,6 @@ local on_toilet_puncher = function (pos, node, puncher)
nodeupdate(pos)
end
end
]]
minetest.register_on_punchnode(on_lamp_puncher)
--minetest.register_on_punchnode(on_toilet_puncher)
minetest.register_on_punchnode(on_toilet_puncher)

View File

@ -449,7 +449,7 @@
drawtype = "nodebox",
sunlight_propagates = false,
paramtype = 'light',
paramtype2 == 'facedir',
paramtype2 = 'facedir',
node_box = {
type = "fixed",
fixed = {