From NEAT Portal Wiki
Jump to: navigation, search
m (Protected "Research Scripts" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
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 16: Line 16:
 
==Research==
 
==Research==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| research techname or research speed/cost
 
| research techname or research speed/cost
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
| research compass<br>
+
|  
 +
research compass<br>
 
research quickest<br>
 
research quickest<br>
 
research construction<br>
 
research construction<br>
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.

Revision as of 11:15, 1 June 2011


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.


Research

Usage: research techname or research speed/cost
Example:

research compass
research quickest
research construction
research 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