From dbb7b9bb65f40906c53afa2f6a4ce29b006b5c24 Mon Sep 17 00:00:00 2001 From: sys4-fr Date: Sat, 30 Jul 2016 12:44:58 +0200 Subject: [PATCH] Update mtfoods support Remove unneeded bushes_classic support Remove unneeded strawberries and rhubarb support (Moved to food_sweet) --- food_basic/depends.txt | 3 ++- food_basic/support.lua | 16 ++++------------ food_basic/textures/food_strawberry.png | Bin 250 -> 0 bytes 3 files changed, 6 insertions(+), 13 deletions(-) delete mode 100644 food_basic/textures/food_strawberry.png diff --git a/food_basic/depends.txt b/food_basic/depends.txt index ff5dbdd..90225e1 100644 --- a/food_basic/depends.txt +++ b/food_basic/depends.txt @@ -1,6 +1,6 @@ food animalmaterials? -bushes_classic? +bushes? default? docfarming? ethereal? @@ -12,6 +12,7 @@ jkfarming? my_mobs? mobs? mobfcooking? +mtfoods? plantlib? veggies? vessels? diff --git a/food_basic/support.lua b/food_basic/support.lua index 13019a2..be7d067 100644 --- a/food_basic/support.lua +++ b/food_basic/support.lua @@ -16,7 +16,6 @@ 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("strawberry", "ethereal:strawberry") food.support("orange", { "farming_plus:orange_item", "ethereal:orange" @@ -42,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", @@ -61,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,21 +75,12 @@ if farming and farming.mod == "redo" then food.support("dark_chocolate", "farming:chocolate_dark") food.support("sugar", "farming:sugar") food.support("cup", "farming:drinking_cup") - food.support("rhubarb", "farming:rhubarb") - food.support("blueberry", "farming:blueberries") food.disable_if("farming", "baked_potato") else food.support("wheat", "farming:wheat") 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") -end - if minetest.get_modpath("mobs") and mobs.mod == "redo" then food.support("chicken", "mobs:chicken_cooked") end diff --git a/food_basic/textures/food_strawberry.png b/food_basic/textures/food_strawberry.png deleted file mode 100644 index 0a80f45ddf486546c7eb9556b86503843eaa5183..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 250 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6T^RlY zSq#SNHJ^bLXMsm#F$061G6*wPEVVBK3bL1Y`ns~;;gILCv