summaryrefslogtreecommitdiff
path: root/dairy.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dairy.lua')
-rw-r--r--dairy.lua30
1 files changed, 30 insertions, 0 deletions
diff --git a/dairy.lua b/dairy.lua
index 017fea1..50f581c 100644
--- a/dairy.lua
+++ b/dairy.lua
@@ -22,6 +22,7 @@ minetest.register_craftitem("food:cheese", {
on_use = minetest.item_eat(4),
})
+
minetest.register_craft({
output = '"food:butter" 1',
recipe = {
@@ -38,5 +39,34 @@ minetest.register_craft({
+minetest.register_craftitem("food:chocolate_dark", {
+ description = "Dark Chocolate",
+ inventory_image = "food_choco_dark.png",
+ on_use = minetest.item_eat(2),
+})
+
+minetest.register_craftitem("food:chocolate_milk", {
+ description = "Milk Chocolate",
+ inventory_image = "food_choco_dark.png",
+ on_use = minetest.item_eat(3),
+})
+
+minetest.register_craft({
+ output = '"food:chocolate_dark" 1',
+ recipe = {
+ {'"food:cocoa"','"food:cocoa"','"food:cocoa"'},
+ }
+})
+
+minetest.register_craft({
+ output = '"food:chocolate_milk" 1',
+ recipe = {
+ {"",'"food:milk"',""},
+ {'"food:cocoa"','"food:cocoa"','"food:cocoa"'},
+ }
+})
+
+
+