2014-08-31 18:40:35 +02:00
|
|
|
-- FOOD MOD
|
2014-08-27 20:30:45 +02:00
|
|
|
-- A mod written by rubenwardy that adds
|
|
|
|
-- food to the minetest game
|
|
|
|
-- =====================================
|
|
|
|
-- >> food/support.lua
|
|
|
|
-- Support external mods
|
|
|
|
-- =====================================
|
|
|
|
|
2014-09-18 15:50:32 +02:00
|
|
|
-- The following ingredient list is licensed under WTFPL
|
|
|
|
-- You may use the list in your mod. I am doing this to
|
|
|
|
-- make it easier for mods to support lots of others -
|
|
|
|
-- good for the end user
|
|
|
|
|
2014-08-27 20:30:45 +02:00
|
|
|
-- Add support for other mods
|
2021-03-11 21:01:56 +01:00
|
|
|
food.support("flour", {
|
|
|
|
"farming:flour",
|
|
|
|
"farming:flour_multigrain",
|
|
|
|
})
|
|
|
|
food.support("wheat", "farming:wheat")
|
|
|
|
food.support("bowl", "farming:bowl")
|
|
|
|
food.support("cocoa", {"farming_plus:cocoa_bean", "farming:cocoa_beans"})
|
|
|
|
food.support("cup", food.bing["cup"])
|
|
|
|
food.support("cactus", food.bing["cactus"])
|
|
|
|
food.support("apple", food.bing["apple"])
|
2016-07-29 16:49:46 +02:00
|
|
|
food.support("orange", {
|
|
|
|
"farming_plus:orange_item",
|
2021-03-11 21:01:56 +01:00
|
|
|
"ethereal:orange"
|
2016-07-29 16:49:46 +02:00
|
|
|
})
|
|
|
|
food.disable_if("ethereal", "orange")
|
|
|
|
|
2014-08-27 20:30:45 +02:00
|
|
|
food.support("potato", {
|
|
|
|
"docfarming:potato",
|
|
|
|
"veggies:potato",
|
2021-03-11 21:01:56 +01:00
|
|
|
"farming_plus:potato_item",
|
|
|
|
"farming:potato"
|
2014-08-27 20:30:45 +02:00
|
|
|
})
|
|
|
|
food.support("tomato", {
|
|
|
|
"farming_plus:tomato_item",
|
2021-03-11 21:01:56 +01:00
|
|
|
"plantlib:tomato",
|
|
|
|
"farming:tomato"
|
2014-08-27 20:30:45 +02:00
|
|
|
})
|
|
|
|
food.support("carrot", {
|
|
|
|
"farming_plus:carrot_item",
|
|
|
|
"docfarming:carrot",
|
|
|
|
"plantlib:carrot",
|
2021-03-11 21:01:56 +01:00
|
|
|
"jkfarming:carrot",
|
|
|
|
"farming:carrot"
|
2014-08-27 20:30:45 +02:00
|
|
|
})
|
|
|
|
food.support("milk", {
|
|
|
|
"animalmaterials:milk",
|
|
|
|
"my_mobs:milk_glass_cup",
|
2021-03-11 21:01:56 +01:00
|
|
|
"mtfoods:dandelion_milk",
|
|
|
|
"mobs:glass_milk",
|
|
|
|
"farming:soy_milk"
|
|
|
|
})
|
|
|
|
food.support("butter", "mobs:butter")
|
|
|
|
food.support("cheese", "mobs:cheese")
|
|
|
|
food.support("water_bucket", {
|
|
|
|
food.bing["bucket_water"],
|
|
|
|
food.bing["bucket_river_water"]
|
2017-07-24 14:55:20 +02:00
|
|
|
})
|
|
|
|
food.support("milkbucket", {
|
2015-05-24 19:41:33 +02:00
|
|
|
"jkanimals:bucket_milk",
|
2016-07-30 12:44:58 +02:00
|
|
|
"mobs:bucket_milk",
|
2014-08-27 20:30:45 +02:00
|
|
|
})
|
|
|
|
food.support("egg", {
|
|
|
|
"animalmaterials:egg",
|
|
|
|
"animalmaterials:egg_big",
|
2015-05-24 19:41:33 +02:00
|
|
|
"jkanimals:egg",
|
|
|
|
"mobs:egg"
|
2014-08-27 20:30:45 +02:00
|
|
|
})
|
2021-03-11 21:01:56 +01:00
|
|
|
food.support("meat_cooked", {
|
2014-08-27 20:30:45 +02:00
|
|
|
"mobs:meat",
|
|
|
|
"jkanimals:meat",
|
|
|
|
"mobfcooking:cooked_pork",
|
|
|
|
"mobfcooking:cooked_beef",
|
|
|
|
"mobfcooking:cooked_chicken",
|
|
|
|
"mobfcooking:cooked_lamb",
|
2021-03-11 21:01:56 +01:00
|
|
|
"mobfcooking:cooked_venison",
|
|
|
|
"farming:tofu_cooked"
|
|
|
|
})
|
|
|
|
food.support("meat_raw", {
|
|
|
|
"mobs:meat_raw",
|
|
|
|
"mobs:chicken_raw",
|
|
|
|
"farming:tofu"
|
2014-08-27 20:30:45 +02:00
|
|
|
})
|
|
|
|
food.support("sugar", {
|
|
|
|
"jkfarming:sugar",
|
2016-07-30 12:44:58 +02:00
|
|
|
"bushes:sugar",
|
2021-03-11 21:01:56 +01:00
|
|
|
"mtfoods:sugar",
|
|
|
|
"mobs:honey",
|
|
|
|
"farming:sugar"
|
2014-08-27 20:30:45 +02:00
|
|
|
})
|
2021-03-11 21:01:56 +01:00
|
|
|
food.support("cactus_juice", "farming:cactus_juice")
|
|
|
|
food.support("orange_juice", "farming:carrot_juice", true)
|
|
|
|
food.support("apple_juice", "farming:pineapple_juice", true)
|
|
|
|
food.support("dark_chocolate", "farming:chocolate_dark")
|
|
|
|
food.support("baked_potato", "farming:baked_potato")
|
|
|
|
food.support("pasta", "farming:pasta")
|
2021-05-10 00:24:37 +02:00
|
|
|
food.support("soup_tomato", "farming:tomato_soup")
|
2021-11-08 22:02:06 +01:00
|
|
|
minetest.register_alias("food:soup_tomato", "farming:tomato_soup")
|