From fd6c4e592f420107adb223b0db27a3fbec93dab0 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Sun, 18 Jan 2015 10:25:11 +0000 Subject: Added Straw --- wheat.lua | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'wheat.lua') diff --git a/wheat.lua b/wheat.lua index 4acf4f8..f90dc31 100644 --- a/wheat.lua +++ b/wheat.lua @@ -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", { -- cgit v1.2.3