summaryrefslogtreecommitdiff
path: root/rubenfood
diff options
context:
space:
mode:
authorRubenwardy <anjayward@gmail.com>2012-08-30 17:19:00 +0100
committerRubenwardy <anjayward@gmail.com>2012-08-30 17:19:00 +0100
commite18011bb43344eb44ada72000414db9782987038 (patch)
tree1187d5044be7011fbe84153f210a1458032b18cf /rubenfood
parent51ebdbe5c609f37556c0b3a692f74d042740b861 (diff)
Added Comments and Bread
Diffstat (limited to 'rubenfood')
-rw-r--r--rubenfood/baking.lua41
-rw-r--r--rubenfood/cakemix.lua26
-rw-r--r--rubenfood/cakes.lua32
-rw-r--r--rubenfood/drinks.lua10
-rw-r--r--rubenfood/fruits.lua10
-rw-r--r--rubenfood/init.lua3
-rw-r--r--rubenfood/textures/ruben_bread.png (renamed from rubenfood/textures/farming_bread.png)bin918 -> 918 bytes
7 files changed, 101 insertions, 21 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
index 6dca983..6dca983 100644
--- a/rubenfood/textures/farming_bread.png
+++ b/rubenfood/textures/ruben_bread.png
Binary files differ