by Procne » Sun Sep 21, 2014 2:16 pm
I'm making following changes:
Food template will normally display average humours, however they will be saved as the property only when there is variable ingredient. If there is one then it's up to that ingredient's template to calculate max average humours. For example, BerriesIngredient template is multiplying average yellow bile by huckleberries multiplier and black bile by blackberries' multiplier. Wiki page for pemmican will show average 11 for yellow bile and black bile, but in food table we will see 12.65 for black bile and 14.3 for yellow bile.
Food template has been modified to pass gluttony values to ingredients templates. Also, it will use only 1 ingredients template. So far I haven't seen a food that could use 2 varied ingredients.
All that is left to do now is to hardcode multipliers into proper templates and make templates for new ingredients