mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-22 15:23:43 +01:00
Do not use moreblocks for stairway lattice slope
This commit is contained in:
parent
258734e9da
commit
3a8148ba2b
@ -1,3 +1,2 @@
|
|||||||
default
|
default
|
||||||
moreblocks?
|
|
||||||
|
|
||||||
|
@ -504,22 +504,7 @@ minetest.register_node("techpack_stairway:lattice", {
|
|||||||
sounds = default.node_sound_metal_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
if minetest.get_modpath("moreblocks") then
|
minetest.register_node("techpack_stairway:lattice_slop", {
|
||||||
stairsplus:register_all("techpack_stairway", "lattice", "techpack_stairway:lattice", {
|
|
||||||
description = S("TechPack Lattice"),
|
|
||||||
tiles = {
|
|
||||||
'techpack_stairway_lattice.png',
|
|
||||||
},
|
|
||||||
|
|
||||||
sunlight_propagates = true,
|
|
||||||
is_ground_content = false,
|
|
||||||
groups = {cracky = 2},
|
|
||||||
sounds = default.node_sound_metal_defaults(),
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_alias("techpack_stairway:lattice_slop", "techpack_stairway:slope_lattice")
|
|
||||||
else
|
|
||||||
minetest.register_node("techpack_stairway:lattice_slop", {
|
|
||||||
description = S("TechPack Lattice Slope"),
|
description = S("TechPack Lattice Slope"),
|
||||||
tiles = {
|
tiles = {
|
||||||
'techpack_stairway_lattice.png',
|
'techpack_stairway_lattice.png',
|
||||||
@ -565,8 +550,7 @@ else
|
|||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {cracky = 2},
|
groups = {cracky = 2},
|
||||||
sounds = default.node_sound_metal_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
})
|
})
|
||||||
end
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "techpack_stairway:grating 4",
|
output = "techpack_stairway:grating 4",
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
name=techpack_stairway
|
name=techpack_stairway
|
||||||
description=Simple stairways and bridges for your machines.
|
description=Simple stairways and bridges for your machines.
|
||||||
depends=default
|
depends=default
|
||||||
optional_depends=moreblocks
|
|
||||||
|
Loading…
Reference in New Issue
Block a user