mirror of
https://github.com/mt-mods/basic_signs.git
synced 2024-11-16 15:30:39 +01:00
allow steel and locked signs to hang from a ceiling
This commit is contained in:
parent
2ccb449550
commit
486423286a
2
init.lua
2
init.lua
|
@ -61,6 +61,7 @@ signs_lib.register_sign("basic_signs:sign_wall_locked", {
|
||||||
inventory_image = "basic_signs_sign_wall_locked_inv.png",
|
inventory_image = "basic_signs_sign_wall_locked_inv.png",
|
||||||
locked = true,
|
locked = true,
|
||||||
entity_info = "standard",
|
entity_info = "standard",
|
||||||
|
allow_hanging = true
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_alias("locked_sign:sign_wall_locked", "basic_signs:sign_wall_locked")
|
minetest.register_alias("locked_sign:sign_wall_locked", "basic_signs:sign_wall_locked")
|
||||||
|
@ -98,6 +99,7 @@ for i, color in ipairs(sign_colors) do
|
||||||
mesh = "signs_lib_standard_wall_sign_entity.obj",
|
mesh = "signs_lib_standard_wall_sign_entity.obj",
|
||||||
yaw = signs_lib.standard_yaw
|
yaw = signs_lib.standard_yaw
|
||||||
},
|
},
|
||||||
|
allow_hanging = true
|
||||||
})
|
})
|
||||||
|
|
||||||
table.insert(signs_lib.lbm_restore_nodes, "signs:sign_wall_"..color[1])
|
table.insert(signs_lib.lbm_restore_nodes, "signs:sign_wall_"..color[1])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user