Function

usage:

echo GetTroops().foodConsumption()

examples:

echo GetTroops("b:2m,r:1m,cp:1m").foodConsumption(60)

Will echo the food consumption of to Troop Bean: b:2m,r:1m,cp:1m after 60 seconds.

echo FormatNumber(GetTroops("b:"+city.getAvailableTroop().ballista+",r:"+city.getAvailableTroop().batteringRam+",cp:"+city.getAvailableTroop().catapult).foodConsumeRate)

Will output the food consumption of the current cities ballista, Rams & Catapults.


CategoryFunctions

foodConsumeRate (last edited 2014-09-20 03:08:44 by LKD70)