summaryrefslogtreecommitdiff
path: root/snacks/misc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'snacks/misc.lua')
-rw-r--r--snacks/misc.lua23
1 files changed, 23 insertions, 0 deletions
diff --git a/snacks/misc.lua b/snacks/misc.lua
index 9c33cfb..87f94c1 100644
--- a/snacks/misc.lua
+++ b/snacks/misc.lua
@@ -24,6 +24,29 @@ minetest.register_craftitem("food:banana_split", {
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:wheat_seed"}},
+})
+
minetest.register_craft({
output = "food:banana_split_raw",
recipe = {{"food:chocolate_milk"},{"food:banana"}},