2012-08-30 18:04:36 +02:00
|
|
|
-- RUBENFOOD MOD
|
|
|
|
-- A mod written by rubenwardy that adds
|
|
|
|
-- food to the minetest game
|
|
|
|
-- =====================================
|
2012-09-10 21:04:10 +02:00
|
|
|
-- >> rubenfood/drinks/hot.lua
|
|
|
|
-- adds hot drinks
|
2012-08-30 18:04:36 +02:00
|
|
|
-- =====================================
|
2012-09-10 21:04:10 +02:00
|
|
|
-- [regis-food] Coffee
|
|
|
|
-- [craft] Coffe
|
|
|
|
-- [regis-food] Hot Chocolate
|
|
|
|
-- [craft] Hot Chocolate
|
2012-08-30 18:04:36 +02:00
|
|
|
-- =====================================
|
|
|
|
|
2012-12-13 20:54:15 +01:00
|
|
|
print ("Food [Modern] - Loading Hot")
|
2012-08-29 20:47:01 +02:00
|
|
|
|
2012-08-29 20:25:41 +02:00
|
|
|
|
2012-12-13 20:54:15 +01:00
|
|
|
-------------------------Hot Chocolate--------------------------
|
2012-08-29 20:25:41 +02:00
|
|
|
|
2012-12-13 20:54:15 +01:00
|
|
|
minetest.register_craftitem("food_modern:hotchoco", {
|
|
|
|
description = "Hot Chocolate",
|
|
|
|
inventory_image = "food_hotchoco.png",
|
|
|
|
on_use = minetest.item_eat(4),
|
2012-08-29 20:25:41 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2012-12-13 20:54:15 +01:00
|
|
|
output = '"food_modern:hotchoco" 1 ',
|
|
|
|
recipe = {
|
|
|
|
{"food:chocolate_powder"},
|
|
|
|
{"food:milk"},
|
|
|
|
{"food:mug"},
|
|
|
|
},
|
2012-08-29 20:25:41 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
|