Skip to content
Snippets Groups Projects
Commit 5d8b2442 authored by jeanpatrick.guerrero@gmail.com's avatar jeanpatrick.guerrero@gmail.com Committed by Novatux
Browse files

Add straw

parent 61579827
No related branches found
No related tags found
No related merge requests found
......@@ -57,3 +57,6 @@ Created by VanessaE (License: WTFPL):
farming_cotton_6.png
farming_cotton_7.png
farming_cotton_8.png
Created by MasterGollum (License: WTFPL):
farming_straw.png
\ No newline at end of file
......@@ -59,3 +59,20 @@ minetest.register_craft({
{"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"},
}
})
......@@ -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({
nodenames = {"group:field"},
interval = 15,
......
mods/farming/textures/farming_straw.png

892 B

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment