Remove Formula AI lurkers from Lurkers test scenario

This is part of removing Formula AI uses from mainline.
This commit is contained in:
mattsc 2021-03-21 17:15:43 -07:00
parent 92d22f18e6
commit 4086758214

View file

@ -271,49 +271,13 @@
income=-2
[/side]
# Formula AI Lurkers
[side]
side=6
controller=ai
type=Saurian Oracle
x,y=12,17
max_moves,max_attacks=0,0
persistent=no
team_name=lurkers_fai
user_team_name= _ "Formula AI Lurkers (saurians)"
gold=0
income=-2
[ai]
[stage]
id=main_loop
name=ai_default_rca::candidate_action_evaluation_loop
[candidate_action]
engine=fai
name=lurker_moves_fai
id=lurker_moves_fai
max_score=300000
type=movement
[filter]
me="filter(input, (self.type = 'Saurian Skirmisher'))"
[/filter]
evaluation=300000
action="{ai/micro_ais/engines/lurker_moves.fai}"
[/candidate_action]
[/stage]
[/ai]
[/side]
[event]
name=preload
first_time_only=no
# Hide the other sides' leaders; they are only there so that side color shows up in Status menu
[hide_unit]
side=2,3,4,5,6
side=2,3,4,5
canrecruit=yes
[/hide_unit]
[/event]
@ -329,7 +293,6 @@
{SCATTER_UNITS 3 "Saurian Skirmisher" 1 (x,terrain=12-19,S*) (side=3)}
{SCATTER_UNITS 3 "Naga Fighter" 1 (y,terrain=18,W*) (side=4)}
{SCATTER_UNITS 3 "Saurian Skirmisher" 1 (x,terrain=21-29,S*) (side=5)}
{SCATTER_UNITS 3 "Saurian Skirmisher" 1 (x,terrain=32-99,S*) (side=6)}
# The Micro AI lurkers
[micro_ai]
@ -376,7 +339,7 @@
[/micro_ai]
# The WML lurkers
{LURKER_MOVES 5 (1,2,3,4,6)}
{LURKER_MOVES 5 (1,2,3,4)}
{PLACE_IMAGE "scenery/signpost.png" 27 3}
{SET_LABEL 27 3 _"End Scenario"}
@ -429,18 +392,6 @@
{UNIT 5 (Saurian Skirmisher) $x1 $y1 ()}
[/command]
[/set_menu_item]
[set_menu_item]
id=m01_menu_lurker6
description= _ "Place a Side 6 lurker"
image=units/saurians/skirmisher/skirmisher.png~CROP(28,25,24,24)
[show_if]
{VARIABLE_CONDITIONAL scenario_name equals lurkers}
[/show_if]
[command]
{UNIT 6 (Saurian Skirmisher) $x1 $y1 ()}
[/command]
[/set_menu_item]
[/event]
# Start
@ -465,7 +416,7 @@ Side 3 (green): saurians attacking only from swamp. If no enemy is in range, the
Side 4 (purple): nagas wandering only on water terrain, but attacking from both water and swamp.
We also added two other sides, which demonstrate lurker behavior coded in WML (Side 5, gray) and Formula AI (Side 6, brown)."
We also added another side, which demonstrates lurker behavior coded in WML (Side 5, gray)."
[/message]
[message]
@ -510,7 +461,7 @@ The Lua Lurker AI is coded as a Micro AI. A Micro AI can be added and adapted to
[if]
[not]
[have_unit]
side=2,3,4,5,6
side=2,3,4,5
[/have_unit]
[/not]
[then]