m (Protected "Research Scripts" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
|||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
==CheckResearch== | ==CheckResearch== | ||
− | {| style=" | + | {| class="wikitable" |
− | + | ! style="text-align:left;" | Usage: | |
| checkresearch | | checkresearch | ||
|- | |- | ||
− | ! | + | ! style="text-align:left;" | Example: |
| checkresearch | | checkresearch | ||
|} | |} | ||
Line 14: | Line 14: | ||
− | == | + | ==StartResearch== |
− | {| style=" | + | {| class="wikitable" |
− | + | ! style="text-align:left;" | Usage: | |
− | | | + | | startresearch techname or research speed/cost |
|- | |- | ||
− | ! | + | ! style="text-align:left;" | Example: |
− | | | + | | |
− | + | startresearch compass<br> | |
− | + | startresearch quickest<br> | |
− | + | startresearch construction<br> | |
+ | startresearch dearest | ||
|} | |} | ||
Line 32: | Line 33: | ||
==Research Arguments== | ==Research Arguments== | ||
− | {| style=" | + | {| class="wikitable" |
− | + | ! 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 22: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 |
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 |