#textdomain wesnoth-sota

[scenario]
    name= _ "Lava and Stone"
    map_file=19_Lava_and_Stone.map

    id=19_Lava_and_Stone
    next_scenario=20_North_Knalga

    [story]
        [part]
            [background_layer]
                image=story/book.webp
                scale=no
            [/background_layer]
            story= _ "21 VI, 23 YW

We continued down the tunnel in utter darkness for a time. The darkness presented no great difficulty: The bats could navigate perfectly well, and all the magi could sense exactly where they were. Ras-Tabahn and I talked. His plan is to go to Elensefar. He believes he can overthrow the city and install himself as the ruler of an undead empire. Citizens will join him in undeath willingly or not, but join they will. If they do not join willingly, or lack the mental fortitude to transition to lich form, they will of course be mindless slaves."
        [/part]
        [part]
            [background_layer]
                image=story/book.webp
                scale=no
            [/background_layer]
            story= _ "Ras-Tabahn has tried to persuade me to join him in his endeavor, but I have serious misgivings about his plan. I am not positive he can defeat the city guard, and enslaving the population is one of the ways the old Wesfolk leaders earned their poor reputations. I think a more benevolent approach has a better chance of ensuring our legacy. We should spread the news of our success and invite the citizenry to join us voluntarily. I will journey south into Wesnoth proper, and visit Dan’Tonk and Weldyn. At some point in the distant future, my new friends and Ras-Tabahn’s population will probably clash, but that will be a worry for another time, and for now, we each continue to regard the other as an ally."
        [/part]
        [part]
            [background_layer]
                image=story/cave-glow.webp
                scale=no
            [/background_layer]
            story= _ "Our journey continued, and eventually, an orange glow appeared before us."
        [/part]
        {JOURNEY_PART 19}
    [/story]

    {UNDERGROUND}
    {DEFAULT_MUSIC_PLAYLIST}
    {TURNS 45 42 39}

    # wmllint: validate-off
    [side]
        {SIDE_1_BOTH}
        {GOLD 270 240 210}
        shroud=yes
    [/side]
    # wmllint: validate-on

    [side]
        side=2
        controller=ai
        user_team_name= _ "Trolls"
        team_name=bad
        {GOLD 125 150 175}
        type=Troll Shaman
        recruit=Troll Whelp, Troll Shaman
        name= _ "Shurd"
        id=Shurd
        hidden=yes
        {FLAG_VARIANT6 ragged}
    [/side]

    [side]
        side=3
        controller=ai
        user_team_name= _ "Trolls"
        team_name=bad
        {GOLD 250 300 350}
        {INCOME 12 15 18}
        type=Great Troll
        recruit=Troll Whelp, Troll, Troll Rocklobber
        name= _ "Brek"
        id=Brek
        hidden=yes
        {FLAG_VARIANT6 ragged}
    [/side]

    [side]
        side=4
        controller=ai
        user_team_name= _ "Trolls"
        team_name=bad
        {GOLD 40 60 80}
        {INCOME 15 18 21}
        type=Troll Shaman
        recruit=Troll Whelp, Troll Shaman
        name= _ "Üurgh"
        id=Uurgh
        hidden=yes
        {FLAG_VARIANT6 ragged}
    [/side]

    # *************************** PRESTART ***************************
    [event]
        name=prestart

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

            {HOW_TO_LOSE_WITH_BOTH}

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

        {RECALL_LOYAL_UNITS}
    [/event]

    # *************************** PLAY ***************************
    # Nothing needed here

    # *************************** ENDING / OPENING ***************************
    [event]
        name=start
        [message]
            speaker=Ardonna
            message= _ "I had heard that mountains sometimes breathed fire like dragons, but that seemed a fanciful tale. From the look of this, that may actually be true."
        [/message]
        [message]
            speaker=Ras-Tabahn
            message= _ "Yes, it’s quite true. This mountain fire has some uses too. For example, trolls use it for welding together crude armor."
        [/message]
        [message]
            speaker=Ardonna
            message= _ "Trolls! Do you think we shall encounter any?"
        [/message]
        [message]
            speaker=Ras-Tabahn
            message= _ "I see no reason to expect..."
        [/message]
        [message]
            speaker=Shurd
            message= _ "Invaders!"
        [/message]
        [message]
            speaker=Brek
            message= _ "Crush them!"
        [/message]
        [message]
            speaker=Ras-Tabahn
            message= _ "... Yes. Yes, I do."
        [/message]
    [/event]

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

    {ALLOW_LICHES}
    {TURN_INTO_A_LICH}
    {HERO_DEATHS}
    {MAKE_BATS_NORMAL}
    {ZOMBIES}
    {KIDS_ADVANCE}
[/scenario]
