1
0
mirror of https://github.com/rubenwardy/food.git synced 2024-11-05 01:40:29 +01:00

Added Comments and Bread

This commit is contained in:
Rubenwardy 2012-08-30 17:19:00 +01:00
parent 51ebdbe5c6
commit e18011bb43
8 changed files with 119 additions and 22 deletions

View File

@ -1 +1,40 @@
--This file loads baked stuff
-- 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)
})

View File

@ -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"'},
}
})

View File

@ -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"'},
}
})

View File

@ -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",

View File

@ -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")

View File

@ -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

View File

Before

Width:  |  Height:  |  Size: 918 B

After

Width:  |  Height:  |  Size: 918 B

View File

@ -1 +1,18 @@
minetest.register_alias("rubenfood:flour", "farming:flour")
-- 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")