opens and closes the toilet
parent
16fe5a2c58
commit
7a9168e92e
|
@ -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)
|
||||
|
|
|
@ -449,7 +449,7 @@
|
|||
drawtype = "nodebox",
|
||||
sunlight_propagates = false,
|
||||
paramtype = 'light',
|
||||
paramtype2 == 'facedir',
|
||||
paramtype2 = 'facedir',
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
|
|
Loading…
Reference in New Issue