diff options
-rw-r--r-- | textures/farming_straw.png | bin | 0 -> 892 bytes | |||
-rw-r--r-- | wheat.lua | 26 |
2 files changed, 26 insertions, 0 deletions
diff --git a/textures/farming_straw.png b/textures/farming_straw.png Binary files differnew file mode 100644 index 0000000..e427772 --- /dev/null +++ b/textures/farming_straw.png @@ -35,6 +35,32 @@ minetest.register_craftitem("farming:wheat", { inventory_image = "farming_wheat.png", }) +-- Straw + +minetest.register_node("farming:straw", { + description = "Straw", + tiles = {"farming_straw.png"}, + is_ground_content = false, + groups = {snappy=3, flammable=4}, + sounds = default.node_sound_leaves_defaults(), +}) + +minetest.register_craft({ + output = "farming:straw 3", + recipe = { + {"farming:wheat", "farming:wheat", "farming:wheat"}, + {"farming:wheat", "farming:wheat", "farming:wheat"}, + {"farming:wheat", "farming:wheat", "farming:wheat"}, + } +}) + +minetest.register_craft({ + output = "farming:wheat 3", + recipe = { + {"farming:straw"}, + } +}) + -- flour minetest.register_craftitem("farming:flour", { |