Mods in den Spieleordner reingeschoben. So richtig tief.
This commit is contained in:
parent
b4b6c08f4f
commit
f7bc25a670
1674 changed files with 56056 additions and 530 deletions
98
mods/sandwiches/luas/meat.lua
Normal file
98
mods/sandwiches/luas/meat.lua
Normal file
|
@ -0,0 +1,98 @@
|
|||
local board = "sandwiches:cutting_board"
|
||||
if minetest.global_exists("farming") and farming.mod == "redo" then
|
||||
board = "farming:cutting_board"
|
||||
end
|
||||
|
||||
minetest.register_craftitem("sandwiches:ham", {
|
||||
description = "Ham",
|
||||
on_use = minetest.item_eat(3),
|
||||
groups = {food = 3, food_ham = 1, food_meat = 1, flammable = 1},
|
||||
inventory_image = "sandwiches_ham.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem("sandwiches:chicken_strips", {
|
||||
description = "Chicken strips",
|
||||
on_use = minetest.item_eat(2),
|
||||
groups = {food = 2, food_chicken_strips = 1, food_meat = 1, flammable = 1},
|
||||
inventory_image = "sandwiches_chicken_strips.png"
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "sandwiches:chicken_strips 3",
|
||||
type = "shapeless";
|
||||
recipe = {"group:food_chicken", "group:food_cutting_board"},
|
||||
replacements = {{"group:food_cutting_board", board }}
|
||||
})
|
||||
|
||||
minetest.register_craftitem("sandwiches:raw_bacon", {
|
||||
description = "Raw Bacon",
|
||||
on_use = minetest.item_eat(1),
|
||||
groups = {food = 1, food_bacon_raw = 1, food_meat = 1, flammable = 1},
|
||||
inventory_image = "sandwiches_raw_bacon.png"
|
||||
})
|
||||
minetest.register_craftitem("sandwiches:crispy_bacon", {
|
||||
description = "Crispy Bacon",
|
||||
on_use = minetest.item_eat(3),
|
||||
groups = {food = 3, food_bacon = 1, food_meat = 1, flammable = 1},
|
||||
inventory_image = "sandwiches_crispy_bacon.png"
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "sandwiches:crispy_bacon",
|
||||
recipe = "sandwiches:raw_bacon",
|
||||
cooktime = 5,
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "sandwiches:raw_bacon 3",
|
||||
type = "shapeless";
|
||||
recipe = {"group:food_pork_raw", "group:food_cutting_board"},
|
||||
replacements = {{"group:food_cutting_board", board }}
|
||||
})
|
||||
|
||||
if minetest.get_modpath("mobs") then
|
||||
minetest.register_craft({
|
||||
output = "sandwiches:ham 3",
|
||||
type = "shapeless";
|
||||
recipe = {"mobs:meat", "group:food_cutting_board"},
|
||||
replacements = {{"group:food_cutting_board", board }}
|
||||
})
|
||||
end
|
||||
if minetest.get_modpath("petz") then
|
||||
minetest.register_craft({
|
||||
output = "sandwiches:ham 3",
|
||||
type = "shapeless";
|
||||
recipe = {"petz:steak", "group:food_cutting_board"},
|
||||
replacements = {{"group:food_cutting_board", board }}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "sandwiches:chicken_strips 3",
|
||||
type = "shapeless";
|
||||
recipe = {"petz:roasted_chicken", "group:food_cutting_board"},
|
||||
replacements = {{"group:food_cutting_board", board }}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "sandwiches:raw_bacon 3",
|
||||
type = "shapeless";
|
||||
recipe = {"petz:raw_porkchop", "group:food_cutting_board"},
|
||||
replacements = {{"group:food_cutting_board", board }}
|
||||
})
|
||||
end
|
||||
if minetest.get_modpath("animalia") then
|
||||
minetest.register_craft({
|
||||
output = "sandwiches:ham 3",
|
||||
type = "shapeless";
|
||||
recipe = {"animalia:beef_cooked", "group:food_cutting_board"},
|
||||
replacements = {{"group:food_cutting_board", board }}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "sandwiches:chicken_strips 3",
|
||||
type = "shapeless";
|
||||
recipe = {"animalia:poultry_cooked", "group:food_cutting_board"},
|
||||
replacements = {{"group:food_cutting_board", board }}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "sandwiches:raw_bacon 3",
|
||||
type = "shapeless";
|
||||
recipe = {"animalia:porkchop_raw", "group:food_cutting_board"},
|
||||
replacements = {{"group:food_cutting_board", board }}
|
||||
})
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue