Ancient Warfare 2

Ancient Warfare 2

6M Downloads

[1.12.2] Unclear config comments

PhoenixRiver opened this issue ยท 2 comments

commented

The following comment and default in AncientWarfareNPCFood.cfg suggests that nothing will be treated as food except those things in the exception list above (since multiplying by zero is always zero and therefore the thing is treated as non-food) since the default exception list contains only apples and mushroom stew as exceptions even vanilla bread would be worth nothing as a food... this doesn't seem right! I'm confused! Sorry :(

default {
    # Food items which don't have a custom duration time set will have their nourishing amount multiplied by this number, to get the number of ticks feeding the npc. [range: 0 ~ 214748364, default: 0]
    I:"Food Multiplier"=0
}
commented

Looking at this after a year some things may have changed in the meantime, but the default value is actually 750 and I don't remember changing it so I guess it must have been modified in your modpack. Otherwise the comment is accurate, any food that doesn't have a specific feeding time set will use this multiplier to multiply nourishment of the food to get the feeding time.

commented

I too am confused by the wording of this, also I am confused on what counts as nourishment. Is it the hunger restored, saturation restored or some combination of each?