Recruiting MAI test scenario: add Rush Recruitment MAI for Side 2

This commit is contained in:
mattsc 2013-10-30 09:47:41 -07:00
parent b826e5ead5
commit 4e68b4eaa2

View file

@ -67,6 +67,11 @@
skip_low_gold_recruiting=yes
[/micro_ai]
[micro_ai]
side=2
ai_type=recruit_rushers
action=add
[/micro_ai]
[/event]
[event]
@ -78,11 +83,11 @@
{MESSAGE Langzhar "" "" _"Just watch the recruiting of both sides and see if it is what you would expect. The recruitment lists cover level 0 to level 2 units, in order to make differences more obvious."}
# wmllint: unbalanced-on
{MESSAGE narrator "wesnoth-icon.png" "Notes" _"If you have not changed anything, Side 1 uses the Random Recruiting AI, with swordsmen and peasants having been given higher probability than the other units. This is not meant as a good recruitment pattern, it simply serves as a demonstration how to use the AI.
{MESSAGE narrator "wesnoth-icon.png" "Notes" _"If you have not changed anything in the scenario code, Side 1 uses the Random Recruitment Micro AI, with swordsmen and peasants having been given higher probability than the other units. This is not meant as a good recruitment pattern, it simply serves as a demonstration how to use the AI.
Side 2 uses Wesnoth' default recruiting.
Side 2 uses the Rush Recruitment Micro AI (which is also used in the Experimental AI).
Also note that several Recruiting AIs are available as Micro AIs. A Micro AI can be added and adapted to the need of a scenario easily using only WML and the [micro_ai] tag. Check out the <span color='#00A000'>Micro AI wiki page</span> at http://wiki.wesnoth.org/Micro_AIs for more information."}
A Micro AI can be added and adapted to the need of a scenario easily using only WML and the [micro_ai] tag. Check out the <span color='#00A000'>Micro AI wiki page</span> at http://wiki.wesnoth.org/Micro_AIs for more information."}
# wmllint: unbalanced-off
[/event]