mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-29 19:38:19 +00:00
Wired the AI controller in to all appropriate SotBE scenarios.
This commit is contained in:
parent
68824168ac
commit
55c035027a
@ -79,6 +79,8 @@
|
|||||||
|
|
||||||
{STARTING_VILLAGES 1 6}
|
{STARTING_VILLAGES 1 6}
|
||||||
|
|
||||||
|
{AI_CONTROLLER () 1 3 ()}
|
||||||
|
|
||||||
[side]
|
[side]
|
||||||
type=Dwarvish Lord
|
type=Dwarvish Lord
|
||||||
id=Kwili
|
id=Kwili
|
||||||
@ -290,7 +292,7 @@ Defeat the enemy leader
|
|||||||
description=_ "Turns run out"
|
description=_ "Turns run out"
|
||||||
[/objective]
|
[/objective]
|
||||||
|
|
||||||
note={NEW_GOLD_CARRYOVER_NOTE_40}
|
note={NEW_GOLD_CARRYOVER_NOTE_40}+{AI_CONTROLLER_NOTE}
|
||||||
[/objectives]
|
[/objectives]
|
||||||
[/event]
|
[/event]
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
description=_ "Turns run out"
|
description=_ "Turns run out"
|
||||||
[/objective]
|
[/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]
|
[/objectives]
|
||||||
[/event]
|
[/event]
|
||||||
|
|
||||||
@ -57,6 +57,8 @@
|
|||||||
{BLACK_FLAG}
|
{BLACK_FLAG}
|
||||||
[/side]
|
[/side]
|
||||||
|
|
||||||
|
{AI_CONTROLLER () 1 3 ()}
|
||||||
|
|
||||||
[side]
|
[side]
|
||||||
type=Elvish Marshal
|
type=Elvish Marshal
|
||||||
id=Etheliel
|
id=Etheliel
|
||||||
@ -548,7 +550,7 @@
|
|||||||
description=_ "Turns run out"
|
description=_ "Turns run out"
|
||||||
[/objective]
|
[/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]
|
[/objectives]
|
||||||
[/event]
|
[/event]
|
||||||
|
|
||||||
|
@ -49,6 +49,8 @@
|
|||||||
{BLACK_FLAG}
|
{BLACK_FLAG}
|
||||||
[/side]
|
[/side]
|
||||||
|
|
||||||
|
{AI_CONTROLLER () 1 5 ()}
|
||||||
|
|
||||||
[side]
|
[side]
|
||||||
type=General
|
type=General
|
||||||
id=Slowhand
|
id=Slowhand
|
||||||
@ -164,7 +166,7 @@
|
|||||||
condition=lose
|
condition=lose
|
||||||
[/objective]
|
[/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]
|
[/objectives]
|
||||||
[/event]
|
[/event]
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
[/objective]
|
[/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." + "
|
||||||
"+{EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
|
"+{EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}+{AI_CONTROLLER_NOTE}
|
||||||
[/objectives]
|
[/objectives]
|
||||||
[/event]
|
[/event]
|
||||||
|
|
||||||
@ -61,6 +61,8 @@
|
|||||||
{BLACK_FLAG}
|
{BLACK_FLAG}
|
||||||
[/side]
|
[/side]
|
||||||
|
|
||||||
|
{AI_CONTROLLER () 1 2,3 ()}
|
||||||
|
|
||||||
[side]
|
[side]
|
||||||
{ALBROCK_SIDE}
|
{ALBROCK_SIDE}
|
||||||
{GOLD 300 250 200}
|
{GOLD 300 250 200}
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
[/objective]
|
[/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." + "
|
||||||
"+{EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
|
"+{EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}+{AI_CONTROLLER_NOTE}
|
||||||
[/objectives]
|
[/objectives]
|
||||||
[/event]
|
[/event]
|
||||||
|
|
||||||
@ -59,6 +59,8 @@
|
|||||||
{BLACK_FLAG}
|
{BLACK_FLAG}
|
||||||
[/side]
|
[/side]
|
||||||
|
|
||||||
|
{AI_CONTROLLER () 1 2,3 ()}
|
||||||
|
|
||||||
[side]
|
[side]
|
||||||
{ALBROCK_SIDE}
|
{ALBROCK_SIDE}
|
||||||
{GOLD 200 150 100}
|
{GOLD 200 150 100}
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
[/objective]
|
[/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." + "
|
||||||
"+{EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
|
"+{EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}+{AI_CONTROLLER_NOTE}
|
||||||
[/objectives]
|
[/objectives]
|
||||||
[/event]
|
[/event]
|
||||||
|
|
||||||
@ -63,6 +63,8 @@
|
|||||||
|
|
||||||
{STARTING_VILLAGES 1 2}
|
{STARTING_VILLAGES 1 2}
|
||||||
|
|
||||||
|
{AI_CONTROLLER () 1 2,3 ()}
|
||||||
|
|
||||||
[side]
|
[side]
|
||||||
{ALBROCK_SIDE}
|
{ALBROCK_SIDE}
|
||||||
[/side]
|
[/side]
|
||||||
@ -564,7 +566,7 @@
|
|||||||
[/objective]
|
[/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." + "
|
||||||
"+{EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
|
"+{EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}+{AI_CONTROLLER_NOTE}
|
||||||
[/objectives]
|
[/objectives]
|
||||||
[/event]
|
[/event]
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
[/objective]
|
[/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." + "
|
||||||
"+{NO_EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
|
"+{NO_EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}+{AI_CONTROLLER_NOTE}
|
||||||
[/objectives]
|
[/objectives]
|
||||||
[/event]
|
[/event]
|
||||||
|
|
||||||
@ -62,6 +62,8 @@
|
|||||||
|
|
||||||
{STARTING_VILLAGES 1 10}
|
{STARTING_VILLAGES 1 10}
|
||||||
|
|
||||||
|
{AI_CONTROLLER () 1 2,3 ()}
|
||||||
|
|
||||||
[side]
|
[side]
|
||||||
{ALBROCK_SIDE}
|
{ALBROCK_SIDE}
|
||||||
{GOLD 300 250 200}
|
{GOLD 300 250 200}
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
condition=lose
|
condition=lose
|
||||||
[/objective]
|
[/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]
|
[/objectives]
|
||||||
[/event]
|
[/event]
|
||||||
|
|
||||||
@ -58,6 +58,8 @@
|
|||||||
|
|
||||||
{STARTING_VILLAGES_AREA 1 22 5 10}
|
{STARTING_VILLAGES_AREA 1 22 5 10}
|
||||||
|
|
||||||
|
{AI_CONTROLLER () 1 2,3,6 ()}
|
||||||
|
|
||||||
[side]
|
[side]
|
||||||
{ALBROCK_SIDE}
|
{ALBROCK_SIDE}
|
||||||
{GOLD 300 250 200}
|
{GOLD 300 250 200}
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#textdomain wesnoth
|
#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
|
#define AI_CONTROLLER AFFIX PLAYER_SIDES ALLY_SIDES VARIABLES_WML
|
||||||
# expects $order_type to be set
|
# expects $order_type to be set
|
||||||
[event]
|
[event]
|
||||||
@ -575,7 +579,7 @@
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
[print]
|
[print]
|
||||||
text=" " # wmllint: ignore
|
text=" " # wmllint: ignore
|
||||||
duration=1
|
duration=1
|
||||||
[/print]
|
[/print]
|
||||||
|
|
||||||
@ -1058,11 +1062,11 @@ Behavior: $ai_controller.side_$ally_side|_current_settings.currently_doing_behav
|
|||||||
#define AI_CONTROLLER_FUTURE_STRINGS
|
#define AI_CONTROLLER_FUTURE_STRINGS
|
||||||
# These will be used for the special orders menu and the order for telling
|
# These will be used for the special orders menu and the order for telling
|
||||||
# the ally leader to move someplace
|
# the ally leader to move someplace
|
||||||
future_string_1= _ "Set special orders..." #wmllint: ignore
|
future_string_1= _ "Set special orders..." #wmllint: ignore
|
||||||
future_string_2= _ "Move leader to..." #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_3= _ "Right-click to select a location to move leader to" #wmllint: ignore
|
||||||
future_string_4= _ "Move leader here" #wmllint: ignore
|
future_string_4= _ "Move leader here" #wmllint: ignore
|
||||||
future_string_5= _ "moving leader to $x1|,$y1|." #wmllint: ignore
|
future_string_5= _ "moving leader to $x1|,$y1|." #wmllint: ignore
|
||||||
future_string_6= _ "Clear special orders" #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_7= _ "Special: $ai_controller.side_$ally_side|_current_settings.currently_doing_special_description" #wmllint: ignore
|
||||||
#enddef
|
#enddef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user