• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (GUI)
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages
    • Diff for "getCarryingLoad"
    Differences between revisions 6 and 7
    Revision 6 as of 2013-08-04 21:43:49
    Size: 541
    Editor: tech
    Comment:
    Revision 7 as of 2013-08-04 21:45:32
    Size: 542
    Editor: tech
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 2: Line 2:
    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 7:

    Line 17: Line 16:
    ----

    Related Functions:
    == Related Functions: ==
    Line 23: Line 19:
    ----

    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

    GetTroops()


    CategoryFunctions

    getCarryingLoad (last edited 2014-02-10 18:28:32 by Inanna)