• 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 "troop"
    Differences between revisions 6 and 7
    Revision 6 as of 2015-03-22 05:16:14
    Size: 940
    Editor: tech
    Comment:
    Revision 7 as of 2015-03-22 05:32:55
    Size: 976
    Editor: tech
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 1: Line 1:
    ## page was renamed from TroopBean

    Troop beans are objects which contain information about troops.

    properties of troop beans:

    property

    type

    description

    archer

    int

    number of archers

    ballista

    int

    number of balls

    batteringRam

    int

    number of rams

    carriage

    int

    number of transports

    catapult

    int

    number of catapults

    heavyCavalry

    int

    number of cataphracts

    lightCavalry

    int

    number of cav

    militia

    int

    number of warriors

    peasants

    int

    number of workers

    pikemen

    int

    number of pikemen

    scouter

    int

    number of scouts

    swordsmen

    int

    number of swordsmen

    foodConsumeRate

    int

    hourly food consumption of this troop bean

    typOrder

    ?

    ???

    example:

    echo "the troops currently in the city are eating {city.troop.foodConsumeRate} food per hour."

    see also GetTroops getAvailableTroop


    ScriptObjects

    troop (last edited 2015-03-22 05:32:55 by tech)