(Created page with "==FindHero== {| style="width: 25%; text-align:center" border="1" ! scope="row" | Usage: | findhero stat |- ! scope="row" | Example: | findHero atk<br> findHero pol<br> findHero ...") |
(→UseHeroItem) |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==FindHero== | ==FindHero== | ||
− | {| style=" | + | {| class="wikitable" |
− | + | ! style="text-align:left;" | Usage: | |
| findhero stat | | findhero stat | ||
|- | |- | ||
− | ! | + | ! style="text-align:left;" | Example: |
− | | findHero atk<br> | + | | |
+ | findHero atk<br> | ||
findHero pol<br> | findHero pol<br> | ||
findHero int | findHero int | ||
Line 18: | Line 19: | ||
==SetMayor== | ==SetMayor== | ||
− | {| style=" | + | {| class="wikitable" |
− | + | ! style="text-align:left;" | Usage: | |
| setMayor stat | | setMayor stat | ||
|- | |- | ||
− | ! | + | ! style="text-align:left;" | Example: |
− | | setMayor pol<br> | + | | |
+ | setMayor pol<br> | ||
setMayor atk<br> | setMayor atk<br> | ||
setMayor int<br> | setMayor int<br> | ||
Line 37: | Line 39: | ||
==SetMayorByName== | ==SetMayorByName== | ||
− | {| style=" | + | {| class="wikitable" |
− | + | ! style="text-align:left;" | Usage: | |
| setMayorbyname HeroName | | setMayorbyname HeroName | ||
|- | |- | ||
− | ! | + | ! style="text-align:left;" | Example: |
− | | setMayorbyname ATKATK<br> | + | | |
+ | setMayorbyname ATKATK<br> | ||
setMayorbyname ken<br> | setMayorbyname ken<br> | ||
setMayorbyname henry | setMayorbyname henry | ||
Line 52: | Line 55: | ||
==PersuadeHero== | ==PersuadeHero== | ||
− | {| style=" | + | {| class="wikitable" |
− | + | ! style="text-align:left;" | Usage: | |
| persuadehero hero | | persuadehero hero | ||
|- | |- | ||
− | ! | + | ! style="text-align:left;" | Example: |
| persuadehero ken | | persuadehero ken | ||
|} | |} | ||
Line 65: | Line 68: | ||
==FireHero== | ==FireHero== | ||
− | {| style=" | + | {| class="wikitable" |
− | + | ! style="text-align:left;" | Usage: | |
| firehero hero | | firehero hero | ||
|- | |- | ||
− | ! | + | ! style="text-align:left;" | Example: |
| firehero ken | | firehero ken | ||
|} | |} | ||
Line 80: | Line 83: | ||
==ReleaseHero== | ==ReleaseHero== | ||
− | {| style=" | + | {| class="wikitable" |
− | + | ! style="text-align:left;" | Usage: | |
| releasehero heroName | | releasehero heroName | ||
|- | |- | ||
− | ! | + | ! style="text-align:left;" | Example: |
| releasehero Prisoner | | releasehero Prisoner | ||
|} | |} | ||
Line 90: | Line 93: | ||
Used to dismiss a captive hero from the feasting hall. | Used to dismiss a captive hero from the feasting hall. | ||
+ | ==WaterHero== | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! style="text-align:left;" | Usage: | ||
+ | | waterhero heroName | ||
+ | |- | ||
+ | ! style="text-align:left;" | Example: | ||
+ | | waterhero BigGuy | ||
+ | |} | ||
+ | |||
+ | Used to apply holy water item to a hero in the feasting hall. | ||
==GetSpamHero== | ==GetSpamHero== | ||
− | {| style=" | + | {| class="wikitable" |
− | + | ! style="text-align:left;" | Usage: | |
− | | getspamhero [management | + | | getspamhero [optional management or strategem] |
|- | |- | ||
− | ! | + | ! style="text-align:left;" | Example: |
− | | getspamhero<br> | + | | |
+ | getspamhero<br> | ||
getspamhero management<br> | getspamhero management<br> | ||
getspamhero strategem | getspamhero strategem | ||
Line 106: | Line 121: | ||
Second example used to get the best politics hero currently available in the inn. | Second example used to get the best politics hero currently available in the inn. | ||
Third example used to get the Highest intelligence hero currently available in the inn. | Third example used to get the Highest intelligence hero currently available in the inn. | ||
− | |||
==ChangeHeroName== | ==ChangeHeroName== | ||
− | {| style=" | + | {| class="wikitable" |
− | + | ! style="text-align:left;" | Usage: | |
| changeheroname oldName newName | | changeheroname oldName newName | ||
|- | |- | ||
− | ! | + | ! style="text-align:left;" | Example: |
| changeheroname ken henry | | changeheroname ken henry | ||
|} | |} | ||
Line 123: | Line 137: | ||
==UpLevelHero== | ==UpLevelHero== | ||
− | {| style=" | + | '''Currently not implemented''' |
− | + | ||
− | | | + | ==UpLevelHeroes== |
+ | |||
+ | {| class="wikitable" | ||
+ | ! style="text-align:left;" | Usage: | ||
+ | | uplevelheroes | ||
|- | |- | ||
− | ! | + | ! style="text-align:left;" | Example: |
− | | | + | | uplevelheroes |
|} | |} | ||
− | + | Implemented, but currently does nothing unless city's config hero: is set to non-zero. (This is a bug) | |
− | + | Upgrades all heroes in current city (unless named in the ''NoLevelHeroes'' goal). Each hero is upgraded up only one level and its best attribute increased. | |
==UseHeroItem== | ==UseHeroItem== | ||
− | {| style=" | + | {| class="wikitable" |
− | + | ! style="text-align:left;" | Usage: | |
| useheroitem hero_name item_name | | useheroitem hero_name item_name | ||
|- | |- | ||
− | ! | + | ! style="text-align:left;" | Example: |
− | | useheroitem BigGuy on_war<br> | + | | |
− | useheroitem BigGuy anabasis | + | useheroitem BigGuy on_war<br> |
+ | useheroitem BigGuy anabasis<br> | ||
+ | useheroitem BigGuy nation_medal | ||
|} | |} | ||
Used to apply hero buffing items to the specified hero. | Used to apply hero buffing items to the specified hero. | ||
− | |||
==AwardGold== | ==AwardGold== | ||
− | {| style=" | + | {| class="wikitable" |
− | + | ! style="text-align:left;" | Usage: | |
| awardgold hero | | awardgold hero | ||
|- | |- | ||
− | ! | + | ! style="text-align:left;" | Example: |
| awardgold ken | | awardgold ken | ||
|} | |} | ||
Line 163: | Line 182: | ||
==RewardHeroes== | ==RewardHeroes== | ||
− | {| style=" | + | {| class="wikitable" |
− | + | ! style="text-align:left;" | Usage: | |
− | | | + | | rewardheroes |
|- | |- | ||
− | ! | + | ! style="text-align:left;" | Example: |
− | | | + | | rewardheroes |
|} | |} | ||
Finds and rewards all heroes with loyalty below 100, using gold. | Finds and rewards all heroes with loyalty below 100, using gold. | ||
− | |||
==WaitHero== | ==WaitHero== | ||
− | {| style=" | + | {| class="wikitable" |
− | + | ! style="text-align:left;" | Usage: | |
| waithero hero | | waithero hero | ||
|- | |- | ||
− | ! | + | ! style="text-align:left;" | Example: |
| waithero ken | | waithero ken | ||
|} | |} | ||
Line 189: | Line 207: | ||
==WaitHeroLost== | ==WaitHeroLost== | ||
− | {| style=" | + | {| class="wikitable" |
− | + | ! style="text-align:left;" | Usage: | |
| waitherolost hero1,hero2,... | | waitherolost hero1,hero2,... | ||
|- | |- | ||
− | ! | + | ! style="text-align:left;" | Example: |
| waitherolost ken,henry | | waitherolost ken,henry | ||
|} | |} | ||
Pause script until one of the heroes specified is captured. | Pause script until one of the heroes specified is captured. | ||
+ | |||
+ | |||
+ | ==listallheroes== | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! style="text-align:left;" | Usage: | ||
+ | | listallheroes | ||
+ | |- | ||
+ | ! style="text-align:left;" | Example: | ||
+ | | listallheroes | ||
+ | |} | ||
+ | |||
+ | |||
+ | Will output a list of all your heroes, seperated by city, even if they are not currently in the city. | ||
+ | |||
+ | There is a temporary (I assume) bug that prevents your training hero from being enumerated, but a bug report has been filed.<br> | ||
+ | |||
+ | <br> |
Latest revision as of 10:39, 15 September 2012
Contents
FindHero
Usage: | findhero stat |
---|---|
Example: |
findHero atk |
Valid command line arguments for findhero are pol for politics, atk for attack and int for intelligence.
This command will recruit the best hero of the type specified that is available in the inn at the time.
SetMayor
Usage: | setMayor stat |
---|---|
Example: |
setMayor pol |
Valid arguments for setMayor are pol for politics, atk for attack and int for intelligence.
This command will change your current mayor for one of the specified attribute. It automatically selects the highest level of the attribute that you specify (stat is the label for the attribute argument). This is very useful when creating, upgrading and demolishing buildings, as you can specify the highest level politic hero you have to go into office. Capturing a level ten and only have a level 9 Feasting hall in one city? You can remove the mayor with this command to make sure he marches with the rest of the troops.
SetMayorByName
Usage: | setMayorbyname HeroName |
---|---|
Example: |
setMayorbyname ATKATK |
This command will allow you to specify the Mayor you wish to assign by hero name.
PersuadeHero
Usage: | persuadehero hero |
---|---|
Example: | persuadehero ken |
Persuade a captured hero ken, the medals required for the persuasion if any are shown in hero tab.
FireHero
Usage: | firehero hero |
---|---|
Example: | firehero ken |
Used to fire a hero from the feasting hall.
The Hero status must be either idle, mayor, or captured, i.e. is not on a mission away from town.
ReleaseHero
Usage: | releasehero heroName |
---|---|
Example: | releasehero Prisoner |
Used to dismiss a captive hero from the feasting hall.
WaterHero
Usage: | waterhero heroName |
---|---|
Example: | waterhero BigGuy |
Used to apply holy water item to a hero in the feasting hall.
GetSpamHero
Usage: | getspamhero [optional management or strategem] |
---|---|
Example: |
getspamhero |
First example used to get the best attack hero currently available in the inn. Second example used to get the best politics hero currently available in the inn. Third example used to get the Highest intelligence hero currently available in the inn.
ChangeHeroName
Usage: | changeheroname oldName newName |
---|---|
Example: | changeheroname ken henry |
Used to rename a hero.
UpLevelHero
Currently not implemented
UpLevelHeroes
Usage: | uplevelheroes |
---|---|
Example: | uplevelheroes |
Implemented, but currently does nothing unless city's config hero: is set to non-zero. (This is a bug) Upgrades all heroes in current city (unless named in the NoLevelHeroes goal). Each hero is upgraded up only one level and its best attribute increased.
UseHeroItem
Usage: | useheroitem hero_name item_name |
---|---|
Example: |
useheroitem BigGuy on_war |
Used to apply hero buffing items to the specified hero.
AwardGold
Usage: | awardgold hero |
---|---|
Example: | awardgold ken |
Used to increase hero loyalty by 5 using a gold reward.
RewardHeroes
Usage: | rewardheroes |
---|---|
Example: | rewardheroes |
Finds and rewards all heroes with loyalty below 100, using gold.
WaitHero
Usage: | waithero hero |
---|---|
Example: | waithero ken |
Pause script until hero ken is available.
WaitHeroLost
Usage: | waitherolost hero1,hero2,... |
---|---|
Example: | waitherolost ken,henry |
Pause script until one of the heroes specified is captured.
listallheroes
Usage: | listallheroes |
---|---|
Example: | listallheroes |
Will output a list of all your heroes, seperated by city, even if they are not currently in the city.
There is a temporary (I assume) bug that prevents your training hero from being enumerated, but a bug report has been filed.