forked from nalc/homedecor_modpack
give brass and wrought iron poles facedir
so they can be rotated to horizontal with screwdriver.
This commit is contained in:
parent
9fab61ec90
commit
380ca4c98a
|
@ -174,19 +174,20 @@ for i = 1, detail-1 do
|
|||
end
|
||||
|
||||
minetest.register_node("homedecor:pole_brass", {
|
||||
description = S("Brass Pole"),
|
||||
drawtype = "nodebox",
|
||||
tiles = {"homedecor_tile_brass2.png"},
|
||||
inventory_image = "homedecor_pole_brass2.png",
|
||||
wield_image = "homedecor_pole_brass2.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-size/2, -0.5, -size/2, size/2, 0.5, size/2},
|
||||
},
|
||||
groups = {snappy=3},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
description = S("Brass Pole"),
|
||||
drawtype = "nodebox",
|
||||
tiles = {"homedecor_tile_brass2.png"},
|
||||
inventory_image = "homedecor_pole_brass2.png",
|
||||
wield_image = "homedecor_pole_brass2.png",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-size/2, -0.5, -size/2, size/2, 0.5, size/2},
|
||||
},
|
||||
groups = {snappy=3},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
walkable = true,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
|
@ -195,23 +196,24 @@ minetest.register_node("homedecor:pole_brass", {
|
|||
})
|
||||
|
||||
minetest.register_node("homedecor:pole_wrought_iron", {
|
||||
description = S("Wrought Iron Pole"),
|
||||
drawtype = "nodebox",
|
||||
tiles = {"homedecor_tile_wrought_iron2.png"},
|
||||
inventory_image = "homedecor_pole_wrought_iron.png",
|
||||
wield_image = "homedecor_pole_wrought_iron.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.0625, -0.5, -0.0625, 0.0625, 0.5, 0.0625}
|
||||
},
|
||||
description = S("Wrought Iron Pole"),
|
||||
drawtype = "nodebox",
|
||||
tiles = {"homedecor_tile_wrought_iron2.png"},
|
||||
inventory_image = "homedecor_pole_wrought_iron.png",
|
||||
wield_image = "homedecor_pole_wrought_iron.png",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.0625, -0.5, -0.0625, 0.0625, 0.5, 0.0625}
|
||||
},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.0625, -0.5, -0.0625, 0.0625, 0.5, 0.0625}
|
||||
},
|
||||
groups = {snappy=3},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
groups = {snappy=3},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
walkable = true,
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user