mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-29 18:43:53 +01:00
lattice block added
This commit is contained in:
parent
d72f516cbb
commit
ed9deb3235
@ -186,8 +186,8 @@ minetest.register_node("tubelib_stairway:stairway", {
|
|||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
{-17/32, -1/32, -1/32, 17/32, 1/32, 17/32},
|
{-16/32, -18/32, -16/32, 16/32, -12/32, 0/32},
|
||||||
{-17/32, -17/32, -17/32, 17/32, -15/32, 1/32},
|
{-16/32, -18/32, 0/32, 16/32, 2/32, 16/32},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -263,6 +263,38 @@ minetest.register_node("tubelib_stairway:ladder2", {
|
|||||||
sounds = default.node_sound_metal_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node("tubelib_stairway:lattice", {
|
||||||
|
description = "Tubelib Lattice",
|
||||||
|
tiles = {
|
||||||
|
'tubelib_stairway_lattice.png',
|
||||||
|
},
|
||||||
|
drawtype = "nodebox",
|
||||||
|
node_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {
|
||||||
|
{-8/16, -8/16, -8/16, -7/16, 8/16, 8/16},
|
||||||
|
{ 7/16, -8/16, -8/16, 8/16, 8/16, 8/16},
|
||||||
|
{-8/16, -8/16, -8/16, 8/16, -7/16, 8/16},
|
||||||
|
{-8/16, 7/16, -8/16, 8/16, 8/16, 8/16},
|
||||||
|
{-8/16, -8/16, -8/16, 8/16, 8/16, -7/16},
|
||||||
|
{-8/16, -8/16, 7/16, 8/16, 8/16, 8/16},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-8/16, -8/16, -8/16, 8/16, 8/16, 8/16},
|
||||||
|
},
|
||||||
|
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
|
is_ground_content = false,
|
||||||
|
groups = {cracky = 2},
|
||||||
|
sounds = default.node_sound_metal_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "tubelib_stairway:bridge1 2",
|
output = "tubelib_stairway:bridge1 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -299,6 +331,15 @@ minetest.register_craft({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "tubelib_stairway:lattice 2",
|
||||||
|
recipe = {
|
||||||
|
{"default:steel_ingot", "", "default:steel_ingot"},
|
||||||
|
{"dye:dark_grey", "default:tin_ingot", "default:coal_lump"},
|
||||||
|
{"default:steel_ingot", "", "default:steel_ingot"},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "tubelib_stairway:ladder2",
|
output = "tubelib_stairway:ladder2",
|
||||||
recipe = {{"tubelib_stairway:ladder1"}},
|
recipe = {{"tubelib_stairway:ladder1"}},
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 628 B |
BIN
tubelib_stairway/textures/tubelib_stairway_lattice.png
Normal file
BIN
tubelib_stairway/textures/tubelib_stairway_lattice.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 439 B |
Loading…
Reference in New Issue
Block a user