1
0
mirror of https://github.com/mt-mods/basic_signs.git synced 2024-12-24 09:50:29 +01:00

allow steel and locked signs to hang from a ceiling

This commit is contained in:
Vanessa Dannenberg 2019-09-15 01:27:15 -04:00
parent 2ccb449550
commit 486423286a

View File

@ -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])