wesnoth/data/ai/scenarios/scenario-test_move_to_targets.cfg

97 lines
2.3 KiB
INI

#textdomain wesnoth-ai
# This is AI test scenario which is not visible to casual player.
# It should not be translateable
[test]
id=move_to_targets
name= _ "Move to targets"
description= _ "Test ai move-to-targets logic"
map_data="{ai/maps/scenario-test_move_to_targets.map}"
random_start_time="no"
turns=-1
{DEFAULT_SCHEDULE}
{DEFAULT_MUSIC_PLAYLIST}
[event]
name=preload
first_time_only=no
[lua]
code = <<
H = wesnoth.dofile("lua/helper.lua")
W = H.set_wml_action_metatable({})
H.set_wml_var_metatable(_G)
>>
[/lua]
[/event]
[side]
side=1
id=leader1
name= _"AI Developer"
type=Lich
canrecruit=yes
controller=human
team_name=master
user_team_name= _ "team_name^AI Developer"
fog=no
[modifications]
{TRAIT_INTELLIGENT}
{TRAIT_QUICK}
{TRAIT_LOYAL}
[/modifications]
[/side]
[side]
side=2
name= _ "AI under test"
type=Orcish Slayer
canrecruit=yes
controller=ai
team_name=ai
fog=no
{ai/aliases/stable_singleplayer.cfg}
[ai]
{AI_SIMPLE_ALWAYS_ASPECT aggression 1}
[/ai]
[/side]
[side]
side=3
id=leader3
name= _ "Idle AI"
type=Mage of Light
canrecruit=yes
controller=ai
team_name=master
fog=no
{ai/aliases/idle.cfg}
[/side]
[event]
name=preload
[modify_side]
side=1
gold=10000
[/modify_side]
[modify_side]
side=2
gold=0
[/modify_side]
[modify_side]
side=3
gold=0
[/modify_side]
{NOTRAIT_UNIT 2 "Naga Fighter" 40 21}
{NOTRAIT_UNIT 2 "Naga Fighter" 41 23}
{NOTRAIT_UNIT 2 "Naga Fighter" 42 21}
{NOTRAIT_UNIT 2 "Orcish Grunt" 41 21}
{NOTRAIT_UNIT 2 "Orcish Grunt" 40 22}
{NOTRAIT_UNIT 2 "Orcish Grunt" 42 22}
{NOTRAIT_UNIT 2 "Naga Fighter" 36 22}
{NOTRAIT_UNIT 2 "Orcish Grunt" 36 21}
{NOTRAIT_UNIT 2 "Naga Fighter" 46 21}
{NOTRAIT_UNIT 2 "Orcish Grunt" 46 22}
[/event]
[/test]