posssible fix for chicken soup crafting

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.
This commit is contained in:
Xanthin 2014-04-07 21:28:17 +02:00
parent a74316b4ef
commit 0a92c26448
1 changed files with 4 additions and 2 deletions

View File

@ -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
})