TFC2 icon indicating copy to clipboard operation
TFC2 copied to clipboard

Food compatibility

Open aliceingame opened this issue 7 years ago • 4 comments

Would you like any help on the addition of decay and food group values to the harvestcraft file ? (or similar files for pupular mods with food). I am sure that many people in the community can help (I can even try to make a spreadsheet to fill to create the final file), but have some questions.

Decay value : do you have a chart of the decay value for different type of food, for example raw/cooked meat, vegetable, grain, meal, preserved food... etc.

Foodgroup total : if an item have many food group, does the total need to be 100 ?

Foodgroup none : if a food item have group "none", it is still edible but will not contribute to the nutrient pool ?

Foodgroup : Do you want to have a matematical approach to the question ? For example a meal is crafted using 1 protein item and 1 vegetable item, so it's 50/50, or it sould be evaluated of the type of food that the final item is, for example a cheeseburger could be 25 grain 25 dairy 50 meat even if made with 3 item that should give 33/33/34. What if a group "none" is used in a recipe, for example if sugar is in the group "none", should we add a value to "none" to account for the sugar, have a total lower than 100, or just ignore it and give a total of 100 in the real food groups ?

I do now know if there is somehgin wrong, but I saw that there is apparently a duplicate item here and in one of the instance, the total of the nutrient get to 90.

{ "name": "harvestcraft:grilledmushroomitem", "decay": 36000, "foodgroup": "Vegetable" }, { "name": "harvestcraft:grilledmushroomitem", "decay": 36000, "foodgroup": { "Grain": "10", "Protein": "60", "Vegetable": "20" }

aliceingame avatar Mar 13 '17 22:03 aliceingame

I'm already working on a script that will automatically generate the values for all the food.

Kittychanley avatar Mar 14 '17 19:03 Kittychanley

Oh, I see, so I guess it would be a mathematical approach if you can get it coded.

In any case, if you want to fill a table with food and their values, I made this table that get you the code for each item when you input the appropriate data.

https://docs.google.com/spreadsheets/d/1L3Th974m5G0VY6G8xuoVgoypV1_1tXq2nJubMwocSsQ/edit?usp=sharing

Then only need to beautify the code and make sure that the needed brackets are there at the biginning and end, and remove the final ","

It might still be used to create files for mod that have a few items and not much recipe to compute.

aliceingame avatar Mar 14 '17 23:03 aliceingame

Any update on your script ? I am sure that the TFC community would be happy to fill the required information and I bet that with the current hype for the first alpha release, it can be accomplished in less than a week.

aliceingame avatar Apr 07 '17 14:04 aliceingame

It's just about finished. There's just a few base ingredients missing that I need to decide the values for and then it's done. I'll probably have it completed by Wednesday evening.

On Fri, Apr 7, 2017 at 9:29 AM, aliceingame [email protected] wrote:

Any update on your script ? I am sure that the TFC community would be happy to fill the required information and I bet that with the current hype for the first alpha release, it can be accomplished in less than a week.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Deadrik/TFC2/issues/16#issuecomment-292552047, or mute the thread https://github.com/notifications/unsubscribe-auth/AE7BO4DYqKCvayBndk3Dh145EsiMchSEks5rtkhCgaJpZM4Mb5IK .

Kittychanley avatar Apr 10 '17 14:04 Kittychanley