diff options
author | Rubenwardy <anjayward@gmail.com> | 2012-09-10 20:04:10 +0100 |
---|---|---|
committer | Rubenwardy <anjayward@gmail.com> | 2012-09-10 20:04:10 +0100 |
commit | b336aaa2b489ceee8e5bc803dabc3052d2bbd63a (patch) | |
tree | 5fcf17f5f4e15e259fa33b73056604e69a899a39 /dairy.lua | |
parent | cf48b7dbadc2afc84613aa6c31b4c4bf8f95c177 (diff) |
Moved stuff around and added hot chocolate
Diffstat (limited to 'dairy.lua')
-rw-r--r-- | dairy.lua | 33 |
1 files changed, 30 insertions, 3 deletions
@@ -38,6 +38,12 @@ minetest.register_craft({ })
+--
+--
+-- CHOCOLATE
+--
+--
+
minetest.register_craftitem("food:chocolate_dark", {
description = "Dark Chocolate",
@@ -47,10 +53,15 @@ minetest.register_craftitem("food:chocolate_dark", { minetest.register_craftitem("food:chocolate_milk", {
description = "Milk Chocolate",
- inventory_image = "food_choco_dark.png",
+ inventory_image = "food_choco_milk.png",
on_use = minetest.item_eat(3),
})
+minetest.register_craftitem("food:chocolate_powder", {
+ description = "Chocolate Powder",
+ inventory_image = "food_choco_powder.png",
+})
+
minetest.register_craft({
output = '"food:chocolate_dark" 1',
recipe = {
@@ -59,10 +70,26 @@ minetest.register_craft({ })
minetest.register_craft({
+ output = '"food:chocolate_powder" 1',
+ recipe = {
+ {"food:cocoa","food:cocoa","food:cocoa"},
+ {"food:cocoa","food:cocoa","food:cocoa"},
+ {"food:cocoa","food:cocoa","food:cocoa"},
+ }
+})
+
+minetest.register_craft({
output = '"food:chocolate_milk" 1',
recipe = {
- {"",'"food:milk"',""},
- {'"food:cocoa"','"food:cocoa"','"food:cocoa"'},
+ {"","food:milk",""},
+ {"food:cocoa","food:cocoa","food:cocoa"},
+ }
+})
+
+minetest.register_craft({
+ output = '"food:chocolate_milk" 1',
+ recipe = {
+ {"","food:milk","food:chocolate_dark"},
}
})
|