summaryrefslogtreecommitdiff
path: root/snacks
diff options
context:
space:
mode:
authorAndrew <andrew@andrew-pc.(none)>2012-12-04 17:36:26 +0000
committerAndrew <andrew@andrew-pc.(none)>2012-12-04 17:36:26 +0000
commit11465f96051636b1c6c47f4f9504a03fff763c38 (patch)
tree13d4ff78272161e3a2a384b22e5291705cad4460 /snacks
parent84125508ebdd9a09e4fdc61fc207c6361b306c3c (diff)
Food 0.8 Prototype
Diffstat (limited to 'snacks')
-rw-r--r--snacks/misc.lua23
-rw-r--r--snacks/misc.lua~59
2 files changed, 82 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"}},
diff --git a/snacks/misc.lua~ b/snacks/misc.lua~
new file mode 100644
index 0000000..87f94c1
--- /dev/null
+++ b/snacks/misc.lua~
@@ -0,0 +1,59 @@
+-- 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:wheat_seed"}},
+})
+
+minetest.register_craft({
+ output = "food:banana_split_raw",
+ recipe = {{"food:chocolate_milk"},{"food:banana"}},
+ replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}},
+})
+minetest.register_craft({
+ type = "cooking",
+ output = "food:banana_split",
+ recipe = "food:banana_split_raw",
+})