diff options
author | rubenwardy <rubenwardy@gmail.com> | 2016-11-01 23:23:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-01 23:23:40 +0000 |
commit | 54e7fa3b8117fa61da84b1a6d68dc912591d3da0 (patch) | |
tree | fa7b8fb5754c2d8985d733a11ca9d0e024426609 /food_basic/support.lua | |
parent | 9eed044387103efd294d542e8fdcc07d2732fe1c (diff) | |
parent | 55273495226a20d701b9857071f1efca7d0ef278 (diff) |
Merge pull request #29 from sys4-fr/master
Multiple improvements and add new supported mods
Diffstat (limited to 'food_basic/support.lua')
-rw-r--r-- | food_basic/support.lua | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/food_basic/support.lua b/food_basic/support.lua index 4f4366c..be7d067 100644 --- a/food_basic/support.lua +++ b/food_basic/support.lua @@ -16,7 +16,12 @@ food.support("cocoa", "farming_plus:cocoa_bean") food.support("cup", "vessels:drinking_glass") food.support("cactus", "default:cactus") food.support("apple", "default:apple") -food.support("orange", "farming_plus:orange_item") +food.support("orange", { + "farming_plus:orange_item", + "ethereal:orange" +}) +food.disable_if("ethereal", "orange") + food.support("potato", { "docfarming:potato", "veggies:potato", @@ -36,7 +41,8 @@ food.support("milk", { "animalmaterials:milk", "my_mobs:milk_glass_cup", "jkanimals:bucket_milk", - "mobs:bucket_milk" + "mobs:bucket_milk", + "mtfoods:dandelion_milk" }) food.support("egg", { "animalmaterials:egg", @@ -55,7 +61,8 @@ food.support("meat", { }) food.support("sugar", { "jkfarming:sugar", - "bushes:sugar" + "bushes:sugar", + "mtfoods:sugar" }) if farming and farming.mod == "redo" then @@ -74,10 +81,6 @@ else food.support("flour", "farming:flour") end -if minetest.get_modpath("mtfoods") then - food.support("strawberry", "farming_plus:strawberry_item") - food.support("strawberry", "plantlib:strawberry") - food.support("strawberry", "bushes:strawberry") - food.support("rhubarb", "farming_plus:rhubarb_item") +if minetest.get_modpath("mobs") and mobs.mod == "redo" then + food.support("chicken", "mobs:chicken_cooked") end - |