#textdomain wesnoth-ai
[event]
    name=preload
    first_time_only=no
    [lua]
        code = << register_test('0001-healing','Healing test'); >>
    [/lua]
[/event]

[event]
    name=0001-healing
    first_time_only=no

    [message]
        speaker=narrator
        image=wesnoth-icon.png
        message= _ "This situation should test the ability of AI to heal efficiently..."
    [/message]
    {UNIT 2 Peasant 10 11 hitpoints=1}
    {NOTRAIT_UNIT 2 "Mage of Light" 16 16}
    {UNIT 2 "Heavy Infantryman" 19 13 hitpoints=1}
    {UNIT 2 "General" 21 13 hitpoints=1}
    {UNIT 2 "Grand Knight" 21 14 hitpoints=1}
    {UNIT 2 "Halberdier" 10 12 hitpoints=1}
    {UNIT 2 "Pikeman" 9 17 hitpoints=1}
    {UNIT 2 "Master at Arms" 20 12 hitpoints=1}
    {UNIT 2 Peasant 21 9 hitpoints=1}
    {UNIT 2 Peasant 16 17 hitpoints=1}
    {UNIT 2 Peasant 9 17 hitpoints=1}

    [capture_village]
        side=2
        x,y=5,9
    [/capture_village]
    [capture_village]
        side=2
        x,y=6,19
    [/capture_village]
    [capture_village]
        side=2
        x,y=9,17
    [/capture_village]
    [capture_village]
        side=2
        x,y=10,20
    [/capture_village]
    [capture_village]
        side=2
        x,y=11,4
    [/capture_village]
    [capture_village]
        side=2
        x,y=14,8
    [/capture_village]
    [capture_village]
        side=2
        x,y=16,17
    [/capture_village]
    [capture_village]
        x,y=19,22
        side=2
    [/capture_village]
    [capture_village]
        side=2
        x,y=20,5
    [/capture_village]
    [capture_village]
        side=2
        x,y=21,9
    [/capture_village]
    [capture_village]
        side=2
        x,y=24,6
    [/capture_village]
    [capture_village]
        side=2
        x,y=25,17
    [/capture_village]
    [modify_side]
        side=2
        gold=10000
    [/modify_side]
[/event]
