Wired the AI controller in to all appropriate SotBE scenarios.
This commit is contained in:
parent
68824168ac
commit
55c035027a
9 changed files with 41 additions and 21 deletions
|
@ -79,6 +79,8 @@
|
|||
|
||||
{STARTING_VILLAGES 1 6}
|
||||
|
||||
{AI_CONTROLLER () 1 3 ()}
|
||||
|
||||
[side]
|
||||
type=Dwarvish Lord
|
||||
id=Kwili
|
||||
|
@ -290,7 +292,7 @@ Defeat the enemy leader
|
|||
description=_ "Turns run out"
|
||||
[/objective]
|
||||
|
||||
note={NEW_GOLD_CARRYOVER_NOTE_40}
|
||||
note={NEW_GOLD_CARRYOVER_NOTE_40}+{AI_CONTROLLER_NOTE}
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
description=_ "Turns run out"
|
||||
[/objective]
|
||||
|
||||
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
|
||||
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}+{AI_CONTROLLER_NOTE}
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
|
@ -57,6 +57,8 @@
|
|||
{BLACK_FLAG}
|
||||
[/side]
|
||||
|
||||
{AI_CONTROLLER () 1 3 ()}
|
||||
|
||||
[side]
|
||||
type=Elvish Marshal
|
||||
id=Etheliel
|
||||
|
@ -548,7 +550,7 @@
|
|||
description=_ "Turns run out"
|
||||
[/objective]
|
||||
|
||||
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
|
||||
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}+{AI_CONTROLLER_NOTE}
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
|
|
|
@ -49,6 +49,8 @@
|
|||
{BLACK_FLAG}
|
||||
[/side]
|
||||
|
||||
{AI_CONTROLLER () 1 5 ()}
|
||||
|
||||
[side]
|
||||
type=General
|
||||
id=Slowhand
|
||||
|
@ -164,7 +166,7 @@
|
|||
condition=lose
|
||||
[/objective]
|
||||
|
||||
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
|
||||
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}+{AI_CONTROLLER_NOTE}
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
[/objective]
|
||||
|
||||
note= _ "The Great Horde: upkeep cost of every unit decreased by one." + "
|
||||
"+{EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
|
||||
"+{EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}+{AI_CONTROLLER_NOTE}
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
|
@ -61,6 +61,8 @@
|
|||
{BLACK_FLAG}
|
||||
[/side]
|
||||
|
||||
{AI_CONTROLLER () 1 2,3 ()}
|
||||
|
||||
[side]
|
||||
{ALBROCK_SIDE}
|
||||
{GOLD 300 250 200}
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
[/objective]
|
||||
|
||||
note= _ "The Great Horde: upkeep cost of every unit decreased by one." + "
|
||||
"+{EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
|
||||
"+{EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}+{AI_CONTROLLER_NOTE}
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
|
@ -59,6 +59,8 @@
|
|||
{BLACK_FLAG}
|
||||
[/side]
|
||||
|
||||
{AI_CONTROLLER () 1 2,3 ()}
|
||||
|
||||
[side]
|
||||
{ALBROCK_SIDE}
|
||||
{GOLD 200 150 100}
|
||||
|
@ -151,7 +153,7 @@
|
|||
kill=yes
|
||||
[/store_unit]
|
||||
|
||||
# wmllint: recognize Al'Brock
|
||||
# wmllint: recognize Al'Brock
|
||||
[store_unit]
|
||||
[filter]
|
||||
id="Al'Brock"
|
||||
|
@ -160,7 +162,7 @@
|
|||
kill=yes
|
||||
[/store_unit]
|
||||
|
||||
# wmllint: recognize Flar'Tar
|
||||
# wmllint: recognize Flar'Tar
|
||||
[store_unit]
|
||||
[filter]
|
||||
id="Flar'Tar"
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
[/objective]
|
||||
|
||||
note= _ "The Great Horde: upkeep cost of every unit decreased by one." + "
|
||||
"+{EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
|
||||
"+{EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}+{AI_CONTROLLER_NOTE}
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
|
@ -63,6 +63,8 @@
|
|||
|
||||
{STARTING_VILLAGES 1 2}
|
||||
|
||||
{AI_CONTROLLER () 1 2,3 ()}
|
||||
|
||||
[side]
|
||||
{ALBROCK_SIDE}
|
||||
[/side]
|
||||
|
@ -279,7 +281,7 @@
|
|||
message= _ "Whatever."
|
||||
[/message]
|
||||
|
||||
# wmllint: recognize Al'Brock
|
||||
# wmllint: recognize Al'Brock
|
||||
[store_unit]
|
||||
[filter]
|
||||
id="Al'Brock"
|
||||
|
@ -564,7 +566,7 @@
|
|||
[/objective]
|
||||
|
||||
note= _ "The Great Horde: upkeep cost of every unit decreased by one." + "
|
||||
"+{EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
|
||||
"+{EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}+{AI_CONTROLLER_NOTE}
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
[/objective]
|
||||
|
||||
note= _ "The Great Horde: upkeep cost of every unit decreased by one." + "
|
||||
"+{NO_EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
|
||||
"+{NO_EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}+{AI_CONTROLLER_NOTE}
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
|
@ -62,6 +62,8 @@
|
|||
|
||||
{STARTING_VILLAGES 1 10}
|
||||
|
||||
{AI_CONTROLLER () 1 2,3 ()}
|
||||
|
||||
[side]
|
||||
{ALBROCK_SIDE}
|
||||
{GOLD 300 250 200}
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
condition=lose
|
||||
[/objective]
|
||||
|
||||
note= _ "The Great Horde: upkeep cost of every unit decreased by one."
|
||||
note= _ "The Great Horde: upkeep cost of every unit decreased by one."+{AI_CONTROLLER_NOTE}
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
|
@ -58,6 +58,8 @@
|
|||
|
||||
{STARTING_VILLAGES_AREA 1 22 5 10}
|
||||
|
||||
{AI_CONTROLLER () 1 2,3,6 ()}
|
||||
|
||||
[side]
|
||||
{ALBROCK_SIDE}
|
||||
{GOLD 300 250 200}
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
#textdomain wesnoth
|
||||
|
||||
#define AI_CONTROLLER_NOTE
|
||||
_"
|
||||
In this scenario, you may issue instructions to an allied side by right-clicking on them."#enddef
|
||||
|
||||
#define AI_CONTROLLER AFFIX PLAYER_SIDES ALLY_SIDES VARIABLES_WML
|
||||
# expects $order_type to be set
|
||||
[event]
|
||||
|
@ -575,7 +579,7 @@
|
|||
)}
|
||||
|
||||
[print]
|
||||
text=" " # wmllint: ignore
|
||||
text=" " # wmllint: ignore
|
||||
duration=1
|
||||
[/print]
|
||||
|
||||
|
@ -1058,11 +1062,11 @@ Behavior: $ai_controller.side_$ally_side|_current_settings.currently_doing_behav
|
|||
#define AI_CONTROLLER_FUTURE_STRINGS
|
||||
# These will be used for the special orders menu and the order for telling
|
||||
# the ally leader to move someplace
|
||||
future_string_1= _ "Set special orders..." #wmllint: ignore
|
||||
future_string_2= _ "Move leader to..." #wmllint: ignore
|
||||
future_string_3= _ "Right-click to select a location to move leader to" #wmllint: ignore
|
||||
future_string_4= _ "Move leader here" #wmllint: ignore
|
||||
future_string_5= _ "moving leader to $x1|,$y1|." #wmllint: ignore
|
||||
future_string_6= _ "Clear special orders" #wmllint: ignore
|
||||
future_string_7= _ "Special: $ai_controller.side_$ally_side|_current_settings.currently_doing_special_description" #wmllint: ignore
|
||||
future_string_1= _ "Set special orders..." #wmllint: ignore
|
||||
future_string_2= _ "Move leader to..." #wmllint: ignore
|
||||
future_string_3= _ "Right-click to select a location to move leader to" #wmllint: ignore
|
||||
future_string_4= _ "Move leader here" #wmllint: ignore
|
||||
future_string_5= _ "moving leader to $x1|,$y1|." #wmllint: ignore
|
||||
future_string_6= _ "Clear special orders" #wmllint: ignore
|
||||
future_string_7= _ "Special: $ai_controller.side_$ally_side|_current_settings.currently_doing_special_description" #wmllint: ignore
|
||||
#enddef
|
||||
|
|
Loading…
Add table
Reference in a new issue