Size: 5082
Comment:
|
← Revision 12 as of 2015-01-19 19:35:32 ⇥
Size: 5247
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
x can be any valid [[ResearchTypes|ResearchTypes]]. |
|
Line 9: | Line 11: |
x can be any valid [[TechTypes|TechType]]. | Output the ending time of x's upgrade. |
Line 16: | Line 18: |
Description goes here. | Outputs true or false depending on if x is upgrading or not. |
Line 23: | Line 25: |
Description goes here. | Outputs the current level of research x. |
Line 30: | Line 32: |
Description goes here. | Output the starting time of x's upgrade. |
Line 37: | Line 39: |
Description goes here. | Outputs the castle ID of the castle in which the research is taking place. |
Line 44: | Line 46: |
Description goes here. | Outputs the research type ID. |
Line 51: | Line 53: |
Description goes here. | ... |
Contents
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 |
...