summaryrefslogtreecommitdiff
path: root/corn.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-05-31 09:36:29 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-05-31 09:36:29 +0100
commit1a207a8e92e81a1f4d43334ffb21647ee8b38fc9 (patch)
tree57a6068fa43308a04a83914bf09786592e90f0af /corn.lua
parent83bd2110257c907d94a5bb7457b7dc5c771a3ecb (diff)
added cornstarch, rose water and turkish delight
Diffstat (limited to 'corn.lua')
-rw-r--r--corn.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/corn.lua b/corn.lua
index 8afa16a..1785d8d 100644
--- a/corn.lua
+++ b/corn.lua
@@ -21,6 +21,7 @@ minetest.register_craftitem("farming:corn", {
minetest.register_craftitem("farming:corn_cob", {
description = S("Corn on the Cob"),
inventory_image = "farming_corn_cob.png",
+ groups = {food_corn_cooked = 1, flammable = 2},
on_use = minetest.item_eat(5),
})
@@ -31,6 +32,21 @@ minetest.register_craft({
recipe = "group:food_corn"
})
+-- cornstarch
+minetest.register_craftitem("farming:cornstarch", {
+ description = S("Cornstarch"),
+ inventory_image = "farming_cornstarch.png",
+ groups = {food_cornstarch = 1, flammable = 2},
+})
+
+minetest.register_craft({
+ output = "farming:cornstarch",
+ recipe = {
+ {"group:food_mortar_pestle", "group:food_corn_cooked", "group:food_baking_tray"},
+ {"", "group:food_bowl", ""},
+ },
+})
+
-- ethanol (thanks to JKMurray for this idea)
minetest.register_node("farming:bottle_ethanol", {
description = S("Bottle of Ethanol"),