mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-06-28 12:56:01 +02:00
consolidate text pos and nodebox def tables
each sign type has a separate table which now defines the nodebox model and position of the text on that model, instead of separate sets of tables for each.
This commit is contained in:
@ -50,7 +50,7 @@ minetest.register_node("homedecor:fence_brass_with_sign", {
|
||||
wield_image = "homedecor_sign_brass_post.png",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
node_box = signs_lib.sign_post_model,
|
||||
node_box = signs_lib.sign_post_model.nodebox,
|
||||
groups = {snappy=3,not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
walkable = true,
|
||||
@ -78,7 +78,7 @@ minetest.register_node("homedecor:fence_wrought_iron_with_sign", {
|
||||
wield_image = "homedecor_sign_wrought_iron_post.png",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
node_box = signs_lib.sign_post_model,
|
||||
node_box = signs_lib.sign_post_model.nodebox,
|
||||
groups = {snappy=3,not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
walkable = true,
|
||||
|
Reference in New Issue
Block a user