forked from mtcontrib/food
Added Textures and Tarts
This commit is contained in:
parent
ba2dbaf466
commit
6bd71003a2
24
cakes.lua
24
cakes.lua
@ -35,32 +35,16 @@ minetest.register_craft({
|
||||
recipe = "rubenfood:cakemix_choco",
|
||||
})
|
||||
|
||||
minetest.register_node("rubenfood:cake", {
|
||||
minetest.register_craftitem("rubenfood:cake", {
|
||||
description = "Cake",
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 1.0,
|
||||
tiles = {"ruben_cake.png"},
|
||||
inventory_image = "ruben_cake.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
groups = {fleshy=3,dig_immediate=3,flammable=2},
|
||||
on_use = minetest.item_eat(30),
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("rubenfood:cake_chocolate", {
|
||||
minetest.register_craftitem("rubenfood:cake_chocolate", {
|
||||
description = "Chocolate Cake",
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 1.0,
|
||||
tiles = {"ruben_cake_choco.png"},
|
||||
inventory_image = "ruben_cake_choco.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
groups = {fleshy=3,dig_immediate=3,flammable=2},
|
||||
on_use = minetest.item_eat(40),
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
|
||||
|
||||
@ -73,13 +57,13 @@ minetest.register_node("rubenfood:cake_chocolate", {
|
||||
minetest.register_craft({
|
||||
output = '"rubenfood:cakemix_plain" 1',
|
||||
recipe = {
|
||||
{'"rubenfood:flour"','"rubenfood:milk"','"rubenfood:egg"'},
|
||||
{'"rubenfood:flour"',"",'"rubenfood:egg"'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"rubenfood:cakemix_choco" 1',
|
||||
recipe = {
|
||||
{'""','"default:dirt"','""'}, {'"rubenfood:flour"','"rubenfood:milk"','"rubenfood:egg"'},
|
||||
{'""','"default:dirt"','""'}, {'"rubenfood:flour"',"",'"rubenfood:egg"'},
|
||||
}
|
||||
})
|
27
dairy.lua
27
dairy.lua
@ -2,7 +2,7 @@
|
||||
-- A mod written by rubenwardy that adds
|
||||
-- food to the minetest game
|
||||
-- ======================================
|
||||
-- >> rubenfood/support.lua
|
||||
-- >> rubenfood/diary.lua
|
||||
-- adds diary products
|
||||
-- ======================================
|
||||
-- [regis-food] Cheese
|
||||
@ -11,6 +11,31 @@
|
||||
-- [craft] Butter
|
||||
-- ======================================
|
||||
|
||||
minetest.register_craftitem("rubenfood:butter", {
|
||||
description = "Butter",
|
||||
inventory_image = "ruben_butter.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("rubenfood:cheese", {
|
||||
description = "Cheese",
|
||||
inventory_image = "ruben_cheese.png",
|
||||
on_use = minetest.item_eat(4),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"rubenfood:butter" 1',
|
||||
recipe = {
|
||||
{'"rubenfood:milk"','"rubenfood:milk"'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"rubenfood:cheese" 1',
|
||||
recipe = {
|
||||
{'"rubenfood:butter"','"rubenfood:butter"'},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -16,7 +16,7 @@ print ("RubenFood [Master] - Loading Juices")
|
||||
--------------------------Apple Juice--------------------------
|
||||
minetest.register_node(":rubenfood:apple_juice", {
|
||||
description = "Apple Juice",
|
||||
drawtype = "plantlike",
|
||||
|
||||
visual_scale = 1.0,
|
||||
tiles = {"ruben_juice_apple.png"},
|
||||
inventory_image = "ruben_juice_apple.png",
|
||||
@ -44,7 +44,7 @@ minetest.register_craft({
|
||||
----------------------cactus juice----------------------------
|
||||
minetest.register_node(":rubenfood:cactus_juice", {
|
||||
description = "Cactuz Juice",
|
||||
drawtype = "plantlike",
|
||||
|
||||
visual_scale = 1.0,
|
||||
tiles = {"ruben_juice_cactus.png"},
|
||||
inventory_image = "ruben_juice_cactus.png",
|
||||
@ -90,7 +90,7 @@ minetest.register_craftitem(":rubenfood:coffeebean_cooked",{
|
||||
|
||||
minetest.register_node(":rubenfood:coffee", {
|
||||
description = "Coffee",
|
||||
drawtype = "plantlike",
|
||||
|
||||
visual_scale = 1.0,
|
||||
tiles = {"ruben_coffee_cup.png"},
|
||||
inventory_image = "ruben_coffee_cup.png",
|
||||
|
4
init.lua
4
init.lua
@ -18,9 +18,10 @@ dofile(minetest.get_modpath("rubenfood").."/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("rubenfood").."/drinks.lua")
|
||||
dofile(minetest.get_modpath("rubenfood").."/fruits.lua")
|
||||
--dofile(minetest.get_modpath("rubenfood").."/fruits.lua")
|
||||
|
||||
|
||||
|
||||
@ -44,7 +45,6 @@ minetest.register_craft({
|
||||
----------------------------Cigerete----------------------------
|
||||
minetest.register_node(":rubenfood:cigarette", {
|
||||
description = "Cigarette",
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 1.0,
|
||||
tiles = {"ruben_cigar.png"},
|
||||
inventory_image = "ruben_cigar.png",
|
||||
|
@ -4,7 +4,6 @@
|
||||
-- ======================================
|
||||
-- >> rubenfood/support.lua
|
||||
-- adds support for other mods
|
||||
-- adds items and aliases that are needed
|
||||
-- ======================================
|
||||
-- [support]
|
||||
-- ======================================
|
||||
|
52
tarts.lua
Normal file
52
tarts.lua
Normal file
@ -0,0 +1,52 @@
|
||||
-- RUBENFOOD MOD
|
||||
-- A mod written by rubenwardy that adds
|
||||
-- food to the minetest game
|
||||
-- ======================================
|
||||
-- >> rubenfood/tarts.lua
|
||||
-- adds diary products
|
||||
-- ======================================
|
||||
-- [regis-food] Strawberry Tart
|
||||
-- ======================================
|
||||
|
||||
print "RubenFood [Master] - Loading Tarts"
|
||||
|
||||
minetest.register_craftitem("rubenfood:tart_strawberry", {
|
||||
description = "Strawberry Tart",
|
||||
inventory_image = "ruben_tart_strawberry.png",
|
||||
on_use = minetest.item_eat(30),
|
||||
})
|
||||
|
||||
minetest.register_craftitem("rubenfood:tart_base", {
|
||||
description = "Tart Base",
|
||||
inventory_image = "ruben_tart_base.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("rubenfood:tart_base_raw", {
|
||||
description = "Raw Tart Base",
|
||||
inventory_image = "ruben_tart_base_raw.png",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "rubenfood:tart_base",
|
||||
recipe = "rubenfood:tart_base_raw",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"rubenfood:tart_strawberry" 1',
|
||||
recipe = {
|
||||
{'"rubenfood:strawberry"'},{'"rubenfood:tart_base"'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"rubenfood:tart_base_raw" 1',
|
||||
recipe = {
|
||||
{'"rubenfood:flour"','"rubenfood:milk"','"rubenfood:egg"'},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
|
BIN
textures/ruben_butter.png
Normal file
BIN
textures/ruben_butter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 506 B |
BIN
textures/ruben_cheese.png
Normal file
BIN
textures/ruben_cheese.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 518 B |
BIN
textures/ruben_juice_cactuz.png
Normal file
BIN
textures/ruben_juice_cactuz.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 867 B |
BIN
textures/ruben_tart_base.png
Normal file
BIN
textures/ruben_tart_base.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 521 B |
BIN
textures/ruben_tart_base_raw.png
Normal file
BIN
textures/ruben_tart_base_raw.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 521 B |
BIN
textures/ruben_tart_strawberry.png
Normal file
BIN
textures/ruben_tart_strawberry.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 548 B |
Loading…
Reference in New Issue
Block a user