warehouses: number;
solar_panels: number;
accumulators: number;
+ mining_facilities: number;
barracks: number;
special_attacker_trainer: number;
special_defender_trainer: number;
warehouses: 5,
solar_panels: 5,
accumulators: 5,
+ mining_facilities: 5,
barracks: 0,
special_attacker_trainer: 0,
special_defender_trainer: 0,
async foodProductionPerTick(city: City): Promise<number> {
// eventually we should supply the warehouse formula
// to calculate the max amount of food created per tick
- return _.max([
- city.population + _.round(city.farms * 50)
- ])
+ return city.farms * 50;
}
async foodUsagePerTick(city: City): Promise<number> {