#textdomain wesnoth-low
[scenario]
    id=19_Costly_Revenge
    name= _ "Costly Revenge"
    {LOW_MAP Saurgrath.map}
    {WINTER_MASK 19_Costly_Revenge.mask}

    {TURNS 35 30 25}

    {INTRO_AND_SCENARIO_MUSIC northerners.ogg the_deep_path.ogg}
    {EXTRA_SCENARIO_MUSIC vengeful.ogg}
    {EXTRA_SCENARIO_MUSIC sad.ogg}
    {EXTRA_SCENARIO_MUSIC battle.ogg}
    {EXTRA_SCENARIO_MUSIC underground.ogg}
    {EXTRA_SCENARIO_MUSIC the_dangerous_symphony.ogg}

    {DEFAULT_SCHEDULE}

    next_scenario=20_Council_ruling
    [story]
        [part]
            story= _ "But Kalenz failed to persuade the dwarves. The dwarves left, and at Landar's insistence the elves marched on the empire of the Saurians..."
            delay=4000
            {TO_COSTLY_REVENGE}
        [/part]
        [part]
            show_title=yes
            {TO_COSTLY_REVENGE_BATTLE}
        [/part]
    [/story]

    #wmllint: validate-off
    [side]
        side=1
        controller=human
        persistent=yes
        save_id=Kalenz
        no_leader=yes
        # wmllint: recognize Kalenz
        recruit={ELVES}
        # TODO no minimum gold here?
    [/side]
    #wmllint: validate-on
    [event]
        name=prestart
        [recall]
            id=Kalenz
            x=3
            y=18
        [/recall]
    [/event]

    [side]
        side=2
        controller=ai
        no_leader=yes
        [unit]
            type=Saurian Flanker
            id=Spahr
            name=_ "Spahr"
            canrecruit=yes
            x=23
            y=20
        [/unit]
        {GOLD 400 800 900}
        {INCOME 4 8 12}
        team_name=Saurians
#ifdef EASY
        recruit=Saurian Skirmisher, Saurian Augur
#else
        recruit=Saurian Skirmisher, Saurian Augur, Saurian Ambusher, Saurian Oracle, Saurian Soothsayer
#endif

        [ai]
            recruitment_ignore_bad_movement=yes
#ifdef EASY
            recruitment_pattern=scout,scout,healer,scout
#else
            recruitment_pattern=scout,scout,healer,archer,archer,scout
#endif
        [/ai]
    [/side]

    [side]
        side=3
        controller=ai
        no_leader=yes
        [unit]
            type=Saurian Flanker
            id=Hgyr
            name=_ "Hgyr"
            canrecruit=yes
            x=26
            y=2
        [/unit]
        {GOLD 300 300 300}
        {INCOME 4 8 12}
        team_name=Saurians
#ifdef EASY
        recruit=Saurian Skirmisher, Saurian Augur
#else
        recruit=Saurian Skirmisher, Saurian Augur, Saurian Ambusher, Saurian Flanker, Saurian Oracle, Saurian Soothsayer
#endif

        [ai]
            recruitment_ignore_bad_movement=yes
#ifdef EASY
            recruitment_pattern=scout, scout, healer
#else
            recruitment_pattern=scout, healer, scout, archer
#endif
        [/ai]
    [/side]

    {STARTING_VILLAGES_ALL 2}
    {STARTING_VILLAGES 3 20}

    [event]
        name=prestart
        [objectives]
            side=1
            [objective]
                description= _ "Defeat all enemy leaders"
                condition=win
            [/objective]
            [objective]
                description= _ "Death of Kalenz"
                condition=lose
            [/objective]
            [objective]
                description= _ "Death of Landar"
                condition=lose
            [/objective]
            [objective]
                description= _ "Death of Cleodil"
                condition=lose
            [/objective]
            [objective]
                description= _ "Turns run out"
                condition=lose
            [/objective]
        [/objectives]

        [kill]
            race=dwarf
        [/kill]
        [disallow_recruit]
            type={DWARVES}
        [/disallow_recruit]

        {RECALL_LOYALS}
        # wmllint: recognize Landar
        # wmllint: recognize Cleodil

        {CHECK_LANDAR}
        {CHECK_CLEODIL}
    [/event]

    [event]
        name=start

        [message]
            id=Kalenz
            message= _ "We have finally reached Saurgrath, their capitol. Remember whose side they have taken in the war against us."
        [/message]
        [message]
            id=Cleodil
            message= _ "I fear this will be a bloodbath..."
        [/message]
        [message]
            id=Landar
            message= _ "It is our chance to finish them off..."
            #(and make Turin happy)...
        [/message]
    [/event]

    [event]
        name=victory
        [message]
            id=Kalenz
            message= _ "Victory is ours. "
        [/message]
    [/event]

    {@campaigns/Legend_of_Wesmere/utils/deaths.cfg}
[/scenario]
