mirror of
https://github.com/minetest-mods/nether.git
synced 2024-12-29 12:20:29 +01:00
Add slabs and stairs for nether bricks, using "stairs" mod.
This commit is contained in:
parent
bad0d53bdb
commit
9b4d1f8ff7
@ -1 +1,2 @@
|
|||||||
|
stairs
|
||||||
default
|
default
|
||||||
|
7
init.lua
7
init.lua
@ -369,6 +369,13 @@ minetest.register_node("nether:brick", {
|
|||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
stairs.register_stair_and_slab("nether_brick", "nether:brick",
|
||||||
|
{cracky=3, oddly_breakable_by_hand=1},
|
||||||
|
{"nether_brick.png"},
|
||||||
|
"nether stair",
|
||||||
|
"nether slab",
|
||||||
|
default.node_sound_stone_defaults())
|
||||||
|
|
||||||
local function replace(old, new)
|
local function replace(old, new)
|
||||||
for i=1,8 do
|
for i=1,8 do
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
|
Loading…
Reference in New Issue
Block a user