dcs-retribution/game/config.py
RndName 00dc8df0de
Fix income not correctly calculated
- Fix the Income class to correctly count the income with the recent ground object refactoring
- Adjust the Factory income from 10 to 2.5 as we now have 4 units instead of 1 as with v5.2

closes #2207
2022-05-07 18:08:26 +02:00

20 lines
563 B
Python

# This should probably be much higher, but the AI doesn't rollover their budget
# and isn't smart enough to save to repair a critical runway anyway, so it has
# to be cheap enough to repair with a single turn's income.
RUNWAY_REPAIR_COST = 100
REWARDS = {
"warehouse": 2,
"ware": 2,
"fuel": 2,
"ammo": 2,
"farp": 1,
# TODO: Should generate no cash once they generate units.
# https://github.com/dcs-liberation/dcs_liberation/issues/1036
"factory": 2.5,
"oil": 10,
"derrick": 8,
"village": 0.25,
"allycamp": 0.5,
}