forked from mtcontrib/food
Added Buns, burgers, and cleared up graphics
This commit is contained in:
parent
0e01139e5a
commit
805bf35c17
|
@ -25,10 +25,12 @@ Diary
|
||||||
Sandwiches
|
Sandwiches
|
||||||
* Venison Sandwich
|
* Venison Sandwich
|
||||||
* Cheese Sandwich
|
* Cheese Sandwich
|
||||||
|
* Burger
|
||||||
|
|
||||||
Baking
|
Baking
|
||||||
* Bread
|
* Bread
|
||||||
* Bread Slices
|
* Bread Slices
|
||||||
|
* Buns
|
||||||
|
|
||||||
Cakes
|
Cakes
|
||||||
* Plain Cake
|
* Plain Cake
|
||||||
|
|
65
baking.lua
65
baking.lua
|
@ -8,32 +8,16 @@
|
||||||
-- [regis-food] Bread
|
-- [regis-food] Bread
|
||||||
-- =====================================
|
-- =====================================
|
||||||
|
|
||||||
print "RubenFood [Master] - Loading Crumbles"
|
print "RubenFood [Master] - Loading Bread"
|
||||||
--Crumbles
|
-- doughs
|
||||||
minetest.register_craftitem("food:crumble_rhubarb", {
|
if not minetest.get_modpath("farming") then
|
||||||
description = "Rhubarb Crumble",
|
|
||||||
inventory_image = "food_crumble_rhubarb.png",
|
|
||||||
on_use = minetest.item_eat(30),
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craftitem("food:crumble_rhubarb_raw", {
|
else
|
||||||
description = "Raw Rhubarb Crumble",
|
minetest.register_craftitem(":farming:cake_mix", {
|
||||||
inventory_image = "food_crumble_rhubarb_raw.png",
|
description = "Dough",
|
||||||
})
|
inventory_image = "farming_cake_mix.png",
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = '"food:crumble_rhubarb_raw" 1',
|
|
||||||
recipe = {
|
|
||||||
{'"food:sugar"',"",""},
|
|
||||||
{'"food:flour"','"food:rhubarb"','"food:butter"'}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "cooking",
|
|
||||||
output = "food:crumble_rhubarb",
|
|
||||||
recipe = "food:crumble_rhubarb_raw",
|
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = '"food:bread_slice" 10',
|
output = '"food:bread_slice" 10',
|
||||||
|
@ -49,13 +33,30 @@ minetest.register_craftitem("food:bread_slice", {
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
print "RubenFood [Master] - Loading Dough"
|
|
||||||
-- doughs
|
|
||||||
if not minetest.get_modpath("farming") then
|
|
||||||
|
|
||||||
else
|
|
||||||
minetest.register_craftitem(":farming:cake_mix", {
|
print "RubenFood [Master] - Loading Buns"
|
||||||
description = "Dough",
|
minetest.register_craftitem("food:bun_mix", {
|
||||||
inventory_image = "farming_cake_mix.png",
|
description = "Bun Mix",
|
||||||
|
inventory_image = "food_bun_mix.png",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("food:bun", {
|
||||||
|
description = "Bun",
|
||||||
|
inventory_image = "food_bun.png",
|
||||||
|
on_use = minetest.item_eat(4),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "cooking",
|
||||||
|
output = "food:bun",
|
||||||
|
recipe = "food:bun_mix",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = '"food:bun_mix" 5',
|
||||||
|
recipe = {
|
||||||
|
{"food:flour", "food:flour", "bucket:bucket_water"},
|
||||||
|
},
|
||||||
|
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
|
||||||
})
|
})
|
||||||
end
|
|
36
crumbles.lua
Normal file
36
crumbles.lua
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
-- RUBENFOOD MOD
|
||||||
|
-- A mod written by rubenwardy that adds
|
||||||
|
-- food to the minetest game
|
||||||
|
-- =====================================
|
||||||
|
-- >> rubenfood/crumbles.lua
|
||||||
|
-- adds crumbles
|
||||||
|
-- =====================================
|
||||||
|
-- [regis-food] Rhubarb Crumble
|
||||||
|
-- =====================================
|
||||||
|
|
||||||
|
print "RubenFood [Master] - Loading Crumbles"
|
||||||
|
--Crumbles
|
||||||
|
minetest.register_craftitem("food:crumble_rhubarb", {
|
||||||
|
description = "Rhubarb Crumble",
|
||||||
|
inventory_image = "food_crumble_rhubarb.png",
|
||||||
|
on_use = minetest.item_eat(30),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("food:crumble_rhubarb_raw", {
|
||||||
|
description = "Raw Rhubarb Crumble",
|
||||||
|
inventory_image = "food_crumble_rhubarb_raw.png",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = '"food:crumble_rhubarb_raw" 1',
|
||||||
|
recipe = {
|
||||||
|
{'"food:sugar"',"",""},
|
||||||
|
{'"food:flour"','"food:rhubarb"','"food:butter"'}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "cooking",
|
||||||
|
output = "food:crumble_rhubarb",
|
||||||
|
recipe = "food:crumble_rhubarb_raw",
|
||||||
|
})
|
24
drinks.lua
24
drinks.lua
|
@ -16,16 +16,8 @@ print ("RubenFood [Master] - Loading Juices")
|
||||||
--------------------------Apple Juice--------------------------
|
--------------------------Apple Juice--------------------------
|
||||||
minetest.register_node("food:apple_juice", {
|
minetest.register_node("food:apple_juice", {
|
||||||
description = "Apple Juice",
|
description = "Apple Juice",
|
||||||
|
|
||||||
visual_scale = 1.0,
|
|
||||||
tiles = {"food_juice_apple.png"},
|
|
||||||
inventory_image = "food_juice_apple.png",
|
inventory_image = "food_juice_apple.png",
|
||||||
paramtype = "light",
|
|
||||||
sunlight_propagates = true,
|
|
||||||
walkable = false,
|
|
||||||
groups = {fleshy=3,dig_immediate=3,flammable=2},
|
|
||||||
on_use = minetest.item_eat(2),
|
on_use = minetest.item_eat(2),
|
||||||
sounds = default.node_sound_defaults(),
|
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
@ -44,16 +36,8 @@ minetest.register_craft({
|
||||||
----------------------cactus juice----------------------------
|
----------------------cactus juice----------------------------
|
||||||
minetest.register_node(":food:cactus_juice", {
|
minetest.register_node(":food:cactus_juice", {
|
||||||
description = "Cactuz Juice",
|
description = "Cactuz Juice",
|
||||||
|
|
||||||
visual_scale = 1.0,
|
|
||||||
tiles = {"food_juice_cactus.png"},
|
|
||||||
inventory_image = "food_juice_cactus.png",
|
inventory_image = "food_juice_cactus.png",
|
||||||
paramtype = "light",
|
|
||||||
sunlight_propagates = true,
|
|
||||||
walkable = false,
|
|
||||||
groups = {fleshy=3,dig_immediate=3,flammable=2},
|
|
||||||
on_use = minetest.item_eat(2),
|
on_use = minetest.item_eat(2),
|
||||||
sounds = default.node_sound_defaults(),
|
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
@ -90,16 +74,8 @@ minetest.register_craftitem(":food:coffeebean_cooked",{
|
||||||
|
|
||||||
minetest.register_node(":food:coffee", {
|
minetest.register_node(":food:coffee", {
|
||||||
description = "Coffee",
|
description = "Coffee",
|
||||||
|
|
||||||
visual_scale = 1.0,
|
|
||||||
tiles = {"food_coffee_cup.png"},
|
|
||||||
inventory_image = "food_coffee_cup.png",
|
inventory_image = "food_coffee_cup.png",
|
||||||
paramtype = "light",
|
|
||||||
sunlight_propagates = true,
|
|
||||||
walkable = false,
|
|
||||||
groups = {fleshy=3,dig_immediate=3,flammable=2},
|
|
||||||
on_use = minetest.item_eat(10),
|
on_use = minetest.item_eat(10),
|
||||||
sounds = default.node_sound_defaults(),
|
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
|
25
fruits.lua
Normal file
25
fruits.lua
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
-- 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")
|
||||||
|
|
||||||
|
minetest.register_node(":default:orange", {
|
||||||
|
description = "Orange Fruit",
|
||||||
|
drawtype = "plantlike",
|
||||||
|
visual_scale = 1.0,
|
||||||
|
tiles = {"food_orange.png"},
|
||||||
|
inventory_image = "food_orange.png",
|
||||||
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
|
walkable = false,
|
||||||
|
groups = {fleshy=3,dig_immediate=3,flammable=2},
|
||||||
|
on_use = minetest.item_eat(4),
|
||||||
|
sounds = default.node_sound_defaults(),
|
||||||
|
})
|
11
init.lua
11
init.lua
|
@ -19,8 +19,9 @@ dofile(minetest.get_modpath("food").."/oven.lua")
|
||||||
dofile(minetest.get_modpath("food").."/dairy.lua")
|
dofile(minetest.get_modpath("food").."/dairy.lua")
|
||||||
dofile(minetest.get_modpath("food").."/meats.lua")
|
dofile(minetest.get_modpath("food").."/meats.lua")
|
||||||
dofile(minetest.get_modpath("food").."/sandwich.lua")
|
dofile(minetest.get_modpath("food").."/sandwich.lua")
|
||||||
|
|
||||||
dofile(minetest.get_modpath("food").."/baking.lua")
|
dofile(minetest.get_modpath("food").."/baking.lua")
|
||||||
|
|
||||||
|
dofile(minetest.get_modpath("food").."/crumbles.lua")
|
||||||
dofile(minetest.get_modpath("food").."/cakes.lua")
|
dofile(minetest.get_modpath("food").."/cakes.lua")
|
||||||
dofile(minetest.get_modpath("food").."/tarts.lua")
|
dofile(minetest.get_modpath("food").."/tarts.lua")
|
||||||
|
|
||||||
|
@ -32,7 +33,6 @@ dofile(minetest.get_modpath("food").."/drinks.lua")
|
||||||
|
|
||||||
minetest.register_craftitem("food:mug",{
|
minetest.register_craftitem("food:mug",{
|
||||||
description = "Mug",
|
description = "Mug",
|
||||||
tiles = {"food_mug.png"},
|
|
||||||
inventory_image = "food_mug.png",
|
inventory_image = "food_mug.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -60,15 +60,8 @@ minetest.register_craft({
|
||||||
----------------------------Cigerete----------------------------
|
----------------------------Cigerete----------------------------
|
||||||
minetest.register_node(":food:cigarette", {
|
minetest.register_node(":food:cigarette", {
|
||||||
description = "Cigarette",
|
description = "Cigarette",
|
||||||
visual_scale = 1.0,
|
|
||||||
tiles = {"food_cigar.png"},
|
|
||||||
inventory_image = "food_cigar.png",
|
inventory_image = "food_cigar.png",
|
||||||
paramtype = "light",
|
|
||||||
sunlight_propagates = true,
|
|
||||||
walkable = false,
|
|
||||||
groups = {fleshy=3,dig_immediate=3,flammable=2},
|
|
||||||
on_use = minetest.item_eat(-4),
|
on_use = minetest.item_eat(-4),
|
||||||
sounds = default.node_sound_defaults(),
|
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
|
|
@ -48,3 +48,12 @@ minetest.register_craft({
|
||||||
{"",'"food:bread_slice"',""},
|
{"",'"food:bread_slice"',""},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = '"food:burger" 1',
|
||||||
|
recipe = {
|
||||||
|
{"",'"food:bun"',""},
|
||||||
|
{"food:butter","food:meat",'"food:butter"'},
|
||||||
|
{"",'"food:bun"',""},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
BIN
textures/food_bun.png
Normal file
BIN
textures/food_bun.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 457 B |
BIN
textures/food_bun_mix.png
Normal file
BIN
textures/food_bun_mix.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 474 B |
Binary file not shown.
Before Width: | Height: | Size: 580 B After Width: | Height: | Size: 545 B |
Loading…
Reference in New Issue
Block a user