From 709f037ae72e11182be223e7681b5df6bf6b552c Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Tue, 12 Jun 2018 16:13:24 +0100 Subject: add stairs for straw and hemp block --- crops/hemp.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'crops/hemp.lua') 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", -- cgit v1.2.3