1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-11-11 12:30:25 +01:00

Add straw

This commit is contained in:
jeanpatrick.guerrero@gmail.com 2015-01-12 20:21:06 +01:00 committed by Novatux
parent 6157982787
commit 5d8b2442ce
4 changed files with 28 additions and 0 deletions

View File

@ -57,3 +57,6 @@ Created by VanessaE (License: WTFPL):
farming_cotton_6.png farming_cotton_6.png
farming_cotton_7.png farming_cotton_7.png
farming_cotton_8.png farming_cotton_8.png
Created by MasterGollum (License: WTFPL):
farming_straw.png

View File

@ -59,3 +59,20 @@ minetest.register_craft({
{"farming:cotton", "farming:cotton"}, {"farming:cotton", "farming:cotton"},
} }
}) })
-- Straw
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"},
}
})

View File

@ -80,6 +80,14 @@ minetest.register_node("farming:desert_sand_soil_wet", {
} }
}) })
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_abm({ minetest.register_abm({
nodenames = {"group:field"}, nodenames = {"group:field"},
interval = 15, interval = 15,

Binary file not shown.

After

Width:  |  Height:  |  Size: 892 B