#textdomain wesnoth
[event]
    name=preload
    first_time_only=no
    [lua]
        code = << register_test('0002-poisoning','Poison use test'); >>
    [/lua]
[/event]

[event]
    name=0002-poisoning
    first_time_only=no

    [message]
        speaker=narrator
        image=wesnoth-icon.png
        message="This situation should test the ability of AI to spread poison around..."
    [/message]
    [unit]
        side=2
        x,y=23,14
        type="Orcish Assassin"
    [/unit]
    [unit]
        side=2
        x,y=25,17
        type="Orcish Assassin"
    [/unit]
    [unit]
        side=2
        x,y=19,7
        type="Orcish Assassin"
    [/unit]
    [unit]
        side=2
        x,y=10,14
        type="Orcish Assassin"
    [/unit]
    [unit]
        side=2
        x,y=20,7
        type="Orcish Assassin"
    [/unit]
    [unit]
        side=3
        x,y=20,5
        type="Drake Warden"
        random_traits="no"
        [modifications]
            {TRAIT_RESILIENT}
        [/modifications]
    [/unit]
    [unit]
        side=3
        x,y=21,7
        type="Drake Warden"
        random_traits=0
    [/unit]
    [unit]
        side=3
        x,y=23,16
        type="Drake Warden"
        random_traits=0
        [modifications]
            {TRAIT_RESILIENT}
        [/modifications]
    [/unit]
    [unit]
        side=3
        x,y=17,5
        type="Drake Warden"
        random_traits=0
    [/unit]
    [unit]
        side=3
        x,y=15,7
        type="Drake Warden"
        random_traits=0
    [/unit]
    [unit]
        side=3
        x,y=17,8
        type="Drake Warden"
        random_traits=0
    [/unit]
    [unit]
        side=3
        x,y=19,9
        type="Drake Warden"
        random_traits=0
    [/unit]
    [unit]
        side=3
        x,y=26,18
        type="Ancient Wose"
        random_traits=0
    [/unit]
    [unit]
        side=3
        hitpoints=3
        x,y=26,14
        type="Drake Warden"
        random_traits=0
    [/unit]
    [unit]
        side=3
        x,y=9,17
        type="Skeleton"
    [/unit]
    [label]
        colour="255,0,0,0"
        text="Undead target test"
        visible_in_fog="yes"
        x="9"
        y="17"
    [/label]
    [label]
        colour="255,0,0,0"
        text="Target choose test"
        visible_in_fog="yes"
        x="19"
        y="6"
    [/label]
    [label]
        colour="255,0,0,0"
        text="Regeneration attack test"
        visible_in_fog="yes"
        x="25"
        y="19"
    [/label]
    [label]
        colour="255,0,0,0"
        text="Weapon test with low hp target"
        visible_in_fog="yes"
        x="26"
        y="14"
    [/label]
    [modify_side]
        side=3
        switch_ai=$test_path_to_idle_ai
    [/modify_side]
[/event]
