solar_panels: number;
accumulators: number;
mining_facilities: number;
+ ore_refinery: number;
barracks: number;
special_attacker_trainer: number;
special_defender_trainer: number;
solar_panels: 5,
accumulators: 5,
mining_facilities: 5,
+ ore_refinery: 5,
barracks: 0,
special_attacker_trainer: 0,
special_defender_trainer: 0,
return city.accumulators * 150;
}
+ maxAlloy(city: City): number {
+ return city.ore_refinery * 75;
+ }
+
async foodProductionPerTick(city: City): Promise<number> {
// eventually we should supply the warehouse formula
// to calculate the max amount of food created per tick