From c4a34ebe2c787f33de2611ef7d2aece5bdbda6a6 Mon Sep 17 00:00:00 2001 From: mattsc Date: Sat, 19 Mar 2016 13:24:54 -0700 Subject: [PATCH] Micro AIs: update syntax of [message][option] usages --- data/ai/micro_ais/scenarios/animals.cfg | 4 ++-- data/ai/micro_ais/scenarios/bottleneck_defense.cfg | 4 ++-- data/ai/micro_ais/scenarios/protect_unit.cfg | 6 +++--- data/ai/micro_ais/scenarios/wolves.cfg | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/data/ai/micro_ais/scenarios/animals.cfg b/data/ai/micro_ais/scenarios/animals.cfg index b84c13945ee..24a9b47496f 100644 --- a/data/ai/micro_ais/scenarios/animals.cfg +++ b/data/ai/micro_ais/scenarios/animals.cfg @@ -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= _ "I'll just watch the animals." + label= _ "I'll just watch the animals." [command] [modify_side] side=1 @@ -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= _ "I want to have control of Side 1." + label= _ "I want to have control of Side 1." [/option] [/message] diff --git a/data/ai/micro_ais/scenarios/bottleneck_defense.cfg b/data/ai/micro_ais/scenarios/bottleneck_defense.cfg index 50b83d4922b..65d45c31b8d 100644 --- a/data/ai/micro_ais/scenarios/bottleneck_defense.cfg +++ b/data/ai/micro_ais/scenarios/bottleneck_defense.cfg @@ -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= _ "I'll watch the two AIs fight it out." + label= _ "I'll watch the two AIs fight it out." [/option] [option] - message= _ "I'll play the orcs." + label= _ "I'll play the orcs." [command] [modify_side] side=2 diff --git a/data/ai/micro_ais/scenarios/protect_unit.cfg b/data/ai/micro_ais/scenarios/protect_unit.cfg index 3b3c33b578d..1b809548119 100644 --- a/data/ai/micro_ais/scenarios/protect_unit.cfg +++ b/data/ai/micro_ais/scenarios/protect_unit.cfg @@ -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 Micro AI wiki page at http://wiki.wesnoth.org/Micro_AIs for more information." # wmllint: no spellcheck # wmllint: unbalanced-off [option] - message= _ "I'll watch the two AIs fight it out" # wmllint: no spellcheck + label= _ "I'll watch the two AIs fight it out" # wmllint: no spellcheck [/option] [option] - message= _ "I'll play Langzhar's side (to see how Koorzhar's units target Rossauba)" + label= _ "I'll play Langzhar's side (to see how Koorzhar's units target Rossauba)" [command] [modify_side] side=1 @@ -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= _ "I'll play Koorzhar's side (to see how Langzhar's units protect Rossauba)" + label= _ "I'll play Koorzhar's side (to see how Langzhar's units protect Rossauba)" [command] [modify_side] side=2 diff --git a/data/ai/micro_ais/scenarios/wolves.cfg b/data/ai/micro_ais/scenarios/wolves.cfg index 7c2f9aa1a09..088ca9a62fb 100644 --- a/data/ai/micro_ais/scenarios/wolves.cfg +++ b/data/ai/micro_ais/scenarios/wolves.cfg @@ -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 Micro AI wiki page at http://wiki.wesnoth.org/Micro_AIs for more information." # wmllint: no spellcheck # wmllint: unbalanced-off [option] - message= _ "I'll just watch the two wolf sides." + label= _ "I'll just watch the two wolf sides." [command] [modify_side] side=1 @@ -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= _ "I want to have control of Side 1." + label= _ "I want to have control of Side 1." [/option] [/message]