Added Straw

This commit is contained in:
tenplus1 2015-01-18 10:25:11 +00:00
parent 3c337bb84f
commit fd6c4e592f
2 changed files with 26 additions and 0 deletions

BIN
textures/farming_straw.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 892 B

View File

@ -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", {