food/drinks/hot.lua

35 lines
797 B
Lua
Raw Normal View History

2012-08-30 18:04:36 +02:00
-- RUBENFOOD MOD
-- A mod written by rubenwardy that adds
-- food to the minetest game
-- =====================================
-- >> rubenfood/drinks/hot.lua
-- adds hot drinks
2012-08-30 18:04:36 +02:00
-- =====================================
-- [regis-food] Coffee
-- [craft] Coffe
-- [regis-food] Hot Chocolate
-- [craft] Hot Chocolate
2012-08-30 18:04:36 +02:00
-- =====================================
print ("Food [Modern] - Loading Hot")
2012-08-29 20:47:01 +02:00
2012-08-29 20:25:41 +02:00
-------------------------Hot Chocolate--------------------------
2012-08-29 20:25:41 +02: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({
output = '"food_modern:hotchoco" 1 ',
recipe = {
{"food:chocolate_powder"},
{"food:milk"},
{"food:mug"},
},
2012-08-29 20:25:41 +02:00
})