diff options
author | Rubenwardy <anjayward@gmail.com> | 2012-08-30 17:19:00 +0100 |
---|---|---|
committer | Rubenwardy <anjayward@gmail.com> | 2012-08-30 17:19:00 +0100 |
commit | e18011bb43344eb44ada72000414db9782987038 (patch) | |
tree | 1187d5044be7011fbe84153f210a1458032b18cf | |
parent | 51ebdbe5c609f37556c0b3a692f74d042740b861 (diff) |
Added Comments and Bread
-rw-r--r-- | rubenfood/baking.lua | 41 | ||||
-rw-r--r-- | rubenfood/cakemix.lua | 26 | ||||
-rw-r--r-- | rubenfood/cakes.lua | 32 | ||||
-rw-r--r-- | rubenfood/drinks.lua | 10 | ||||
-rw-r--r-- | rubenfood/fruits.lua | 10 | ||||
-rw-r--r-- | rubenfood/init.lua | 3 | ||||
-rw-r--r-- | rubenfood/textures/ruben_bread.png (renamed from rubenfood/textures/farming_bread.png) | bin | 918 -> 918 bytes | |||
-rw-r--r-- | rubenfood_farming/init.lua | 19 |
8 files changed, 119 insertions, 22 deletions
diff --git a/rubenfood/baking.lua b/rubenfood/baking.lua index a83cd2b..bf0bd87 100644 --- a/rubenfood/baking.lua +++ b/rubenfood/baking.lua @@ -1 +1,40 @@ ---This file loads baked stuff
\ No newline at end of file +-- RUBENFOOD MOD
+-- A mod written by rubenwardy that adds
+-- food to the minetest game
+-- =====================================
+-- >> rubenfood/baking.lua
+-- adds bread and pies
+-- =====================================
+-- [regis-food] Bread
+-- =====================================
+
+
+
+-- doughs
+minetest.register_craftitem("rubenfood:dough", {
+ description = "Dough",
+ inventory_image = "farming_cake_mix.png",
+})
+
+minetest.register_craft({
+ output = "rubenfood:dough",
+ type = "shapeless",
+ recipe = {"rubenfood:flour", "rubenfood:flour", "rubenfood:flour", "rubenfood:flour", "bucket:bucket_water"},
+ replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
+})
+
+
+--plain bread
+minetest.register_craft({
+ type = "cooking",
+ output = "rubenfood:bread",
+ recipe = "rubenfood:dough",
+ cooktime = 10
+})
+
+minetest.register_craftitem("rubenfood:bread", {
+ description = "Bread",
+ inventory_image = "ruben_bread.png",
+ stack_max = 1,
+ on_use = minetest.item_eat(10)
+})
\ No newline at end of file diff --git a/rubenfood/cakemix.lua b/rubenfood/cakemix.lua index 690f5d4..2120843 100644 --- a/rubenfood/cakemix.lua +++ b/rubenfood/cakemix.lua @@ -1,17 +1,15 @@ --- Loads the animal mod based crafting
+-- RUBENFOOD MOD
+-- A mod written by rubenwardy that adds
+-- food to the minetest game
+-- =====================================
+-- >> rubenfood/cakemix.lua
+-- adds cake mix
+-- =====================================
+-- [regis-food] Apple Juice
+-- [craft] Cactus Juice
+-- [regis-food] Cactus Juice
+-- [craft] Cactus Juice
+-- =====================================
---------------Cake Pastry-----------
-minetest.register_craft({
- output = '"rubenfood:cakemix_plain" 1',
- recipe = {
- {'"rubenfood:flour"','"rubenfood:milk"','"rubenfood:egg"'},
- }
-})
-
-minetest.register_craft({
- output = '"rubenfood:cakemix_choco" 1',
- recipe = {
- {'""','"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 1970e0b..8b1b90d 100644 --- a/rubenfood/cakes.lua +++ b/rubenfood/cakes.lua @@ -1,6 +1,15 @@ +-- RUBENFOOD MOD
+-- A mod written by rubenwardy that adds
+-- food to the minetest game
+-- =====================================
+-- >> rubenfood/cakes.lua
+-- adds cakes
+-- =====================================
+-- [regis-food] Plain Cake
+-- [regis-food] Chocolate Cake
+-- =====================================
print("RubenFood [Master] - Loading Cakes")
-dofile(minetest.get_modpath("rubenfood").."/cakemix.lua")
--------------------------Cakes-------------------------
minetest.register_craftitem(":rubenfood:cakemix_plain",{
description = "Cake Mix",
@@ -52,4 +61,25 @@ minetest.register_node(":rubenfood:cake_chocolate", { groups = {fleshy=3,dig_immediate=3,flammable=2},
on_use = minetest.item_eat(40),
sounds = default.node_sound_defaults(),
+})
+
+
+
+
+
+
+----------------------------- Cake Pastry ----------------------------
+
+minetest.register_craft({
+ output = '"rubenfood:cakemix_plain" 1',
+ recipe = {
+ {'"rubenfood:flour"','"rubenfood:milk"','"rubenfood:egg"'},
+ }
+})
+
+minetest.register_craft({
+ output = '"rubenfood:cakemix_choco" 1',
+ recipe = {
+ {'""','"default:dirt"','""'}, {'"rubenfood:flour"','"rubenfood:milk"','"rubenfood:egg"'},
+ }
})
\ No newline at end of file diff --git a/rubenfood/drinks.lua b/rubenfood/drinks.lua index 726a00a..04d0ba5 100644 --- a/rubenfood/drinks.lua +++ b/rubenfood/drinks.lua @@ -2,9 +2,13 @@ -- A mod written by rubenwardy that adds
-- food to the minetest game
-- =====================================
--- rubenfood/init.lua
+-- >> rubenfood/drinks.lua
+-- adds drinks
-- =====================================
---
+-- [regis-food] Apple Juice
+-- [craft] Cactus Juice
+-- [regis-food] Cactus Juice
+-- [craft] Cactus Juice
-- =====================================
print ("RubenFood [Master] - Loading Juices")
@@ -37,7 +41,7 @@ minetest.register_craft({ -----------------------cactuz juice----------------------------
+----------------------cactus juice----------------------------
minetest.register_node(":rubenfood:cactus_juice", {
description = "Cactuz Juice",
drawtype = "plantlike",
diff --git a/rubenfood/fruits.lua b/rubenfood/fruits.lua index 5e54f64..ff7a2b0 100644 --- a/rubenfood/fruits.lua +++ b/rubenfood/fruits.lua @@ -1,4 +1,12 @@ --- This file adds apple like fruits
+-- RUBENFOOD MOD
+-- A mod written by rubenwardy that adds
+-- food to the minetest game
+-- =====================================
+-- >> rubenfood/fruits.lua
+-- adds fruits
+-- =====================================
+-- [regis-food] Oranges
+-- =====================================
print ("RubenFood [Master] - Loading Fruits")
diff --git a/rubenfood/init.lua b/rubenfood/init.lua index ab5f014..5196cc5 100644 --- a/rubenfood/init.lua +++ b/rubenfood/init.lua @@ -2,7 +2,8 @@ -- A mod written by rubenwardy that adds
-- food to the minetest game
-- =====================================
--- rubenfood/init.lua
+-- >> rubenfood/init.lua
+-- inits the mod
-- =====================================
-- [regis-item] Cup
-- [craft] Cup
diff --git a/rubenfood/textures/farming_bread.png b/rubenfood/textures/ruben_bread.png Binary files differindex 6dca983..6dca983 100644 --- a/rubenfood/textures/farming_bread.png +++ b/rubenfood/textures/ruben_bread.png diff --git a/rubenfood_farming/init.lua b/rubenfood_farming/init.lua index f39eba3..13baf9e 100644 --- a/rubenfood_farming/init.lua +++ b/rubenfood_farming/init.lua @@ -1 +1,18 @@ - minetest.register_alias("rubenfood:flour", "farming:flour")
\ No newline at end of file +-- 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 |