• 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

    

    x can be any valid ResearchTypes.

    researches[x].endTime

    Usage:

    city.researches[x].endTime

    Example:

    echo city.researches[1].endTime

    Output the ending time of x's upgrade.

    researches[x].upgradeing

    Usage:

    city.researches[x].upgradeing

    Example:

    city.researches[1].upgradeing

    Outputs true or false depending on if x is upgrading or not.

    researches[x].level

    Usage:

    city.researches[x].level

    Example:

    city.researches[1].level

    Outputs the current level of research x.

    researches[x].startTime

    Usage:

    city.researches[x].startTime

    Example:

    city.researches[1].startTime

    Output the starting time of x's upgrade.

    researches[x].castleId

    Usage:

    city.researches[0].castleId

    Example:

    city.researches[0].castleId

    Outputs the castle ID of the castle in which the research is taking place.

    researches[x].typeId

    Usage:

    city.researches[x].typeId

    Example:

    city.researches[1].typeId

    Outputs the research type ID.

    researches[x].permition

    Usage:

    city.researches[x].permition

    Example:

    city.researches[1].permition

    ...


    ScriptObjects