diff options
author | tenplus1 <kinsellaja@yahoo.com> | 2015-01-18 10:25:11 +0000 |
---|---|---|
committer | tenplus1 <kinsellaja@yahoo.com> | 2015-01-18 10:25:11 +0000 |
commit | fd6c4e592f420107adb223b0db27a3fbec93dab0 (patch) | |
tree | 1b08ca53b9e1c26b53e66ea69e7b353554f1e556 /wheat.lua | |
parent | 3c337bb84f5a5e30e92b27102e066a033d84d3e6 (diff) |
Added Straw
Diffstat (limited to 'wheat.lua')
-rw-r--r-- | wheat.lua | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -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", { |