• 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 "incomingResources"
    Differences between revisions 2 and 3
    Revision 2 as of 2013-08-17 01:38:44
    Size: 536
    Editor: tech
    Comment:
    Revision 3 as of 2013-08-17 01:56:54
    Size: 1098
    Editor: tech
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 25: Line 25:
    will output the current amount of food incoming to the city (not including the food currently in the city) {{http://img197.imageshack.us/img197/1314/xvel.png||font-size="14px",border-top-left-radius="4px",vertical-align="middle",color="rgb(96, 96, 96)",-webkit-box-shadow="rgba(0, 0, 0, 0.2) 0px 5px 10px",box-sizing="border-box",border-bottom-left-radius="4px",-webkit-transition="opacity 0.3s",border-top-right-radius="4px",box-shadow="rgba(0, 0, 0, 0.2) 0px 5px 10px",padding="8px",max-width="100%",font-family="Arial, sans-serif",class="image__pic js-image-pic",text-align="center",margin="32px 0px 15px",transition="opacity 0.3s",zoom="1",display="inline-block",cursor="-webkit-zoom-in",border-bottom-right-radius="4px",line-height="20px"}}

    would output 240,000,000

    function

    http://guide.neatportal.com/moin_static/applets/FCKeditor/editor/images/spacer.gif city.incomingResources()

    usage:

    city.incomingResources().property

    properties:

    total
    
    gold
    
    iron
    
    stone
    
    food
    
    wood

    example:

    echo city.incomingResources().food

    http://img197.imageshack.us/img197/1314/xvel.png

    would output 240,000,000

    incomingResources (last edited 2014-02-10 18:29:20 by Inanna)