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
|
-- paper
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "default:paper",
|
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
|
-- flour
|
||||||
minetest.register_craftitem("farming:flour", {
|
minetest.register_craftitem("farming:flour", {
|
||||||
description = S("Flour"),
|
description = S("Flour"),
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
default
|
default
|
||||||
|
stairs
|
||||||
intllib?
|
intllib?
|
||||||
lucky_block?
|
lucky_block?
|
||||||
toolranks?
|
toolranks?
|
||||||
|
Loading…
Reference in New Issue
Block a user