mirror of
https://github.com/rubenwardy/food.git
synced 2025-01-10 08:30:16 +01:00
Add popcorn and banana split
This commit is contained in:
parent
b32680d475
commit
31acc8712e
58
snacks/misc.lua
Normal file
58
snacks/misc.lua
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
-- 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 "Food [Master] - Loading Splits"
|
||||||
|
|
||||||
|
-- Banana Split
|
||||||
|
|
||||||
|
minetest.register_craftitem("food:banana_split_raw", {
|
||||||
|
description = "Banana Split Raw",
|
||||||
|
inventory_image = "food_banana_split_raw.png",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("food:banana_split", {
|
||||||
|
description = "Banana Split",
|
||||||
|
inventory_image = "food_banana_split.png",
|
||||||
|
groups={food=1},
|
||||||
|
on_use = minetest.item_eat(3),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("food:popcorn", {
|
||||||
|
description = "Popcorn",
|
||||||
|
inventory_image = "food_popcorn.png",
|
||||||
|
groups={food=1},
|
||||||
|
on_use = minetest.item_eat(1),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("food:corn_seed", {
|
||||||
|
description = "Corn Pips",
|
||||||
|
inventory_image = "food_corn_pip.png",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "cooking",
|
||||||
|
output = "food:popcorn",
|
||||||
|
recipe = "food:corn_seed",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "food:corn_seed",
|
||||||
|
recipe = {{"farming:seed_wheat"}},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "food:banana_split_raw",
|
||||||
|
recipe = {{"food:chocolate_milk"},{"farming_plus:banana"}},
|
||||||
|
})
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "cooking",
|
||||||
|
output = "food:banana_split",
|
||||||
|
recipe = "food:banana_split_raw",
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user