forked from mtcontrib/farming
add stairs for straw and hemp block
This commit is contained in:
parent
8f3f32d6a6
commit
709f037ae7
@ -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",
|
||||
|
@ -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"),
|
||||
|
@ -1,4 +1,5 @@
|
||||
default
|
||||
stairs
|
||||
intllib?
|
||||
lucky_block?
|
||||
toolranks?
|
||||
|
Loading…
Reference in New Issue
Block a user