<?xml version="1.0" encoding="utf-8"?>
<s1 title="Researches"><p>﻿<p>Contents</p>
<ol><li>
<link anchor="r">researches[x].endTime</link></li>
<li>
<link anchor="r-1">researches[x].upgradeing</link></li>
<li>
<link anchor="r-2">researches[x].level</link></li>
<li>
<link anchor="r-3">researches[x].startTime</link></li>
<li>
<link anchor="r-4">researches[x].castleId</link></li>
<li>
<link anchor="r-5">researches[x].typeId</link></li>
<li>
<link anchor="r-6">researches[x].permition</link></li>
</ol>
</li>
</ol>
<p> </p>
<p>x can be any valid <jump href="/wiki/ResearchTypes">ResearchTypes</jump>. </p>
<p></p>
<s2 id="researches[x].endTime" title="researches[x].endTime">
<table><strong class="highlight"><![CDATA[]]></strong><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Usage: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>city.researches[x].endTime </p>
</td></tr><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Example: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>echo city.researches[1].endTime </p>
</td></tr></table><p>Output the ending time of x&apos;s upgrade. </p>
<p></p>
</s2>
<s2 id="researches[x].upgradeing" title="researches[x].upgradeing">
<table><strong class="highlight"><![CDATA[]]></strong><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Usage: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>city.researches[x].upgradeing </p>
</td></tr><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Example: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>city.researches[1].upgradeing </p>
</td></tr></table><p>Outputs true or false depending on if x is upgrading or not. </p>
<p></p>
</s2>
<s2 id="researches[x].level" title="researches[x].level">
<table><strong class="highlight"><![CDATA[]]></strong><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Usage: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>city.researches[x].level </p>
</td></tr><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Example: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>city.researches[1].level </p>
</td></tr></table><p>Outputs the current level of research x. </p>
<p></p>
</s2>
<s2 id="researches[x].startTime" title="researches[x].startTime">
<table><strong class="highlight"><![CDATA[]]></strong><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Usage: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>city.researches[x].startTime </p>
</td></tr><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Example: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>city.researches[1].startTime </p>
</td></tr></table><p>Output the starting time of x&apos;s upgrade. </p>
<p></p>
</s2>
<s2 id="researches[x].castleId" title="researches[x].castleId">
<table><strong class="highlight"><![CDATA[]]></strong><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Usage: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>city.researches[0].castleId </p>
</td></tr><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Example: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>city.researches[0].castleId </p>
</td></tr></table><p>Outputs the castle ID of the castle in which the research is taking place. </p>
<p></p>
</s2>
<s2 id="researches[x].typeId" title="researches[x].typeId">
<table><strong class="highlight"><![CDATA[]]></strong><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Usage: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>city.researches[x].typeId </p>
</td></tr><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Example: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>city.researches[1].typeId </p>
</td></tr></table><p>Outputs the research type ID. </p>
<p></p>
</s2>
<s2 id="researches[x].permition" title="researches[x].permition">
<table><strong class="highlight"><![CDATA[]]></strong><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Usage: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>city.researches[x].permition </p>
</td></tr><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Example: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>city.researches[1].permition </p>
</td></tr></table><p>... </p>
<p></p>

<br/>------------------------------------------------------------------------------<br/>
<p> <jump href="/wiki/ScriptObjects">ScriptObjects</jump> </p>
</s2></s1>