mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 14:53:16 -04:00
Add straw
This commit is contained in:
parent
d546a5a1fa
commit
996f1df4af
4 changed files with 20 additions and 0 deletions
|
@ -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
|
|
@ -59,3 +59,12 @@ minetest.register_craft({
|
||||||
{"farming:cotton", "farming:cotton"},
|
{"farming:cotton", "farming:cotton"},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Straw
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:straw",
|
||||||
|
recipe = {
|
||||||
|
{"farming:wheat", "farming:wheat"},
|
||||||
|
{"farming:wheat", "farming:wheat"},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
|
@ -80,6 +80,14 @@ minetest.register_node("farming:desert_sand_soil_wet", {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node("farming:straw", {
|
||||||
|
description = "Straw",
|
||||||
|
drop = "farming:wheat 4",
|
||||||
|
tiles = {"farming_straw.png"},
|
||||||
|
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,
|
||||||
|
|
BIN
mods/farming/textures/farming_straw.png
Normal file
BIN
mods/farming/textures/farming_straw.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 880 B |
Loading…
Add table
Reference in a new issue