mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
Added chainlink fence.
This commit is contained in:
parent
5ff52052c3
commit
c6b2bde0a1
@ -1149,3 +1149,11 @@ minetest.register_craft( {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = "homedecor:fence_chainlink 9",
|
||||||
|
recipe = {
|
||||||
|
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" },
|
||||||
|
{ "default:steel_ingot", "default:iron_lump", "default:steel_ingot" },
|
||||||
|
{ "default:steel_ingot", "default:iron_lump", "default:steel_ingot" }
|
||||||
|
},
|
||||||
|
})
|
||||||
|
31
fences.lua
31
fences.lua
@ -148,3 +148,34 @@ minetest.register_node("homedecor:fence_barbed_wire", {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node("homedecor:fence_chainlink", {
|
||||||
|
drawtype = "nodebox",
|
||||||
|
description = "Chainlink Fence",
|
||||||
|
tiles = {
|
||||||
|
"homedecor_fence_chainlink_tb.png",
|
||||||
|
"homedecor_fence_chainlink_tb.png",
|
||||||
|
"homedecor_fence_chainlink_sides.png",
|
||||||
|
"homedecor_fence_chainlink_sides.png",
|
||||||
|
"homedecor_fence_chainlink_fb.png",
|
||||||
|
"homedecor_fence_chainlink_fb.png",
|
||||||
|
},
|
||||||
|
paramtype = "light",
|
||||||
|
is_ground_content = true,
|
||||||
|
groups = {snappy=3},
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
walkable = true,
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = { -0.5, -0.5, 0.375, 0.5, 0.5, 0.5 }
|
||||||
|
},
|
||||||
|
node_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {
|
||||||
|
{ -8/16, -8/16, 6/16, -7/16, 8/16, 8/16 }, -- left post
|
||||||
|
{ 7/16, -8/16, 6/16, 8/16, 8/16, 8/16 }, -- right post
|
||||||
|
{ -8/16, 7/16, 13/32, 8/16, 8/16, 15/32 }, -- top piece
|
||||||
|
{ -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 } -- the chainlink itself
|
||||||
|
}
|
||||||
|
},
|
||||||
|
})
|
||||||
|
BIN
textures/homedecor_fence_chainlink_fb.png
Normal file
BIN
textures/homedecor_fence_chainlink_fb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 475 B |
BIN
textures/homedecor_fence_chainlink_sides.png
Normal file
BIN
textures/homedecor_fence_chainlink_sides.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 461 B |
BIN
textures/homedecor_fence_chainlink_tb.png
Normal file
BIN
textures/homedecor_fence_chainlink_tb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 420 B |
Loading…
Reference in New Issue
Block a user