Size: 541
Comment:
|
← Revision 10 as of 2014-02-10 18:28:32 ⇥
Size: 585
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
## page was renamed from city.getCarryingLoad | |
Line 2: | Line 3: |
This function will calculate the quantity of resources a specified troopBean object can carry 0 miles based upon current logistics tech. Usage:{{{ |
This function will calculate the quantity of resources a specified troopBean object can carry 0 miles based upon current logistics tech. Usage: {{{ |
Line 6: | Line 8: |
Line 15: | Line 15: |
Line 17: | Line 16: |
== Related Functions: == GetTroops() |
|
Line 18: | Line 19: |
Related Functions: GetTroops() |
This function will calculate the quantity of resources a specified troopBean object can carry 0 miles based upon current logistics tech. Usage:
city.getCarryingLoad(troopBean)
Example:
troopBean = GetTroops("t:100k") // converts troop string into troopBean object echo city.getCarryingLoad(troopBean) // outputs the quantity of res your specified troopBean object can carry 0 miles based on logistics tech