summaryrefslogtreecommitdiff
path: root/support.lua
diff options
context:
space:
mode:
authorRubenwardy <anjayward@gmail.com>2012-08-30 20:27:32 +0100
committerRubenwardy <anjayward@gmail.com>2012-08-30 20:27:32 +0100
commit39b6184a874bbb69af88a2013eb7596770dc8bb9 (patch)
tree5ffb5716baf12e7c91cb3ad24ac665c8c9af71e1 /support.lua
parent97667792fd1cc6a21ee5266e6cca06322f5dd684 (diff)
Reverted to Extension Design. Added stuff
Diffstat (limited to 'support.lua')
-rw-r--r--support.lua53
1 files changed, 0 insertions, 53 deletions
diff --git a/support.lua b/support.lua
deleted file mode 100644
index 3a48324..0000000
--- a/support.lua
+++ /dev/null
@@ -1,53 +0,0 @@
--- RUBENFOOD MOD
--- A mod written by rubenwardy that adds
--- food to the minetest game
--- ======================================
--- >> rubenfood/support.lua
--- adds support for other modss
--- adds items and aliases that are needed
--- ======================================
--- [regis-item] Flour
--- [regis-item] Milk
--- [regis-item] Egg
--- [regis-food] Cheese
--- [craft] Cheese
--- [regis-item] Butter
--- [craft] Butter
--- ======================================
-
-
-
-
-------------------------------------aliases------------------------------------
-
-minetest.register_alias("farming:flour","rubenfood:flour")
-minetest.register_alias("farming:cake_mix", "rubenfood:dough")
-minetest.register_alias("farming:bread", "rubenfood:bread")
-
-minetest.register_alias("animalmaterials:milk","rubenfood:milk")
-minetest.register_alias("animalmaterials:egg","rubenfood:egg")
-
-
-
-
-
-------------------------------------farming------------------------------------
-minetest.register_craftitem("rubenfood:flour", {
- description = "Flour",
- inventory_image = "farming_flour.png",
-})
-
-------------------------------------animals------------------------------------
-minetest.register_craftitem("rubenfood:milk", {
- description = "Milk",
- image = "animalmaterials_milk.png",
- on_use = minetest.item_eat(1),
- groups = { eatable=1 },
- stack_max=10
-})
-
-minetest.register_craftitem("rubenfood:egg", {
- description = "Egg",
- image = "animalmaterials_egg.png",
- stack_max=10
-}) \ No newline at end of file