diff options
author | Rogier <rogier777@gmail.com> | 2016-05-18 22:54:19 +0200 |
---|---|---|
committer | Rogier <rogier777@gmail.com> | 2016-06-27 23:23:54 +0200 |
commit | afab0692df2d99c36473568602d1cc4059aa2e65 (patch) | |
tree | 0da1e864c4dfad53e4f43dbe375cc342f51428c7 /crafts.lua | |
parent | 9ced339ce5cbdc48a7d9417786585f6f9c968ce1 (diff) |
Add date palm
Spawns in hot and dry desert, but requires water. This makes it a bit harder to
find, but where found, it can be more abundant.
If found in the middle of a desert, its presence indicates a water source below
the surface.
As an additional optional feature, dates (slowly) grow back after harvesting.
Diffstat (limited to 'crafts.lua')
-rw-r--r-- | crafts.lua | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -63,6 +63,12 @@ minetest.register_craftitem("moretrees:raw_coconut", { on_use = minetest.item_eat(4), }) +minetest.register_craftitem("moretrees:date", { + description = S("Date"), + inventory_image = "moretrees_date.png", + on_use = minetest.item_eat(1), +}) + minetest.register_craftitem("moretrees:acorn_muffin_batter", { description = S("Acorn Muffin batter"), inventory_image = "moretrees_acorn_muffin_batter.png", |