diff options
Diffstat (limited to 'crops/hemp.lua')
-rw-r--r-- | crops/hemp.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/crops/hemp.lua b/crops/hemp.lua index 34dd56d..dd49134 100644 --- a/crops/hemp.lua +++ b/crops/hemp.lua @@ -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", |