summaryrefslogtreecommitdiff
path: root/support.lua
diff options
context:
space:
mode:
Diffstat (limited to 'support.lua')
-rw-r--r--support.lua52
1 files changed, 52 insertions, 0 deletions
diff --git a/support.lua b/support.lua
new file mode 100644
index 0000000..80cff2d
--- /dev/null
+++ b/support.lua
@@ -0,0 +1,52 @@
+ -- FOOD MOD
+-- A mod written by rubenwardy that adds
+-- food to the minetest game
+-- =====================================
+-- >> food/support.lua
+-- Support external mods
+-- =====================================
+
+-- Add support for other mods
+food.support("wheat", "farming:wheat")
+food.support("flour", "farming:flour")
+food.support("cocoa", "farming_plus:cocoa_bean")
+food.support("cup", "vessels:drinking_glass")
+food.support("potato", {
+ "docfarming:potato",
+ "veggies:potato",
+ "farming_plus:potato_item"
+})
+food.support("tomato", {
+ "farming_plus:tomato_item",
+ "plantlib:tomato"
+})
+food.support("carrot", {
+ "farming_plus:carrot_item",
+ "docfarming:carrot",
+ "plantlib:carrot",
+ "jkfarming:carrot"
+})
+food.support("milk", {
+ "animalmaterials:milk",
+ "my_mobs:milk_glass_cup",
+ "jkanimals:bucket_milk"
+})
+food.support("egg", {
+ "animalmaterials:egg",
+ "animalmaterials:egg_big",
+ "jkanimals:egg"
+})
+food.support("meat", {
+ "mobs:meat",
+ "jkanimals:meat",
+ "mobfcooking:cooked_pork",
+ "mobfcooking:cooked_beef",
+ "mobfcooking:cooked_chicken",
+ "mobfcooking:cooked_lamb",
+ "mobfcooking:cooked_venison"
+})
+food.support("sugar", {
+ "jkfarming:sugar",
+ "bushes:sugar"
+})
+