forked from mtcontrib/basic_signs
use signs_lib's standard wood and steel signs sound defs
This commit is contained in:
parent
f55c39acae
commit
a0b8560101
4
init.lua
4
init.lua
|
@ -95,6 +95,7 @@ for _, onpole in ipairs({"", "_onpole"}) do
|
|||
inventory_image = "basic_signs_sign_wall_locked_inv.png",
|
||||
wield_image = "basic_signs_sign_wall_locked_inv.png",
|
||||
groups = wood_groups,
|
||||
sounds = signs_lib.standard_wood_sign_sounds,
|
||||
default_color = "0",
|
||||
on_rightclick = signs_lib.construct_sign,
|
||||
on_construct = signs_lib.construct_sign,
|
||||
|
@ -145,6 +146,7 @@ for _, onpole in ipairs({"", "_onpole"}) do
|
|||
inventory_image = "basic_signs_steel_"..color[1].."_inv.png",
|
||||
wield_image = "basic_signs_steel_"..color[1].."_inv.png",
|
||||
groups = steel_groups,
|
||||
sounds = signs_lib.standard_steel_sign_sounds,
|
||||
default_color = color[3],
|
||||
on_rightclick = signs_lib.construct_sign,
|
||||
on_construct = signs_lib.construct_sign,
|
||||
|
@ -197,6 +199,7 @@ minetest.register_node("basic_signs:yard_sign", {
|
|||
inventory_image = "default_sign_wood.png",
|
||||
wield_image = "default_sign_wood.png",
|
||||
groups = nci_wood_groups,
|
||||
sounds = signs_lib.standard_wood_sign_sounds,
|
||||
default_color = "0",
|
||||
on_rightclick = signs_lib.construct_sign,
|
||||
on_construct = signs_lib.construct_sign,
|
||||
|
@ -242,6 +245,7 @@ minetest.register_node("basic_signs:hanging_sign", {
|
|||
inventory_image = "default_sign_wood.png",
|
||||
wield_image = "default_sign_wood.png",
|
||||
groups = nci_wood_groups,
|
||||
sounds = signs_lib.standard_wood_sign_sounds,
|
||||
default_color = "0",
|
||||
on_rightclick = signs_lib.construct_sign,
|
||||
on_construct = signs_lib.construct_sign,
|
||||
|
|
Loading…
Reference in New Issue
Block a user