summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--baking.lua (renamed from rubenfood/baking.lua)0
-rw-r--r--cakemix.lua (renamed from rubenfood/cakemix.lua)0
-rw-r--r--cakes.lua (renamed from rubenfood/cakes.lua)0
-rw-r--r--depends.txt (renamed from rubenfood/depends.txt)0
-rw-r--r--drinks.lua (renamed from rubenfood/drinks.lua)0
-rw-r--r--fruits.lua (renamed from rubenfood/fruits.lua)0
-rw-r--r--init.lua (renamed from rubenfood/init.lua)0
-rw-r--r--modpack.txt0
-rw-r--r--rubenfood_animals/depends.txt4
-rw-r--r--rubenfood_animals/init.lua3
-rw-r--r--rubenfood_farming/depends.txt4
-rw-r--r--rubenfood_farming/init.lua18
-rw-r--r--support.lua53
-rw-r--r--textures/ruben_bread.png (renamed from rubenfood/textures/ruben_bread.png)bin918 -> 918 bytes
-rw-r--r--textures/ruben_cake.png (renamed from rubenfood/textures/ruben_cake.png)bin908 -> 908 bytes
-rw-r--r--textures/ruben_cake_choco.png (renamed from rubenfood/textures/ruben_cake_choco.png)bin942 -> 942 bytes
-rw-r--r--textures/ruben_cigar.png (renamed from rubenfood/textures/ruben_cigar.png)bin696 -> 696 bytes
-rw-r--r--textures/ruben_coffee.png (renamed from rubenfood/textures/ruben_coffee.png)bin1399 -> 1399 bytes
-rw-r--r--textures/ruben_coffee_cooked.png (renamed from rubenfood/textures/ruben_coffee_cooked.png)bin895 -> 895 bytes
-rw-r--r--textures/ruben_coffee_cup.png (renamed from rubenfood/textures/ruben_coffee_cup.png)bin1283 -> 1283 bytes
-rw-r--r--textures/ruben_juice_apple.png (renamed from rubenfood/textures/ruben_juice_apple.png)bin1114 -> 1114 bytes
-rw-r--r--textures/ruben_pastry.png (renamed from rubenfood/textures/ruben_pastry.png)bin807 -> 807 bytes
-rw-r--r--textures/ruben_pastry_choco.png (renamed from rubenfood/textures/ruben_pastry_choco.png)bin854 -> 854 bytes
23 files changed, 53 insertions, 29 deletions
diff --git a/rubenfood/baking.lua b/baking.lua
index bf0bd87..bf0bd87 100644
--- a/rubenfood/baking.lua
+++ b/baking.lua
diff --git a/rubenfood/cakemix.lua b/cakemix.lua
index 2120843..2120843 100644
--- a/rubenfood/cakemix.lua
+++ b/cakemix.lua
diff --git a/rubenfood/cakes.lua b/cakes.lua
index 8b1b90d..8b1b90d 100644
--- a/rubenfood/cakes.lua
+++ b/cakes.lua
diff --git a/rubenfood/depends.txt b/depends.txt
index a916278..a916278 100644
--- a/rubenfood/depends.txt
+++ b/depends.txt
diff --git a/rubenfood/drinks.lua b/drinks.lua
index 04d0ba5..04d0ba5 100644
--- a/rubenfood/drinks.lua
+++ b/drinks.lua
diff --git a/rubenfood/fruits.lua b/fruits.lua
index ff7a2b0..ff7a2b0 100644
--- a/rubenfood/fruits.lua
+++ b/fruits.lua
diff --git a/rubenfood/init.lua b/init.lua
index 5196cc5..5196cc5 100644
--- a/rubenfood/init.lua
+++ b/init.lua
diff --git a/modpack.txt b/modpack.txt
deleted file mode 100644
index e69de29..0000000
--- a/modpack.txt
+++ /dev/null
diff --git a/rubenfood_animals/depends.txt b/rubenfood_animals/depends.txt
deleted file mode 100644
index 931b769..0000000
--- a/rubenfood_animals/depends.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-default
-bucket
-animalmaterials
-farming \ No newline at end of file
diff --git a/rubenfood_animals/init.lua b/rubenfood_animals/init.lua
deleted file mode 100644
index e473b26..0000000
--- a/rubenfood_animals/init.lua
+++ /dev/null
@@ -1,3 +0,0 @@
- minetest.register_alias("rubenfood:milk", "animalmaterials:milk")
-
- minetest.register_alias("rubenfood:egg", "animalmaterials:egg") \ No newline at end of file
diff --git a/rubenfood_farming/depends.txt b/rubenfood_farming/depends.txt
deleted file mode 100644
index 931b769..0000000
--- a/rubenfood_farming/depends.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-default
-bucket
-animalmaterials
-farming \ No newline at end of file
diff --git a/rubenfood_farming/init.lua b/rubenfood_farming/init.lua
deleted file mode 100644
index 13baf9e..0000000
--- a/rubenfood_farming/init.lua
+++ /dev/null
@@ -1,18 +0,0 @@
--- RUBENFOOD MOD
--- A mod written by rubenwardy that adds
--- food to the minetest game
--- =====================================
--- >> rubenfood_farming/init.lua
--- adds support for farming by pilzadam
--- =====================================
--- [exten] Farming Mod
--- =====================================
-
-print("RubenFood [Extension] - Adding Farming Extension")
-
---convert nameholders to relevant farming items
-minetest.register_alias("rubenfood:flour", "farming:flour")
-
---convert farming stuff to updated rubenfood stuff
-minetest.register_alias("farming:cake_mix", "rubenfood:dough")
-minetest.register_alias("farming:bread", "rubenfood:bread") \ No newline at end of file
diff --git a/support.lua b/support.lua
new file mode 100644
index 0000000..3a48324
--- /dev/null
+++ b/support.lua
@@ -0,0 +1,53 @@
+-- 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
diff --git a/rubenfood/textures/ruben_bread.png b/textures/ruben_bread.png
index 6dca983..6dca983 100644
--- a/rubenfood/textures/ruben_bread.png
+++ b/textures/ruben_bread.png
Binary files differ
diff --git a/rubenfood/textures/ruben_cake.png b/textures/ruben_cake.png
index 250303b..250303b 100644
--- a/rubenfood/textures/ruben_cake.png
+++ b/textures/ruben_cake.png
Binary files differ
diff --git a/rubenfood/textures/ruben_cake_choco.png b/textures/ruben_cake_choco.png
index b75f8ed..b75f8ed 100644
--- a/rubenfood/textures/ruben_cake_choco.png
+++ b/textures/ruben_cake_choco.png
Binary files differ
diff --git a/rubenfood/textures/ruben_cigar.png b/textures/ruben_cigar.png
index 35ed4de..35ed4de 100644
--- a/rubenfood/textures/ruben_cigar.png
+++ b/textures/ruben_cigar.png
Binary files differ
diff --git a/rubenfood/textures/ruben_coffee.png b/textures/ruben_coffee.png
index 944fd73..944fd73 100644
--- a/rubenfood/textures/ruben_coffee.png
+++ b/textures/ruben_coffee.png
Binary files differ
diff --git a/rubenfood/textures/ruben_coffee_cooked.png b/textures/ruben_coffee_cooked.png
index 8f75897..8f75897 100644
--- a/rubenfood/textures/ruben_coffee_cooked.png
+++ b/textures/ruben_coffee_cooked.png
Binary files differ
diff --git a/rubenfood/textures/ruben_coffee_cup.png b/textures/ruben_coffee_cup.png
index f026f64..f026f64 100644
--- a/rubenfood/textures/ruben_coffee_cup.png
+++ b/textures/ruben_coffee_cup.png
Binary files differ
diff --git a/rubenfood/textures/ruben_juice_apple.png b/textures/ruben_juice_apple.png
index 9a71e03..9a71e03 100644
--- a/rubenfood/textures/ruben_juice_apple.png
+++ b/textures/ruben_juice_apple.png
Binary files differ
diff --git a/rubenfood/textures/ruben_pastry.png b/textures/ruben_pastry.png
index 2115934..2115934 100644
--- a/rubenfood/textures/ruben_pastry.png
+++ b/textures/ruben_pastry.png
Binary files differ
diff --git a/rubenfood/textures/ruben_pastry_choco.png b/textures/ruben_pastry_choco.png
index 578637b..578637b 100644
--- a/rubenfood/textures/ruben_pastry_choco.png
+++ b/textures/ruben_pastry_choco.png
Binary files differ