From NEAT Portal Wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
==CheckResearch==
 
==CheckResearch==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| checkresearch  
 
| checkresearch  
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| checkresearch  
 
| checkresearch  
 
|}
 
|}
Line 14: Line 14:
  
  
==Research==
+
==StartResearch==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
| research techname or research speed/cost
+
| startresearch techname or research speed/cost
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
| research compass<br>
+
|  
research quickest<br>
+
startresearch compass<br>
research construction<br>
+
startresearch quickest<br>
research dearest
+
startresearch construction<br>
 +
startresearch dearest
 
|}
 
|}
  
Line 32: Line 33:
 
==Research Arguments==
 
==Research Arguments==
  
{| style="width: 35%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Shortand || Longhand || Description
+
! style="text-align:left;" | Shortand || Longhand || Description
 
|-
 
|-
 
| ||quickest ||Selects the tech with the shortest research time.
 
| ||quickest ||Selects the tech with the shortest research time.

Latest revision as of 23:13, 9 May 2012


CheckResearch

Usage: checkresearch
Example: checkresearch

Prints out a list of research techs that can be researched in the city. This list is relative to the city where the command is run, meaning CheckResearch will validate all of the tech and their requirements then make sure that the city meets those requirements. Only the techs that have all of their requirements met will be listed.


StartResearch

Usage: startresearch techname or research speed/cost
Example:

startresearch compass
startresearch quickest
startresearch construction
startresearch dearest

This command will perform a research of the valid tech argument in the city that it is run from. As an option, you can run a checkresearch command to see what is available to you, this will allow you to tailor the script to something that you are currently not researching, but this command is just a visual for the end user, as the research command itself invisibly performs this check automatically.


Research Arguments

Shortand Longhand Description
quickest Selects the tech with the shortest research time.
cheapest Selects the tech with the lowest gold cost.
dearest Selects the tech with the highest gold cost.
ag agriculture Research Agriculture
lu lumbering Research Lumbering
mas masonry Research Masonry
mi mining Research Mining
met metal Research Metal Casting
in info Research Informatics
ms militaryscience Research Military Science
mt militarytradition Research Military Tradition
ir ironwork Research Iron Working
lo logistics Research Logistics
com compass Research Compass
ho horseback Research Horseback Riding
ar archery Research Archery
st stockpile Research Stockpile
med medicine Research Medicine
con construct Research
en engineer Research Engineering
mac machinery Research Machinery
pr privateer Research Privateering