1
0
mirror of https://github.com/mt-mods/basic_signs.git synced 2024-12-23 17:30:28 +01:00

fix 'dummy' formspec images (the hacky way)

This commit is contained in:
Vanessa Dannenberg 2019-09-12 11:31:26 -04:00
parent a80b3e94d0
commit 0bdd8322e3

View File

@ -96,6 +96,7 @@ for _, onpole in ipairs({"", "_onpole"}) do
wield_image = "basic_signs_sign_wall_locked_inv.png",
groups = wood_groups,
default_color = "0",
on_rightclick = signs_lib.construct_sign,
on_construct = signs_lib.construct_sign,
on_destruct = signs_lib.destruct_sign,
after_place_node = function(pos, placer, itemstack, pointed_thing)
@ -145,6 +146,7 @@ for _, onpole in ipairs({"", "_onpole"}) do
wield_image = "basic_signs_steel_"..color[1].."_inv.png",
groups = steel_groups,
default_color = color[3],
on_rightclick = signs_lib.construct_sign,
on_construct = signs_lib.construct_sign,
on_destruct = signs_lib.destruct_sign,
after_place_node = signs_lib.after_place_node,
@ -196,6 +198,7 @@ minetest.register_node("basic_signs:yard_sign", {
wield_image = "default_sign_wood.png",
groups = nci_wood_groups,
default_color = "0",
on_rightclick = signs_lib.construct_sign,
on_construct = signs_lib.construct_sign,
on_destruct = signs_lib.destruct_sign,
after_place_node = signs_lib.after_place_node,
@ -240,6 +243,7 @@ minetest.register_node("basic_signs:hanging_sign", {
wield_image = "default_sign_wood.png",
groups = nci_wood_groups,
default_color = "0",
on_rightclick = signs_lib.construct_sign,
on_construct = signs_lib.construct_sign,
on_destruct = signs_lib.destruct_sign,
after_place_node = signs_lib.after_place_node,