As far as I have been able to see max_oil_stock need not be defined in the unit files but is calculated automatically from the fuelconsumption of the division + brigade.
However, when fuelconsumptionios is adjusted by tech or event, max_oil_stock is not recalculated (left at 0) and those units run out of oil immediately with 0 oil supply.
This does not happen in vanilla AoD since the feature is not used, but happens for CORE for AoD which I am just porting. We have a tech that raises fuelconsumption for all units (limited infantry motorization).
Could you still have a look at it.
Upgrading the unit seems to reset the max_oil_stock and everthing works.
However, when fuelconsumptionios is adjusted by tech or event, max_oil_stock is not recalculated (left at 0) and those units run out of oil immediately with 0 oil supply.
This does not happen in vanilla AoD since the feature is not used, but happens for CORE for AoD which I am just porting. We have a tech that raises fuelconsumption for all units (limited infantry motorization).
Could you still have a look at it.
Upgrading the unit seems to reset the max_oil_stock and everthing works.
Upvote
0