Change mod name from rubenfood to food

This commit is contained in:
Rubenwardy 2012-08-31 15:37:02 +01:00
parent 6bd71003a2
commit d662f3b9ab
27 changed files with 136 additions and 120 deletions

View File

@ -11,31 +11,11 @@
-- doughs
minetest.register_craftitem("rubenfood:dough", {
if not minetest.get_modpath("farming") then
else
minetest.register_craftitem(":farming:cake_mix", {
description = "Dough",
inventory_image = "farming_cake_mix.png",
})
if add_bread_craft then
minetest.register_craft({
output = "rubenfood:dough",
type = "shapeless",
recipe = {"rubenfood:flour","rubenfood:flour", "bucket:bucket_water"},
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
})
minetest.register_craft({
type = "cooking",
output = "rubenfood:bread",
recipe = "rubenfood:dough",
cooktime = 10
})
end
minetest.register_craftitem("rubenfood:bread", {
description = "Bread",
inventory_image = "ruben_bread.png",
stack_max = 1,
on_use = minetest.item_eat(10)
})

View File

@ -11,39 +11,39 @@
print("RubenFood [Master] - Loading Cakes")
--------------------------Cakes-------------------------
minetest.register_craftitem("rubenfood:cakemix_plain",{
minetest.register_craftitem("food:cakemix_plain",{
description = "Cake Mix",
tiles = {"ruben_pastry.png"},
inventory_image = "ruben_pastry.png",
tiles = {"food_pastry.png"},
inventory_image = "food_pastry.png",
})
minetest.register_craftitem("rubenfood:cakemix_choco",{
minetest.register_craftitem("food:cakemix_choco",{
description = "Chocolate Cake Mix",
tiles = {"ruben_pastry_choco.png"},
inventory_image = "ruben_pastry_choco.png",
tiles = {"food_pastry_choco.png"},
inventory_image = "food_pastry_choco.png",
})
minetest.register_craft({
type = "cooking",
output = "rubenfood:cake",
recipe = "rubenfood:cakemix_plain",
output = "food:cake",
recipe = "food:cakemix_plain",
})
minetest.register_craft({
type = "cooking",
output = "rubenfood:cake_chocolate",
recipe = "rubenfood:cakemix_choco",
output = "food:cake_chocolate",
recipe = "food:cakemix_choco",
})
minetest.register_craftitem("rubenfood:cake", {
minetest.register_craftitem("food:cake", {
description = "Cake",
inventory_image = "ruben_cake.png",
inventory_image = "food_cake.png",
on_use = minetest.item_eat(30),
})
minetest.register_craftitem("rubenfood:cake_chocolate", {
minetest.register_craftitem("food:cake_chocolate", {
description = "Chocolate Cake",
inventory_image = "ruben_cake_choco.png",
inventory_image = "food_cake_choco.png",
on_use = minetest.item_eat(40),
})
@ -55,15 +55,15 @@ minetest.register_craftitem("rubenfood:cake_chocolate", {
----------------------------- Cake Pastry ----------------------------
minetest.register_craft({
output = '"rubenfood:cakemix_plain" 1',
output = '"food:cakemix_plain" 1',
recipe = {
{'"rubenfood:flour"',"",'"rubenfood:egg"'},
{'"food:flour"',"",'"food:egg"'},
}
})
minetest.register_craft({
output = '"rubenfood:cakemix_choco" 1',
output = '"food:cakemix_choco" 1',
recipe = {
{'""','"default:dirt"','""'}, {'"rubenfood:flour"',"",'"rubenfood:egg"'},
{'""','"default:dirt"','""'}, {'"food:flour"',"",'"food:egg"'},
}
})

View File

@ -11,28 +11,28 @@
-- [craft] Butter
-- ======================================
minetest.register_craftitem("rubenfood:butter", {
minetest.register_craftitem("food:butter", {
description = "Butter",
inventory_image = "ruben_butter.png",
inventory_image = "food_butter.png",
})
minetest.register_craftitem("rubenfood:cheese", {
minetest.register_craftitem("food:cheese", {
description = "Cheese",
inventory_image = "ruben_cheese.png",
inventory_image = "food_cheese.png",
on_use = minetest.item_eat(4),
})
minetest.register_craft({
output = '"rubenfood:butter" 1',
output = '"food:butter" 1',
recipe = {
{'"rubenfood:milk"','"rubenfood:milk"'},
{'"food:milk"','"food:milk"'},
}
})
minetest.register_craft({
output = '"rubenfood:cheese" 1',
output = '"food:cheese" 1',
recipe = {
{'"rubenfood:butter"','"rubenfood:butter"'},
{'"food:butter"','"food:butter"'},
}
})

View File

@ -14,12 +14,12 @@
print ("RubenFood [Master] - Loading Juices")
--------------------------Apple Juice--------------------------
minetest.register_node(":rubenfood:apple_juice", {
minetest.register_node("food:apple_juice", {
description = "Apple Juice",
visual_scale = 1.0,
tiles = {"ruben_juice_apple.png"},
inventory_image = "ruben_juice_apple.png",
tiles = {"food_juice_apple.png"},
inventory_image = "food_juice_apple.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
@ -29,11 +29,11 @@ minetest.register_node(":rubenfood:apple_juice", {
})
minetest.register_craft({
output = '"rubenfood:apple_juice" 4',
output = '"food:apple_juice" 4',
recipe = {
{'""','""','""'},
{'""','"default:apple"','""'},
{'""','"rubenfood:cup"','""'},
{'""','"food:cup"','""'},
}
})
@ -42,12 +42,12 @@ minetest.register_craft({
----------------------cactus juice----------------------------
minetest.register_node(":rubenfood:cactus_juice", {
minetest.register_node(":food:cactus_juice", {
description = "Cactuz Juice",
visual_scale = 1.0,
tiles = {"ruben_juice_cactus.png"},
inventory_image = "ruben_juice_cactus.png",
tiles = {"food_juice_cactus.png"},
inventory_image = "food_juice_cactus.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
@ -57,11 +57,11 @@ minetest.register_node(":rubenfood:cactus_juice", {
})
minetest.register_craft({
output = '"rubenfood:cactus_juice" 4',
output = '"food:cactus_juice" 4',
recipe = {
{'""','""','""'},
{'""','"default:cactus"','""'},
{'""','"rubenfood:cup"','""'},
{'""','"food:cup"','""'},
}
})
@ -76,24 +76,24 @@ minetest.register_craft({
-----------------------------Coffee-----------------------------
minetest.register_craftitem(":rubenfood:coffeebean",{
minetest.register_craftitem(":food:coffeebean",{
description = "Raw Coffee Bean",
tiles = {"ruben_coffee.png"},
inventory_image = "ruben_coffee.png",
tiles = {"food_coffee.png"},
inventory_image = "food_coffee.png",
})
minetest.register_craftitem(":rubenfood:coffeebean_cooked",{
minetest.register_craftitem(":food:coffeebean_cooked",{
description = "Cooked Coffee Bean",
tiles = {"ruben_coffee_cooked.png"},
inventory_image = "ruben_coffee_cooked.png",
tiles = {"food_coffee_cooked.png"},
inventory_image = "food_coffee_cooked.png",
})
minetest.register_node(":rubenfood:coffee", {
minetest.register_node(":food:coffee", {
description = "Coffee",
visual_scale = 1.0,
tiles = {"ruben_coffee_cup.png"},
inventory_image = "ruben_coffee_cup.png",
tiles = {"food_coffee_cup.png"},
inventory_image = "food_coffee_cup.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
@ -103,7 +103,7 @@ minetest.register_node(":rubenfood:coffee", {
})
minetest.register_craft({
output = '"rubenfood:coffeebean" 1',
output = '"food:coffeebean" 1',
recipe = {
{'""','"default:dry_shrub"','""'},
{'""','"default:dry_shrub"','""'},
@ -112,18 +112,18 @@ minetest.register_craft({
})
minetest.register_craft({
output = '"rubenfood:coffee" 1',
output = '"food:coffee" 1',
recipe = {
{'""','"rubenfood:coffeebean_cooked"','""'},
{'""','"rubenfood:coffeebean_cooked"','""'},
{'""','"rubenfood:cup"','""'},
{'""','"food:coffeebean_cooked"','""'},
{'""','"food:coffeebean_cooked"','""'},
{'""','"food:cup"','""'},
}
})
minetest.register_craft({
type = "cooking",
output = "rubenfood:coffeebean_cooked",
recipe = "rubenfood:coffeebean",
output = "food:coffeebean_cooked",
recipe = "food:coffeebean",
})

View File

@ -14,8 +14,8 @@ minetest.register_node(":default:orange", {
description = "Orange Fruit",
drawtype = "plantlike",
visual_scale = 1.0,
tiles = {"ruben_orange.png"},
inventory_image = "ruben_orange.png",
tiles = {"food_orange.png"},
inventory_image = "food_orange.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,

View File

@ -10,31 +10,31 @@
-- [regis-food] Cigerette (-4)
-- =====================================
print ("RubenFood: Loading mainframe: [Master]")
print ("food: Loading mainframe: [Master]")
----------------------Load Files-----------------------------
dofile(minetest.get_modpath("rubenfood").."/support.lua")
dofile(minetest.get_modpath("rubenfood").."/dairy.lua")
dofile(minetest.get_modpath("food").."/support.lua")
dofile(minetest.get_modpath("food").."/dairy.lua")
dofile(minetest.get_modpath("rubenfood").."/baking.lua")
dofile(minetest.get_modpath("rubenfood").."/cakes.lua")
dofile(minetest.get_modpath("rubenfood").."/tarts.lua")
dofile(minetest.get_modpath("food").."/baking.lua")
dofile(minetest.get_modpath("food").."/cakes.lua")
dofile(minetest.get_modpath("food").."/tarts.lua")
dofile(minetest.get_modpath("rubenfood").."/drinks.lua")
--dofile(minetest.get_modpath("rubenfood").."/fruits.lua")
dofile(minetest.get_modpath("food").."/drinks.lua")
--dofile(minetest.get_modpath("food").."/fruits.lua")
----------------------------Cup------------------------------
minetest.register_craftitem("rubenfood:mug",{
minetest.register_craftitem("food:mug",{
description = "Mug",
tiles = {"ruben_mug.png"},
inventory_image = "ruben_mug.png",
tiles = {"food_mug.png"},
inventory_image = "food_mug.png",
})
minetest.register_craft({
output = '"rubenfood:cup" 4',
output = '"food:cup" 4',
recipe = {
{"default:glass"},
{"default:glass"},
@ -43,11 +43,11 @@ minetest.register_craft({
----------------------------Cigerete----------------------------
minetest.register_node(":rubenfood:cigarette", {
minetest.register_node(":food:cigarette", {
description = "Cigarette",
visual_scale = 1.0,
tiles = {"ruben_cigar.png"},
inventory_image = "ruben_cigar.png",
tiles = {"food_cigar.png"},
inventory_image = "food_cigar.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
@ -57,11 +57,11 @@ minetest.register_node(":rubenfood:cigarette", {
})
minetest.register_craft({
output = '"rubenfood:cigarette" 1',
output = '"food:cigarette" 1',
recipe = {
{'"default:dry_shrub"','"default:dry_shrub"','"default:dry_shrub"'},
}
})
print("Rubenfood: Mainframe loaded")
print("food: Mainframe loaded")

View File

@ -24,44 +24,80 @@ end
print "RubenFood [Support] - Farming Mod"
node_implement("farming","farming:flour","rubenfood:flour",function()
minetest.register_craftitem("rubenfood:flour", {
node_implement("farming","farming:flour","food:flour",function()
minetest.register_craftitem("food:flour", {
description = "Flour",
inventory_image = "farming_flour.png",
})
end)
node_implement("farming","farming:strawberry_item","rubenfood:strawberry",function()
minetest.register_craftitem("rubenfood:strawberry", {
node_implement("farming","farming:strawberry_item","food:strawberry",function()
minetest.register_craftitem("food:strawberry", {
description = "Strawberry",
inventory_image = "farming_strawberry.png",
on_use = minetest.item_eat(2),
})
end)
node_implement("farming","farming:bread","food:bread",function()
minetest.register_craftitem("food:bread", {
description = "Bread",
inventory_image = "farming_bread.png",
stack_max = 1,
on_use = minetest.item_eat(10)
})
minetest.register_craft({
output = "food:dough",
type = "shapeless",
recipe = {"food:flour", "food:flour", "food:flour", "food:flour", "bucket:bucket_water"},
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
})
minetest.register_craft({
type = "cooking",
output = "food:bread",
recipe = "food:dough",
cooktime = 10
})
end)
node_implement("farming","farming:cake_mix","food:dough",function()
minetest.register_craftitem("food:dough", {
description = "Cake Mix",
inventory_image = "farming_cake_mix.png",
})
end)
print "RubenFood [Support] - Animal Mod"
node_implement("animalmaterials","animalmaterials:glass","rubenfood:cup",function()
minetest.register_craftitem("rubenfood:cup",{
node_implement("animalmaterials","animalmaterials:glass","food:cup",function()
minetest.register_craftitem("food:cup",{
description = "Glass",
tiles = {"ruben_cup.png"},
inventory_image = "ruben_cup.png",
tiles = {"food_cup.png"},
inventory_image = "food_cup.png",
})
end)
node_implement("animalmaterials","animalmaterials:egg","rubenfood:egg",function()
minetest.register_craftitem("rubenfood:egg", {
node_implement("animalmaterials","animalmaterials:egg","food:egg",function()
minetest.register_craftitem("food:egg", {
description = "Egg",
image = "animalmaterials_egg.png",
stack_max=10
})
end)
node_implement("animalmaterials","animalmaterials:milk","rubenfood:milk",function()
minetest.register_craftitem("rubenfood:milk", {
node_implement("animalmaterials","animalmaterials:milk","food:milk",function()
minetest.register_craftitem("food:milk", {
description = "Milk",
image = "animalmaterials_milk.png",
on_use = minetest.item_eat(1),

View File

@ -10,39 +10,39 @@
print "RubenFood [Master] - Loading Tarts"
minetest.register_craftitem("rubenfood:tart_strawberry", {
minetest.register_craftitem("food:tart_strawberry", {
description = "Strawberry Tart",
inventory_image = "ruben_tart_strawberry.png",
inventory_image = "food_tart_strawberry.png",
on_use = minetest.item_eat(30),
})
minetest.register_craftitem("rubenfood:tart_base", {
minetest.register_craftitem("food:tart_base", {
description = "Tart Base",
inventory_image = "ruben_tart_base.png",
inventory_image = "food_tart_base.png",
})
minetest.register_craftitem("rubenfood:tart_base_raw", {
minetest.register_craftitem("food:tart_base_raw", {
description = "Raw Tart Base",
inventory_image = "ruben_tart_base_raw.png",
inventory_image = "food_tart_base_raw.png",
})
minetest.register_craft({
type = "cooking",
output = "rubenfood:tart_base",
recipe = "rubenfood:tart_base_raw",
output = "food:tart_base",
recipe = "food:tart_base_raw",
})
minetest.register_craft({
output = '"rubenfood:tart_strawberry" 1',
output = '"food:tart_strawberry" 1',
recipe = {
{'"rubenfood:strawberry"'},{'"rubenfood:tart_base"'},
{'"food:strawberry"'},{'"food:tart_base"'},
}
})
minetest.register_craft({
output = '"rubenfood:tart_base_raw" 1',
output = '"food:tart_base_raw" 1',
recipe = {
{'"rubenfood:flour"','"rubenfood:milk"','"rubenfood:egg"'},
{'"food:flour"','"food:milk"','"food:egg"'},
}
})

View File

Before

Width:  |  Height:  |  Size: 918 B

After

Width:  |  Height:  |  Size: 918 B

View File

Before

Width:  |  Height:  |  Size: 506 B

After

Width:  |  Height:  |  Size: 506 B

View File

Before

Width:  |  Height:  |  Size: 908 B

After

Width:  |  Height:  |  Size: 908 B

View File

Before

Width:  |  Height:  |  Size: 942 B

After

Width:  |  Height:  |  Size: 942 B

View File

Before

Width:  |  Height:  |  Size: 518 B

After

Width:  |  Height:  |  Size: 518 B

BIN
textures/food_cigar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 730 B

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 895 B

After

Width:  |  Height:  |  Size: 895 B

View File

Before

Width:  |  Height:  |  Size: 873 B

After

Width:  |  Height:  |  Size: 873 B

View File

Before

Width:  |  Height:  |  Size: 564 B

After

Width:  |  Height:  |  Size: 564 B

View File

Before

Width:  |  Height:  |  Size: 729 B

After

Width:  |  Height:  |  Size: 729 B

View File

Before

Width:  |  Height:  |  Size: 867 B

After

Width:  |  Height:  |  Size: 867 B

View File

Before

Width:  |  Height:  |  Size: 780 B

After

Width:  |  Height:  |  Size: 780 B

View File

Before

Width:  |  Height:  |  Size: 842 B

After

Width:  |  Height:  |  Size: 842 B

View File

Before

Width:  |  Height:  |  Size: 854 B

After

Width:  |  Height:  |  Size: 854 B

View File

Before

Width:  |  Height:  |  Size: 521 B

After

Width:  |  Height:  |  Size: 521 B

View File

Before

Width:  |  Height:  |  Size: 521 B

After

Width:  |  Height:  |  Size: 521 B

View File

Before

Width:  |  Height:  |  Size: 548 B

After

Width:  |  Height:  |  Size: 548 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 693 B