add fluxionary scope creep

This commit is contained in:
unknown 2022-05-01 21:11:04 -04:00
parent c999979865
commit ee77cf7775
1 changed files with 6 additions and 3 deletions

View File

@ -46,9 +46,12 @@ function homedecor.register(name, original_def)
if expand then
-- dissallow rotating only half the expanded node by default
-- unless we know better
def.on_rotate = def.on_rotate or
(minetest.get_modpath("screwdriver") and (def.mesh and expand.top and screwdriver.rotate_simple) or
minetest.get_modpath("screwdriver") and screwdriver.disallow) or nil
def.on_rotate = def.on_rotate or (
minetest.get_modpath("screwdriver") and (
(def.mesh and expand.top and screwdriver.rotate_simple) or
screwdriver.disallow
)
)
def.on_place = def.on_place or function(itemstack, placer, pointed_thing)
if expand.top then