mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-11-17 23:58:30 +01:00
add fluxionary scope creep
This commit is contained in:
parent
c999979865
commit
ee77cf7775
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user