From 0a92c26448f27ededd29e905c5a1becc9e6bba01 Mon Sep 17 00:00:00 2001 From: Xanthin Date: Mon, 7 Apr 2014 21:28:17 +0200 Subject: [PATCH] posssible fix for chicken soup crafting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I found three methods to get the crafting of chicken soup working. (A whole day trial and error, close to become insane;)) 1. This is the version wich I think is close to the original intend of the mod. It´s compatible with all 3 mods (mobf,mobs,jk) starting with food together (or allone, or only food) and replaces the food mods default recipe for Raw Meat. But the cooking output from raw meat for all three mods is the default "Venison". 2. If Venison should be replaced too, then the group in food.support for jkanimals and mobs must be "chicken" instead of "meat". But this is not compatible with animalmaterials starting together with one or both of the other two mods. And, I don´t know why, jkanimals overwrites the inventory images for mobs meat if both start together. 3. So the third method is to delete the cooking for animalsmaterial and maybe replace the food.support for it with meat_chicken instead of meat-raw. This makes sense, it´s a chicken soup and instead of the other two mods, you get chicken meat from the chicken. Maybe this helps, I hope it´s not confusing. --- init.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index feef640..316e8d5 100644 --- a/init.lua +++ b/init.lua @@ -117,7 +117,9 @@ food.support("milk","jkanimals","jkanimals:bucket_milk") food.support("egg","animalmaterials","animalmaterials:egg") food.support("egg","jkanimals","jkanimals:egg") food.support("meat_raw","animalmaterials","animalmaterials:meat_raw") +food.support("meat_raw","mobs","mobs:meat_raw") food.support("meat","mobs","mobs:meat") +food.support("meat_raw","jkanimals","jkanimals:meat_raw") food.support("meat","jkanimals","jkanimals:meat") food.support("cup","vessels","vessels:drinking_glass") food.support("cup","animalmaterials","animalmaterials:glass") @@ -281,7 +283,7 @@ food.asupport("meat_raw",function() } }) end) -food.asupport("meat",function() +food.asupport("chicken",function() minetest.register_craftitem("food:meat", { description = S("Venison"), inventory_image = "food_meat.png", @@ -299,7 +301,7 @@ end) if minetest.get_modpath("animalmaterials") then minetest.register_craft({ type = "cooking", - output = "group:food_meat", + output = "food:meat", recipe = "group:food_meat_raw", cooktime = 30 })