2012-08-30 21:27:32 +02:00
|
|
|
-- RUBENFOOD MOD
|
|
|
|
-- A mod written by rubenwardy that adds
|
|
|
|
-- food to the minetest game
|
|
|
|
-- ======================================
|
2012-08-31 15:56:59 +02:00
|
|
|
-- >> rubenfood/diary.lua
|
2012-08-31 15:09:41 +02:00
|
|
|
-- adds diary products
|
2012-08-30 21:27:32 +02:00
|
|
|
-- ======================================
|
|
|
|
-- [regis-food] Cheese
|
|
|
|
-- [craft] Cheese
|
|
|
|
-- [regis-item] Butter
|
|
|
|
-- [craft] Butter
|
|
|
|
-- ======================================
|
|
|
|
|
2012-08-31 16:37:02 +02:00
|
|
|
minetest.register_craftitem("food:butter", {
|
2012-08-31 15:56:59 +02:00
|
|
|
description = "Butter",
|
2012-08-31 16:37:02 +02:00
|
|
|
inventory_image = "food_butter.png",
|
2012-08-31 15:56:59 +02:00
|
|
|
})
|
|
|
|
|
2012-08-31 16:37:02 +02:00
|
|
|
minetest.register_craftitem("food:cheese", {
|
2012-08-31 15:56:59 +02:00
|
|
|
description = "Cheese",
|
2012-08-31 16:37:02 +02:00
|
|
|
inventory_image = "food_cheese.png",
|
2012-08-31 15:56:59 +02:00
|
|
|
on_use = minetest.item_eat(4),
|
|
|
|
})
|
|
|
|
|
2012-09-10 19:54:04 +02:00
|
|
|
|
2012-08-31 15:56:59 +02:00
|
|
|
minetest.register_craft({
|
2012-08-31 16:37:02 +02:00
|
|
|
output = '"food:butter" 1',
|
2012-08-31 15:56:59 +02:00
|
|
|
recipe = {
|
2012-08-31 16:37:02 +02:00
|
|
|
{'"food:milk"','"food:milk"'},
|
2012-08-31 15:56:59 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2012-08-31 16:37:02 +02:00
|
|
|
output = '"food:cheese" 1',
|
2012-08-31 15:56:59 +02:00
|
|
|
recipe = {
|
2012-08-31 16:37:02 +02:00
|
|
|
{'"food:butter"','"food:butter"'},
|
2012-08-31 15:56:59 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2012-08-30 21:27:32 +02:00
|
|
|
|
|
|
|
|
2012-09-10 19:54:04 +02:00
|
|
|
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"'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-30 21:27:32 +02:00
|
|
|
|
|
|
|
|