• 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

    Upload page content

    You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

    File to load page content from
    Page name
    Comment

    function

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

    function that returns the amount of resources incoming to a city based on the incoming resources in an object form. (food,wood,stone,iron,gold,total)

    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


    CategoryFunctions