#textdomain wesnoth-dw

# This scenario should be rated "R" for massive violence! Both sides
# can do lots of damage to the other. Here's where you can use all the
# piercing units you have. Hopefully you haven't been totally ignoring
# the spearman and warrior lines. Even level one units can do pretty
# high damage to drakes though, so you can level up some more
# here. Don't get any units besides piercing ones. Netcasters aren't
# really necessary, and one diviner is enough. Actually, don't get
# *any* units for about four turns. The drakes will take a while
# getting to you, so just take some villages and let your income
# work. Don't worry about *holding* the villages, you'll get a bonus
# in the end if you survive. Just worry about getting enough units
# that you do survive. Let the first wave of drakes come to
# you. You'll have the advantage in the water--even against high-level
# units. They will kill some of your weaker units, but you will do far
# more damage to them, and level up some new ones in the process. If
# you survive the first wave, you should be fine. You will have to do
# a little fighting on land, but you can stay mostly in villages at
# least. Just be careful about how many units can attack each of
# yours.

[scenario]
    name= _ "Bilheld"
    map_data="{campaigns/Dead_Water/maps/Bilheld.map}"

    id=07_Bilheld
    next_scenario=08_Talking_to_Tyegea

    [story]
        [part]
            {DW_BIGMAP}
            story= _ "Finally, the merfolk arrived at Bilheld. Their destination, and help, was just behind it. The island was inhabited, however, and the residents didn’t look happy to see them."
        [/part]
    [/story]

    {DW_TRACK {JOURNEY_07_NEW} }

    {DEFAULT_SCHEDULE_DAWN}
    {TURNS4 24 22 20 20}

    [side]
        {SIDE_1}
        {GOLD4 160 150 140 140}
    [/side]

    [side]
        side=2
        controller=ai
        user_team_name= _ "Drakes"
        team_name=bad guys
        color=purple

        id=Vlagnor
        name= _ "Vlagnor"
        canrecruit=yes
        type=Drake Flameheart
#ifdef EASY
        recruit=Drake Burner, Drake Clasher, Drake Fighter, Drake Glider, Drake Flare, Drake Thrasher, Drake Warrior, Drake Arbiter, Fire Drake, Sky Drake
#endif
#ifndef EASY
        recruit=Drake Burner, Drake Clasher, Drake Fighter, Drake Glider, Drake Flare, Drake Thrasher, Drake Warrior, Drake Arbiter, Fire Drake, Sky Drake, Drake Enforcer, Inferno Drake
#endif
        [ai]
            villages_per_scout=1
        [/ai]
        # The drakes need a lot of money. Merfolk are pretty effective
        # against them in the water.
        {INCOME4 20 25 30 35}
        {GOLD4 250 290 330 380}
    [/side]

#ifdef EASY
    {LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Drake Arbiter) 2}
    {LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Drake Warrior) 2}
    {LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Fire Drake) 2}
#endif
#ifdef NORMAL
    {LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Drake Enforcer) 2}
    {LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Inferno Drake) 2}
#endif
#ifdef HARD
    {LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Drake Enforcer) 3}
    {LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Inferno Drake) 2}
#endif
#ifdef NIGHTMARE
    {LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Drake Enforcer) 3}
    {LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Inferno Drake) 3}
#endif

    {STARTING_VILLAGES 1 6}
    {STARTING_VILLAGES 2 9}

    [event]
        name=prestart

        [music]
            name=knalgan_theme.ogg
        [/music]

        # wmllint: who RECALL_LOYAL_UNITS is Inky
        {RECALL_LOYAL_UNITS}

        [objectives]
            side=1
            [objective]
                description= _ "Defeat enemy leader"
                condition=win
            [/objective]

            {HOW_TO_LOSE}

            [gold_carryover]
                bonus=yes
                carryover_percentage=40
            [/gold_carryover]
        [/objectives]
    [/event]

    [event]
        name=start
        [message]
            speaker=Vlagnor
            message= _ "What are you merfolk doing here?"
        [/message]
        [message]
            speaker=Kai Krellis
            message= _ "We have business with Tyegëa on the other side of the island."
        [/message]
        [message]
            speaker=Vlagnor
            message= _ "The mermaid witch?"
        [/message]
        [message]
            speaker=Cylanna
            message= _ "Witch?!"
        [/message]
        [message]
            speaker=Kai Krellis
            message= _ "Witch?"
        [/message]
        [message]
            speaker=Vlagnor
            message= _ "She kill drakes. If you are her friend, we will kill you. We do not want MORE merfolk blasting and stabbing."
        [/message]
        [message]
            speaker=Kai Krellis
            message= _ "We are going around this island whether you want us to or not."
        [/message]
        [message]
            speaker=Vlagnor
            message= _ "This is OUR territory and you will not pass."
        [/message]

        [if]
            [have_unit]
                id=Keshan
            [/have_unit]
            [then]
                [message]
                    speaker=Vlagnor
                    message= _ "You! Drake. Do we kill you too?"
                [/message]
                [message]
                    speaker=Keshan
                    message= _ "These are my friends. I will fight with them."
                [/message]
                [message]
                    speaker=Vlagnor
                    message= _ "Then you will die with them!"
                [/message]
            [/then]
        [/if]
    [/event]

    [event]
        name=enemies defeated

        [endlevel]
            result=victory
            bonus=yes
            {NEW_GOLD_CARRYOVER 40}
        [/endlevel]
    [/event]

    {HERO_DEATHS}
[/scenario]
