add stairs for straw and hemp block

This commit is contained in:
TenPlus1 2018-06-12 16:13:24 +01:00
parent 8f3f32d6a6
commit 709f037ae7
3 changed files with 35 additions and 0 deletions

View File

@ -111,6 +111,23 @@ minetest.register_craft( {
},
})
-- register stairs
if stairs and stairs.mod and stairs.mod == "redo" then
stairs.register_all("hemp_block", "farming:hemp_block",
{snappy = 1, flammable = 2},
{"farming_hemp_block.png"},
"Hemp Block",
default.node_sound_leaves_defaults())
else
stairs.register_stair_and_slab("hemp_block", "farming:hemp_block",
{snappy = 1, flammable = 2},
{"farming_hemp_block.png"},
"Hemp Block",
default.node_sound_leaves_defaults())
end
-- paper
minetest.register_craft( {
output = "default:paper",

View File

@ -51,6 +51,23 @@ minetest.register_craft({
}
})
if stairs and stairs.mod and stairs.mod == "redo" then
stairs.register_all("straw", "farming:straw",
{snappy = 3, flammable = 4},
{"farming_straw.png"},
"Straw",
default.node_sound_leaves_defaults())
else
stairs.register_stair_and_slab("straw", "farming:straw",
{snappy = 3, flammable = 4},
{"farming_straw.png"},
"Straw Stair",
"Straw Slab",
default.node_sound_leaves_defaults())
end
-- flour
minetest.register_craftitem("farming:flour", {
description = S("Flour"),

View File

@ -1,4 +1,5 @@
default
stairs
intllib?
lucky_block?
toolranks?