mirror of
https://github.com/rubenwardy/food.git
synced 2024-11-05 09:50:24 +01:00
37 lines
1013 B
Lua
37 lines
1013 B
Lua
-- RUBENFOOD MOD
|
|
-- A mod written by rubenwardy that adds
|
|
-- food to the minetest game
|
|
-- =====================================
|
|
-- >> rubenfood/snacks/crumbles.lua
|
|
-- adds crumbles
|
|
-- =====================================
|
|
-- [regis-food] Rhubarb Crumble
|
|
-- =====================================
|
|
|
|
print "RubenFood [Master] - Loading Crumbles"
|
|
--Crumbles
|
|
minetest.register_craftitem("food:crumble_rhubarb", {
|
|
description = "Rhubarb Crumble",
|
|
inventory_image = "food_crumble_rhubarb.png",
|
|
on_use = minetest.item_eat(30),
|
|
groups={food=3},
|
|
})
|
|
|
|
minetest.register_craftitem("food:crumble_rhubarb_raw", {
|
|
description = "Raw Rhubarb Crumble",
|
|
inventory_image = "food_crumble_rhubarb_raw.png",
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = '"food:crumble_rhubarb_raw" 1',
|
|
recipe = {
|
|
{'"food:sugar"',"",""},
|
|
{'"food:flour"','"food:rhubarb"','"food:butter"'}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "cooking",
|
|
output = "food:crumble_rhubarb",
|
|
recipe = "food:crumble_rhubarb_raw",
|
|
}) |