Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Food compatibility #16

Open
aliceingame opened this issue Mar 13, 2017 · 4 comments
Open

Food compatibility #16

aliceingame opened this issue Mar 13, 2017 · 4 comments

Comments

@aliceingame
Copy link

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" }

@Kittychanley
Copy link
Collaborator

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

@aliceingame
Copy link
Author

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
Copy link
Author

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.

@Kittychanley
Copy link
Collaborator

Kittychanley commented Apr 10, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants