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