summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rubenfood/baking.lua1
-rw-r--r--rubenfood/cakemix.lua5
-rw-r--r--rubenfood/cakes.lua3
-rw-r--r--rubenfood/drinks.lua11
-rw-r--r--rubenfood/fruits.lua2
-rw-r--r--rubenfood/init.lua19
-rw-r--r--rubenfood_farming/init.lua2
7 files changed, 36 insertions, 7 deletions
diff --git a/rubenfood/baking.lua b/rubenfood/baking.lua
new file mode 100644
index 0000000..a83cd2b
--- /dev/null
+++ b/rubenfood/baking.lua
@@ -0,0 +1 @@
+--This file loads baked stuff \ No newline at end of file
diff --git a/rubenfood/cakemix.lua b/rubenfood/cakemix.lua
index d95524a..690f5d4 100644
--- a/rubenfood/cakemix.lua
+++ b/rubenfood/cakemix.lua
@@ -1,18 +1,17 @@
-- Loads the animal mod based crafting
-print ("RubenFood: Loading animal+farming based foods")
---------------Cake Pastry-----------
minetest.register_craft({
output = '"rubenfood:cakemix_plain" 1',
recipe = {
- {'"rubenfood:wheat"','"rubenfood:milk"','"rubenfood:egg"'},
+ {'"rubenfood:flour"','"rubenfood:milk"','"rubenfood:egg"'},
}
})
minetest.register_craft({
output = '"rubenfood:cakemix_choco" 1',
recipe = {
- {'""','"default:dirt"','""'}, {'"rubenfood:wheat"','"rubenfood:milk"','"rubenfood:egg"'},
+ {'""','"default:dirt"','""'}, {'"rubenfood:flour"','"rubenfood:milk"','"rubenfood:egg"'},
}
}) \ No newline at end of file
diff --git a/rubenfood/cakes.lua b/rubenfood/cakes.lua
index f7a161d..1970e0b 100644
--- a/rubenfood/cakes.lua
+++ b/rubenfood/cakes.lua
@@ -1,3 +1,6 @@
+print("RubenFood [Master] - Loading Cakes")
+
+dofile(minetest.get_modpath("rubenfood").."/cakemix.lua")
--------------------------Cakes-------------------------
minetest.register_craftitem(":rubenfood:cakemix_plain",{
description = "Cake Mix",
diff --git a/rubenfood/drinks.lua b/rubenfood/drinks.lua
index c9d7bc2..726a00a 100644
--- a/rubenfood/drinks.lua
+++ b/rubenfood/drinks.lua
@@ -1,3 +1,14 @@
+-- RUBENFOOD MOD
+-- A mod written by rubenwardy that adds
+-- food to the minetest game
+-- =====================================
+-- rubenfood/init.lua
+-- =====================================
+--
+-- =====================================
+
+print ("RubenFood [Master] - Loading Juices")
+
--------------------------Apple Juice--------------------------
minetest.register_node(":rubenfood:apple_juice", {
description = "Apple Juice",
diff --git a/rubenfood/fruits.lua b/rubenfood/fruits.lua
index 0bbdb39..5e54f64 100644
--- a/rubenfood/fruits.lua
+++ b/rubenfood/fruits.lua
@@ -1,5 +1,7 @@
-- This file adds apple like fruits
+print ("RubenFood [Master] - Loading Fruits")
+
minetest.register_node(":default:orange", {
description = "Orange Fruit",
drawtype = "plantlike",
diff --git a/rubenfood/init.lua b/rubenfood/init.lua
index e45beca..ab5f014 100644
--- a/rubenfood/init.lua
+++ b/rubenfood/init.lua
@@ -1,6 +1,19 @@
--- This file registers all the foods
-
-print ("RubenFood: Loading mainframe")
+-- RUBENFOOD MOD
+-- A mod written by rubenwardy that adds
+-- food to the minetest game
+-- =====================================
+-- rubenfood/init.lua
+-- =====================================
+-- [regis-item] Cup
+-- [craft] Cup
+-- [regis-food] Cigerette (-4)
+-- =====================================
+
+print ("RubenFood: Loading mainframe: [Master]")
+
+dofile(minetest.get_modpath("rubenfood").."/drinks.lua")
+dofile(minetest.get_modpath("rubenfood").."/cakes.lua")
+dofile(minetest.get_modpath("rubenfood").."/fruits.lua")
----------------------------Cup------------------------------
minetest.register_craftitem(":rubenfood:cup",{
diff --git a/rubenfood_farming/init.lua b/rubenfood_farming/init.lua
index efc7acc..f39eba3 100644
--- a/rubenfood_farming/init.lua
+++ b/rubenfood_farming/init.lua
@@ -1 +1 @@
- minetest.register_alias("rubenfood:wheat", "farming:wheat") \ No newline at end of file
+ minetest.register_alias("rubenfood:flour", "farming:flour") \ No newline at end of file