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:
parent
a80b3e94d0
commit
0bdd8322e3
4
init.lua
4
init.lua
@ -96,6 +96,7 @@ for _, onpole in ipairs({"", "_onpole"}) do
|
|||||||
wield_image = "basic_signs_sign_wall_locked_inv.png",
|
wield_image = "basic_signs_sign_wall_locked_inv.png",
|
||||||
groups = wood_groups,
|
groups = wood_groups,
|
||||||
default_color = "0",
|
default_color = "0",
|
||||||
|
on_rightclick = signs_lib.construct_sign,
|
||||||
on_construct = signs_lib.construct_sign,
|
on_construct = signs_lib.construct_sign,
|
||||||
on_destruct = signs_lib.destruct_sign,
|
on_destruct = signs_lib.destruct_sign,
|
||||||
after_place_node = function(pos, placer, itemstack, pointed_thing)
|
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",
|
wield_image = "basic_signs_steel_"..color[1].."_inv.png",
|
||||||
groups = steel_groups,
|
groups = steel_groups,
|
||||||
default_color = color[3],
|
default_color = color[3],
|
||||||
|
on_rightclick = signs_lib.construct_sign,
|
||||||
on_construct = signs_lib.construct_sign,
|
on_construct = signs_lib.construct_sign,
|
||||||
on_destruct = signs_lib.destruct_sign,
|
on_destruct = signs_lib.destruct_sign,
|
||||||
after_place_node = signs_lib.after_place_node,
|
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",
|
wield_image = "default_sign_wood.png",
|
||||||
groups = nci_wood_groups,
|
groups = nci_wood_groups,
|
||||||
default_color = "0",
|
default_color = "0",
|
||||||
|
on_rightclick = signs_lib.construct_sign,
|
||||||
on_construct = signs_lib.construct_sign,
|
on_construct = signs_lib.construct_sign,
|
||||||
on_destruct = signs_lib.destruct_sign,
|
on_destruct = signs_lib.destruct_sign,
|
||||||
after_place_node = signs_lib.after_place_node,
|
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",
|
wield_image = "default_sign_wood.png",
|
||||||
groups = nci_wood_groups,
|
groups = nci_wood_groups,
|
||||||
default_color = "0",
|
default_color = "0",
|
||||||
|
on_rightclick = signs_lib.construct_sign,
|
||||||
on_construct = signs_lib.construct_sign,
|
on_construct = signs_lib.construct_sign,
|
||||||
on_destruct = signs_lib.destruct_sign,
|
on_destruct = signs_lib.destruct_sign,
|
||||||
after_place_node = signs_lib.after_place_node,
|
after_place_node = signs_lib.after_place_node,
|
||||||
|
Loading…
Reference in New Issue
Block a user