cucina_vegana/recipes_support.lua

602 lines
18 KiB
Lua
Raw Normal View History

2018-05-11 13:02:26 +02:00
-- *******************************************
2019-07-16 22:59:13 +02:00
-- ** Recipe differences **
2018-05-11 13:02:26 +02:00
-- *******************************************
2019-01-13 20:14:07 +01:00
local modname = minetest.get_current_modname()
2018-05-11 13:02:26 +02:00
-- *******************************************
2019-07-16 22:59:13 +02:00
-- ** Additional Recipes with other Mods **
2018-05-11 13:02:26 +02:00
-- *******************************************
2019-07-15 17:54:34 +02:00
--[[
**************************************************
*** Support for mobs ***
**************************************************
]]--
2019-01-01 20:26:50 +01:00
2018-05-11 13:02:26 +02:00
if minetest.get_modpath("mobs") then
2019-07-16 22:59:13 +02:00
2018-05-11 13:02:26 +02:00
minetest.register_craft({
output = "mobs:meat_raw",
recipe = {
{"cucina_vegana:tofu", "cucina_vegana:tofu", "cucina_vegana:tofu"}
}
})
minetest.register_craft({
output = "mobs:chicken_raw",
recipe = {
{"", "", "cucina_vegana:tofu"},
{"", "cucina_vegana:tofu", ""},
{"cucina_vegana:tofu", "", ""},
}
})
2019-07-16 22:59:13 +02:00
2019-01-13 20:14:07 +01:00
minetest.log("info", "[MOD] " .. modname .. ": mobs supported.")
2019-07-16 22:59:13 +02:00
2019-01-01 20:26:50 +01:00
end -- if minetest.get_modpath("mobs"
2019-07-16 22:59:13 +02:00
2019-07-15 17:54:34 +02:00
--[[
**************************************************
*** Support for animalmaterials ***
**************************************************
]]--
2018-05-11 13:02:26 +02:00
if minetest.get_modpath("animalmaterials") then
minetest.register_craft({
output = "animalmaterials:milk",
recipe = {
{"cucina_vegana:milk", "cucina_vegana:milk", "cucina_vegana:milk"},
{"", "vessels:glass_bottle", ""}
},
replacements = {{"cucina_vegana:milk", "vessels:drinking_glass"}}
})
2019-01-13 20:14:07 +01:00
minetest.log("info", "[MOD] " .. modname .. ": animalmaterials supported.")
2019-01-01 20:26:50 +01:00
end -- if minetest.get_modpath("animalmaterials"
2019-07-15 17:54:34 +02:00
--[[
**************************************************
*** Support for fishing ***
**************************************************
]]--
2018-05-11 13:02:26 +02:00
if minetest.get_modpath("fishing") then
cucina_vegana.add_group("fishing:fish_raw", {food_fish = 1})
cucina_vegana.add_group("fishing:clownfish_raw", {food_fish = 1})
cucina_vegana.add_group("fishing:bluewhite_raw", {food_fish = 1})
cucina_vegana.add_group("fishing:exoticfish_raw", {food_fish = 1})
cucina_vegana.add_group("fishing:carp_raw", {food_fish = 1})
cucina_vegana.add_group("fishing:perch_raw", {food_fish = 1})
cucina_vegana.add_group("fishing:catfish_raw", {food_fish = 1})
2019-07-16 22:59:13 +02:00
2018-05-11 13:02:26 +02:00
minetest.register_craft({
type = "shapeless",
output = "fishing:sushi",
recipe = {"group:food_fish","group:food_rice","flowers:seaweed"},
2018-05-11 13:02:26 +02:00
replacements = {{"group:food_rice", "cucina_vegana:bowl"}}
})
minetest.register_craft({
type = "shapeless",
output = "fishing:sushi",
recipe = {"group:food_fish","group:food_rice","seaplants:kelpgreen"},
2018-05-11 13:02:26 +02:00
replacements = {{"group:food_rice", "cucina_vegana:bowl"}}
2019-07-16 22:59:13 +02:00
2018-05-11 13:02:26 +02:00
})
minetest.register_craft({
type = "shapeless",
output = "fishing:sushi",
recipe = {"group:food_fish","group:food_rice","seaplants:kelpgreen"},
replacements = {{"group:food_rice", "cucina_vegana:bowl"}}
2019-07-16 22:59:13 +02:00
2018-05-11 13:02:26 +02:00
})
minetest.register_craft({
type = "shapeless",
output = "fishing:sushi",
recipe = {"group:food_fish","group:food_rice","default:jungleleaves"},
replacements = {{"group:food_rice", "cucina_vegana:bowl"}}
2019-07-16 22:59:13 +02:00
})
2019-01-13 20:14:07 +01:00
minetest.log("info", "[MOD] " .. modname .. ": fishing supported.")
2019-01-01 20:26:50 +01:00
end -- if minetest.get_modpath("fishing"
2019-07-15 17:54:34 +02:00
--[[
**************************************************
*** Support for bbq ***
**************************************************
]]--
2018-05-11 13:02:26 +02:00
if minetest.get_modpath("bbq") then
2018-05-17 22:50:44 +02:00
-- *** group:food_meat
2019-07-16 22:59:13 +02:00
2018-05-17 22:50:44 +02:00
--BBQ Beef Ribs Craft Recipe
minetest.register_craft( {
2018-05-17 22:50:44 +02:00
output = "bbq:bbq_beef_ribs_raw 2",
type = "shapeless",
2018-05-17 22:50:44 +02:00
recipe = {"bbq:bbq_sauce", "group:food_meat", "group:food_pepper_ground"}
})
2018-05-17 22:50:44 +02:00
--Corned Beef Craft Recipe
minetest.register_craft( {
2018-05-17 22:50:44 +02:00
output = "bbq:corned_beef_raw",
type = "shapeless",
2018-05-17 22:50:44 +02:00
recipe = {"group:food_peppercorn", "group:food_meat","bbq:brine",}
})
2018-05-17 22:50:44 +02:00
--BBQ Brisket Craft Recipe
minetest.register_craft( {
2018-05-17 22:50:44 +02:00
output = "bbq:brisket_raw 2",
type = "shapeless",
2018-05-17 22:50:44 +02:00
recipe = {"bbq:bbq_sauce", "bbq:molasses", "group:food_meat", "group:food_garlic_clove"}
})
2018-05-17 22:50:44 +02:00
--London Broil Craft Recipe
minetest.register_craft( {
2018-05-17 22:50:44 +02:00
output = "bbq:london_broil_raw 2",
type = "shapeless",
2018-05-17 22:50:44 +02:00
recipe = {"bbq:bacon", "group:food_garlic_clove", "group:food_meat"}
})
2019-07-16 22:59:13 +02:00
2018-05-17 22:50:44 +02:00
--Beef Jerky Craft Recipe
minetest.register_craft( {
output = "bbq:beef_jerky_raw 3",
type = "shapeless",
recipe = {"bbq:liquid_smoke", "bbq:brine", "group:food_meat"}
})
2018-05-17 22:50:44 +02:00
--Pepper Steak Craft Recipe
minetest.register_craft( {
2018-05-17 22:50:44 +02:00
output = "bbq:pepper_steak_raw",
type = "shapeless",
2018-05-17 22:50:44 +02:00
recipe = {"group:food_pepper_ground", "group:food_meat", "group:food_pepper_ground"}
})
2018-05-17 22:50:44 +02:00
-- *** group:food_bread
2019-07-16 22:59:13 +02:00
--Cheese Steak Craft Recipe
minetest.register_craft( {
output = "bbq:cheese_steak 2",
type = "shapeless",
recipe = {"group:food_bread", "group:food_pepper", "bbq:beef", "group:food_cheese", "group:food_onion"}
})
2019-07-16 22:59:13 +02:00
--Bacon Cheeseburger Craft Recipe
minetest.register_craft( {
output = "bbq:bacon_cheeseburger 3",
type = "shapeless",
recipe = {"group:food_bread", "bbq:bacon", "bbq:hamburger_patty", "group:food_cheese"}
})
2018-05-17 22:50:44 +02:00
--Bacon Cheeseburger Craft Recipe
minetest.register_craft( {
output = "bbq:bacon_cheeseburger 3",
type = "shapeless",
recipe = {"group:food_bread", "bbq:bacon", "group:food_meat", "group:food_cheese"}
})
--Hamburger Craft Recipe
minetest.register_craft( {
2019-01-01 20:26:50 +01:00
output = "bbq:hamburger 2",
type = "shapeless",
recipe = {"group:food_bread", "bbq:hamburger_patty"}
})
2018-05-17 22:50:44 +02:00
--Hamburger Craft Recipe
minetest.register_craft( {
output = "bbq:hamburger 2",
type = "shapeless",
recipe = {"group:food_bread", "group:food_meat"}
})
2019-07-16 22:59:13 +02:00
2018-05-17 22:50:44 +02:00
--Hotdog Craft Recipe
minetest.register_craft( {
output = "bbq:hotdog 2",
type = "shapeless",
recipe = {"bbq:hotdog_cooked", "group:food_bread"}
})
--Pulled Pork Craft Recipe
minetest.register_craft( {
output = "bbq:pulled_pork 2",
type = "shapeless",
recipe = {"mobs:pork_cooked", "group:food_bread", "bbq:bbq_sauce"}
})
--Stuffed Chop Craft Recipe
minetest.register_craft( {
output = "bbq:stuffed_chop_raw 3",
type = "shapeless",
recipe = {"group:food_onion", "group:food_bread", "flowers:mushroom_brown", "mobs:pork_raw", "default:apple"}
})
--Stuffed Mushroom Craft Recipe
minetest.register_craft( {
output = "bbq:stuffed_mushroom_raw 2",
type = "shapeless",
recipe = {"group:food_tomato", "group:food_bread", "flowers:mushroom_brown"}
})
--Stuffed Pepper Craft Recipe
minetest.register_craft( {
output = "bbq:stuffed_pepper_raw 3",
type = "shapeless",
recipe = {"group:food_cheese", "group:food_bread", "group:food_pepper"}
})
2019-07-16 22:59:13 +02:00
2019-01-01 20:26:50 +01:00
-- bbq:bacon_raw
minetest.register_craft( {
output = "bbq:bacon_raw 3",
recipe = {
2019-05-01 20:37:31 +02:00
{"bbq:basting_brush", "group:dye,color_red", "group:dye,color_white"},
2019-01-01 20:26:50 +01:00
{"cucina_vegana:tofu", "cucina_vegana:tofu", "cucina_vegana:tofu"},
},
2019-07-16 22:59:13 +02:00
replacements = {{"bbq:basting_brush", "bbq:basting_brush"}}
2019-01-01 20:26:50 +01:00
})
minetest.register_craft( {
output = "bbq:bbq_chicken_raw",
recipe = {
{"bbq:basting_brush", "bbq:hot_sauce", "cucina_vegana:tofu"},
{"", "cucina_vegana:tofu", ""},
{"cucina_vegana:tofu", "", ""},
},
2019-07-16 22:59:13 +02:00
replacements = {{"bbq:basting_brush", "bbq:basting_brush"}}
2019-01-01 20:26:50 +01:00
})
minetest.register_craft( {
output = "bbq:beef_raw",
recipe = {
2019-05-01 20:37:31 +02:00
{"bbq:basting_brush", "group:dye,color_red", "bbq:sea_salt"},
2019-01-01 20:26:50 +01:00
{"cucina_vegana:imitation_meat", "cucina_vegana:imitation_meat", ""},
},
replacements = {{"bbq:basting_brush", "bbq:basting_brush"}}
})
2019-01-01 20:26:50 +01:00
minetest.register_craft( {
output = "bbq:ham_raw",
recipe = {
{"cucina_vegana:tofu", "bbq:liquid_smoke", "cucina_vegana:tofu"},
}
})
2019-01-01 20:26:50 +01:00
minetest.register_craft( {
output = "bbq:hot_wings_raw 2",
recipe = {
{"cucina_vegana:tofu", "", "cucina_vegana:tofu"},
{"cucina_vegana:tofu", "bbq:hot_sauce", "cucina_vegana:tofu"},
{"cucina_vegana:tofu", "", "cucina_vegana:tofu"},
}
})
minetest.register_craft( {
output = "bbq:hotdog_raw 3",
recipe = {
{"bbq:basting_brush", "group:food_salt", ""},
{"cucina_vegana:asparagus", "cucina_vegana:tofu", "group:food_salt"},
{"bbq:paprika", "", ""},
},
replacements = {{"bbq:basting_brush", "bbq:basting_brush"}}
})
2019-07-16 22:59:13 +02:00
2019-01-01 20:26:50 +01:00
minetest.register_craft( {
output = "bbq:leg_lamb_raw",
recipe = {
{"bbq:basting_brush", "cucina_vegana:imitation_butter", "cucina_vegana:soy_milk"},
{"cucina_vegana:imitation_meat", "", ""},
{"group:food_salt", "", ""},
},
replacements = {{"bbq:basting_brush", "bbq:basting_brush"}}
})
minetest.register_craft( {
output = "bbq:rack_lamb_raw",
recipe = {
{"bbq:basting_brush", "", "default:stick"},
{"cucina_vegana:imitation_meat", "", "default:stick"},
{"bbq:spatula", "", "default:stick"},
},
replacements = {{"bbq:basting_brush", "bbq:basting_brush"},
{"bbq:spatula", "bbq:spatula"},
}
})
minetest.register_craft( {
output = "bbq:lamb_kebab_raw",
recipe = {
{"bbq:leg_lamb_raw", "default:stick", ""},
{"bbq:leg_lamb_raw", "default:stick", ""},
},
})
2019-01-13 20:14:07 +01:00
minetest.log("info", "[MOD] " .. modname .. ": bbq supported.")
2019-01-01 20:26:50 +01:00
end -- if minetest.get_modpath("bbq"
2019-07-16 22:59:13 +02:00
2019-07-15 17:54:34 +02:00
--[[
**************************************************
*** Support for pizza ***
**************************************************
]]--
2019-02-14 21:18:28 +01:00
if minetest.get_modpath("pizza") then
minetest.register_craft({
type = "shapeless",
output = "pizza:pizza_dough",
recipe = {"group:food_flour", "group:food_cheese", "group:food_tomato"},
})
2019-07-16 22:59:13 +02:00
cucina_vegana.add_group("pizza:pizza_dough", {pizza_dough = 1})
2020-03-02 19:54:11 +01:00
minetest.register_craft({
type = "shapeless",
output = "pizza:pizza_dough",
recipe = {"cucina_vegana:pizza_dough"}
})
minetest.register_craft({
type = "shapeless",
output = "cucina_vegana:pizza_dough",
recipe = {"pizza:pizza_dough"}
})
2019-07-16 22:59:13 +02:00
2019-02-14 21:18:28 +01:00
end
2019-04-24 21:06:31 +02:00
2019-07-15 17:54:34 +02:00
--[[
**************************************************
*** Support for homedecor ***
**************************************************
]]--
2019-04-24 21:06:31 +02:00
if minetest.get_modpath("homedecor") then
minetest.register_craft( {
output = "homedecor:cobweb_corner 5",
recipe = {
{ "cucina_vegana:flax_roasted", "", "cucina_vegana:flax_roasted" },
{ "", "cucina_vegana:flax_roasted", "" },
{ "cucina_vegana:flax_roasted", "", "cucina_vegana:flax_roasted" }
2019-04-24 21:06:31 +02:00
},
})
minetest.register_craft({
output = "homedecor:oil_lamp",
recipe = {
{ "", "vessels:glass_bottle", "" },
{ "", "cucina_vegana:flax_roasted", "" },
2019-04-24 21:06:31 +02:00
{ "default:steel_ingot", "group:food_oil", "default:steel_ingot" }
}
})
minetest.register_craft({
output = "homedecor:oil_lamp_tabletop",
recipe = {
{ "", "vessels:glass_bottle", "" },
{ "", "cucina_vegana:flax_roasted", "" },
2019-04-24 21:06:31 +02:00
{ "default:iron_lump", "group:food_oil", "default:iron_lump" }
}
})
minetest.register_craft({
output = "homedecor:candle_thin 4",
recipe = {
{"cucina_vegana:flax_roasted" },
2019-04-24 21:06:31 +02:00
{"basic_materials:paraffin" }
}
})
minetest.register_craft({
output = "homedecor:candle 2",
recipe = {
{"cucina_vegana:flax_roasted" },
2019-04-24 21:06:31 +02:00
{"basic_materials:paraffin" },
{"basic_materials:paraffin" }
}
})
2019-07-25 21:32:09 +02:00
minetest.register_craft({
output = "homedecor:blinds_thin",
recipe = {
{ "group:stick", "basic_materials:plastic_sheet", "group:stick" },
{ "cucina_vegana:flax_roasted", "basic_materials:plastic_strip", "" },
{ "", "basic_materials:plastic_strip", "" },
},
})
minetest.register_craft({
output = "homedecor:blinds_thick",
recipe = {
{ "group:stick", "basic_materials:plastic_sheet", "group:stick" },
{ "cucina_vegana:flax_roasted", "basic_materials:plastic_strip", "basic_materials:plastic_strip" },
{ "", "basic_materials:plastic_strip", "basic_materials:plastic_strip" },
},
})
2019-07-25 21:32:09 +02:00
2019-04-24 21:06:31 +02:00
end
2019-07-15 17:54:34 +02:00
--[[
**************************************************
*** Support for building_blocks ***
**************************************************
]]--
2019-04-24 21:06:31 +02:00
if minetest.get_modpath("building_blocks") then
minetest.register_craft({
output = 'building_blocks:terrycloth_towel 2',
recipe = {
{"cucina_vegana:flax_roasted", "cucina_vegana:flax_roasted", "cucina_vegana:flax_roasted"},
2019-04-24 21:06:31 +02:00
}
})
2019-07-16 22:59:13 +02:00
2019-04-24 21:06:31 +02:00
end
2019-07-15 17:54:34 +02:00
--[[
**************************************************
*** Support for ropes ***
**************************************************
]]--
2019-04-24 21:06:31 +02:00
if minetest.get_modpath("ropes") then
minetest.register_craft({
output = 'ropes:ropesegment',
recipe = {
{'cucina_vegana:flax_roasted','cucina_vegana:flax_roasted'},
{'cucina_vegana:flax_roasted','cucina_vegana:flax_roasted'},
{'cucina_vegana:flax_roasted','cucina_vegana:flax_roasted'},
2019-04-24 21:06:31 +02:00
}
})
2019-05-11 11:09:44 +02:00
minetest.register_craft({
output = 'ropes:rope',
recipe = {
{'cucina_vegana:flax_roasted'},
{'cucina_vegana:flax_roasted'},
2019-05-11 11:09:44 +02:00
}
})
2019-04-24 21:06:31 +02:00
end
2019-07-15 17:54:34 +02:00
--[[
**************************************************
*** Support for cottages ***
**************************************************
]]--
2019-04-24 21:06:31 +02:00
if minetest.get_modpath("cottages") then
minetest.register_craft({
output = "cottages:rope",
recipe = {
{"cucina_vegana:flax_roasted","",""},
{"","cucina_vegana:flax_roasted",""},
{"","","cucina_vegana:flax_roasted"},
2019-07-25 21:32:09 +02:00
}
2019-04-24 21:06:31 +02:00
})
2019-07-16 22:59:13 +02:00
2019-04-24 21:06:31 +02:00
end
2019-07-15 17:54:34 +02:00
--[[
**************************************************
*** Support for moreblocks ***
**************************************************
]]--
2019-04-24 21:06:31 +02:00
if minetest.get_modpath("moreblocks") then
minetest.register_craft({
output = "moreblocks:rope 3",
recipe = {
{"cucina_vegana:flax_roasted"},
{"cucina_vegana:flax_roasted"},
{"cucina_vegana:flax_roasted"},
2019-04-24 21:06:31 +02:00
}
})
2019-07-16 22:59:13 +02:00
2019-04-24 21:06:31 +02:00
end
2019-06-30 22:49:05 +02:00
2019-07-15 17:54:34 +02:00
--[[
**************************************************
*** Support for petz ***
**************************************************
]]--
2019-06-30 22:49:05 +02:00
if minetest.get_modpath("petz") then
2019-07-16 22:59:13 +02:00
2019-06-30 22:49:05 +02:00
minetest.register_craft({
output = "petz:lasso",
recipe = {
{"cucina_vegana:flax_roasted", "", "cucina_vegana:flax_roasted"},
2019-06-30 22:49:05 +02:00
{"", "default:diamond", ""},
{"cucina_vegana:flax_roasted", "", "cucina_vegana:flax_roasted"},
2019-06-30 22:49:05 +02:00
}
})
minetest.register_craft({
type = "shaped",
output = 'petz:pet_bowl',
2019-07-16 22:59:13 +02:00
recipe = {
2019-06-30 22:49:05 +02:00
{'group:wood', '', 'group:wood'},
{'', 'cucina_vegana:plate', ''},
}
})
2019-07-16 22:59:13 +02:00
2019-07-15 17:54:34 +02:00
minetest.register_craft({
type = "shapeless",
output = "petz:blueberry_cheese_cake",
recipe = {"group:food_blueberries", "farming:wheat", "group:food_cheese", "group:food_egg"},
})
minetest.register_craft({
type = "shapeless",
output = "petz:blueberry_cheese_cake",
recipe = {"group:food_blueberry", "farming:wheat", "group:food_cheese", "group:food_egg"},
})
minetest.register_craft({
type = "shapeless",
output = "petz:blueberry_ice_cream 3",
recipe = {"group:food_blueberries", "group:food_milk", "group:food_egg",
2019-07-16 23:56:14 +02:00
"default:snow", "group:food_egg", "default:snow", "farming:wheat"},
2019-07-15 17:54:34 +02:00
replacements = {{"group:food_milk", "bucket:bucket_empty"}},
})
minetest.register_craft({
type = "shapeless",
output = "petz:blueberry_ice_cream 3",
recipe = {"group:food_blueberry", "group:food_milk", "group:food_egg",
"default:snow", "group:food_egg", "default:snow", "farming:wheat"},
2019-07-15 17:54:34 +02:00
replacements = {{"group:food_milk", "bucket:bucket_empty"}},
})
minetest.register_craft({
type = "shapeless",
output = "petz:blueberry_muffin 8",
recipe = {"group:food_blueberries", "farming:wheat", "farming:wheat", "petz:chicken_egg",
2019-07-16 23:56:14 +02:00
"petz:chicken_egg", "default:paper", "group:food_milk"},
2019-07-15 17:54:34 +02:00
replacements = {{"group:food_milk", "bucket:bucket_empty"}},
})
2019-06-30 22:49:05 +02:00
2019-07-15 17:54:34 +02:00
minetest.register_craft({
type = "shapeless",
output = "petz:blueberry_muffin 8",
recipe = {"group:food_blueberry", "farming:wheat", "farming:wheat",
2019-07-16 23:56:14 +02:00
"petz:chicken_egg", "petz:chicken_egg", "default:paper", "group:food_milk"},
2019-07-15 17:54:34 +02:00
replacements = {{"group:food_milk", "bucket:bucket_empty"}},
})
2019-07-16 22:59:13 +02:00
2019-07-25 21:32:09 +02:00
-- Dreamcatcher
minetest.register_craft({
type = "shaped",
output = "petz:dreamcatcher",
recipe = {
{"", "group:wood", ""},
{"cucina_vegana:flax_roasted", "cucina_vegana:flax_roasted", "cucina_vegana:flax_roasted"},
2019-07-25 21:32:09 +02:00
{"petz:ducky_feather", "petz:ducky_feather", "petz:ducky_feather"},
}
})
2019-12-28 03:46:36 +01:00
2019-07-25 21:32:09 +02:00
minetest.register_craft({
type = "shaped",
output = "petz:ducky_feather",
recipe = {
{"cucina_vegana:flax_roasted", "default:stick", "cucina_vegana:flax_roasted"},
{"cucina_vegana:flax_roasted", "default:stick", "cucina_vegana:flax_roasted"},
2019-07-25 21:32:09 +02:00
{"", "default:stick", ""},
}
})
2019-07-15 17:54:34 +02:00
cucina_vegana.add_group("petz:cheese", {food_cheese = 1, eatable = 1})
cucina_vegana.add_group("petz:milk", {food_milk = 1, eatable = 1})
2019-12-28 03:46:36 +01:00
2019-07-25 21:32:09 +02:00
end -- if minetest.get_modpath("petz"
2019-07-14 17:40:39 +02:00
cucina_vegana.add_group("default:blueberries", {food_blueberry = 1, food_blueberries = 1})
cucina_vegana.add_group("bushes:blueberry", {food_blueberries = 1})