Skip to content

Commit

Permalink
Micro AIs: update syntax of [message][option] usages
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsc authored and mattsc committed Mar 19, 2016
1 parent c1d11cb commit c4a34eb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions data/ai/micro_ais/scenarios/animals.cfg
Expand Up @@ -357,7 +357,7 @@ Also note: The Animal AIs are coded as Micro AIs. A Micro AI can be added and ad
# wmlindent: stop ignoring
# wmllint: unbalanced-off
[option]
message= _ "<span font='16'>I'll just watch the animals.</span>"
label= _ "<span font='16'>I'll just watch the animals.</span>"
[command]
[modify_side]
side=1
Expand All @@ -370,7 +370,7 @@ Also note: The Animal AIs are coded as Micro AIs. A Micro AI can be added and ad
[/command]
[/option]
[option]
message= _ "<span font='16'>I want to have control of Side 1.</span>"
label= _ "<span font='16'>I want to have control of Side 1.</span>"
[/option]
[/message]

Expand Down
4 changes: 2 additions & 2 deletions data/ai/micro_ais/scenarios/bottleneck_defense.cfg
Expand Up @@ -98,10 +98,10 @@ Note: The Bottleneck Defense AI is coded as a Micro AI. A Micro AI can be added
image=wesnoth-icon.png
message= _ "In this scenario, the AI playing the humans in the east is instructed to form a defensive line at the pass and hold off the orcs for as long as possible. Do you want to play the orc side or let the default (RCA) AI do that?"
[option]
message= _ "<span font='16'>I'll watch the two AIs fight it out.</span>"
label= _ "<span font='16'>I'll watch the two AIs fight it out.</span>"
[/option]
[option]
message= _ "<span font='16'>I'll play the orcs.</span>"
label= _ "<span font='16'>I'll play the orcs.</span>"
[command]
[modify_side]
side=2
Expand Down
6 changes: 3 additions & 3 deletions data/ai/micro_ais/scenarios/protect_unit.cfg
Expand Up @@ -140,10 +140,10 @@
Note: The Protect Unit AI is coded as a Micro AI. 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: no spellcheck
# wmllint: unbalanced-off
[option]
message= _ "<span font='16'>I'll watch the two AIs fight it out</span>" # wmllint: no spellcheck
label= _ "<span font='16'>I'll watch the two AIs fight it out</span>" # wmllint: no spellcheck
[/option]
[option]
message= _ "<span font='16'>I'll play Langzhar's side (to see how Koorzhar's units target Rossauba)</span>"
label= _ "<span font='16'>I'll play Langzhar's side (to see how Koorzhar's units target Rossauba)</span>"
[command]
[modify_side]
side=1
Expand All @@ -152,7 +152,7 @@ Note: The Protect Unit AI is coded as a Micro AI. A Micro AI can be added and ad
[/command]
[/option]
[option]
message= _ "<span font='16'>I'll play Koorzhar's side (to see how Langzhar's units protect Rossauba)</span>"
label= _ "<span font='16'>I'll play Koorzhar's side (to see how Langzhar's units protect Rossauba)</span>"
[command]
[modify_side]
side=2
Expand Down
4 changes: 2 additions & 2 deletions data/ai/micro_ais/scenarios/wolves.cfg
Expand Up @@ -202,7 +202,7 @@ Note that the leader of the human-controlled side, Rutburt, can move 99 hexes pe
Also note that the wolves AI is coded as a Micro AI. 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: no spellcheck
# wmllint: unbalanced-off
[option]
message= _ "<span font='16'>I'll just watch the two wolf sides.</span>"
label= _ "<span font='16'>I'll just watch the two wolf sides.</span>"
[command]
[modify_side]
side=1
Expand All @@ -215,7 +215,7 @@ Also note that the wolves AI is coded as a Micro AI. A Micro AI can be added and
[/command]
[/option]
[option]
message= _ "<span font='16'>I want to have control of Side 1.</span>"
label= _ "<span font='16'>I want to have control of Side 1.</span>"
[/option]
[/message]

Expand Down

0 comments on commit c4a34eb

Please sign in to comment.