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

Researches (last edited 2015-01-19 19:35:32 by LKD70)