1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-21 14:50:23 +02:00

abstract common nodebox forms, fixing some ignored ones in the process

This commit is contained in:
Tim
2015-01-23 17:40:57 +01:00
committed by Vanessa Ezekowitz
parent 6245956ba4
commit b5188493cc
17 changed files with 114 additions and 259 deletions

View File

@ -22,10 +22,7 @@ minetest.register_node("homedecor:fence_brass", {
tiles = {"homedecor_tile_brass.png"},
inventory_image = "homedecor_fence_brass.png",
paramtype = "light",
selection_box = {
type = "fixed",
fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7},
},
selection_box = homedecor.nodebox.bar_y(1/7),
groups = {snappy=3},
sounds = default.node_sound_wood_defaults(),
walkable = true,
@ -37,10 +34,7 @@ minetest.register_node("homedecor:fence_wrought_iron", {
tiles = {"homedecor_tile_wrought_iron.png"},
inventory_image = "homedecor_fence_wrought_iron.png",
paramtype = "light",
selection_box = {
type = "fixed",
fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7},
},
selection_box = homedecor.nodebox.bar_y(1/7),
groups = {snappy=3},
sounds = default.node_sound_wood_defaults(),
walkable = true,