1#textdomain wesnoth-nr
2
3[scenario]
4    id=03_To_the_Mines
5    name= _ "To the Mines"
6    map_data="{campaigns/Northern_Rebirth/maps/03_To_the_Mines.map}"
7    {TURNS 36 30 24}
8    next_scenario=04_Clearing_the_Mines
9
10    {DEFAULT_SCHEDULE}
11
12    {SCENARIO_MUSIC       wanderer.ogg}
13    {EXTRA_SCENARIO_MUSIC nunc_dimittis.ogg}
14    {EXTRA_SCENARIO_MUSIC loyalists.ogg}
15
16    [story]
17        [part]
18            music=traveling_minstrels.ogg
19            story= _ "Hoping to bypass the monsters which seemed to lurk at every corner in the caves, the humans and the dwarves returned to the surface hoping to speedily reach the mines. However, once they left the caves they found that they faced a new threat."
20        [/part]
21    [/story]
22
23    {NR_TRACK {REVOLT_STAGE3}}
24
25    # wmllint: validate-off
26    [side]
27        side=1
28        controller=human
29        recruit=Peasant,Woodsman,Thug,Poacher,Dwarvish Fighter,Dwarvish Thunderer,Dwarvish Scout,Footpad
30        {GOLD 200 150 100}
31        team_name=rebels
32        user_team_name= _ "Rebels"
33        # Use stock flags, Tallin's troops are ceasing to be ragged
34
35        # wmllint: recognize Tallin
36        {CHARACTER_STATS_TALLIN}
37
38        # Since in last scenario Hamel was AI controlled we need to place him again to have him in this and future scenarios
39        [unit]
40            type=Dwarvish Lord
41            id=Hamel
42            name= _ "Hamel"
43            profile=portraits/Hamel.png
44            # This nice macro gives the unit silver crown.
45            {IS_HERO}
46            x,y=6,23
47            [modifications]
48                {TRAIT_LOYAL}
49                {TRAIT_STRONG}
50            [/modifications]
51        [/unit]
52    [/side]
53    # wmllint: validate-on
54
55    [side]
56        side=2
57        controller=ai
58        recruit=Wolf Rider,Goblin Knight,Goblin Pillager
59        {GOLD 350 400 500}
60        team_name=goblins
61        user_team_name= _ "Goblins"
62        {FLAG_VARIANT6 ragged}
63
64        type=Direwolf Rider
65        id=Pruol
66        name= _ "Pruol"
67        canrecruit=yes
68    [/side]
69
70    {PLACE_IMAGE scenery/dwarven-doors-closed.png 18 3}
71
72    [event]
73        name=prestart
74
75        [time_area]
76            x=0-4,0-2,5
77            y=24-26,23,26
78            {UNDERGROUND}
79        [/time_area]
80
81        {RECALL_SUPPORTER}
82
83        [recall]
84            id=Camerin
85        [/recall]
86
87        [objectives]
88            side=1
89            [objective]
90                description= _ "Enter the mines"
91                condition=win
92            [/objective]
93            {ALTERNATIVE_OBJECTIVE_BONUS ( _ "Eliminate the wolf riders")}
94            [objective]
95                description= _ "Death of Tallin"
96                condition=lose
97            [/objective]
98            [objective]
99                description= _ "Death of Hamel"
100                condition=lose
101            [/objective]
102
103            {TURNS_RUN_OUT}
104
105            [gold_carryover]
106                bonus=no
107                carryover_percentage=40
108            [/gold_carryover]
109        [/objectives]
110    [/event]
111
112    [event]
113        name=start
114
115        [message]
116            speaker=Pruol
117            message= _ "Hey look, there is our meat! Come on, boys, lunchtime!"
118        [/message]
119
120        [message]
121            role=Supporter
122            message= _ "I don’t think so, buddy."
123        [/message]
124    [/event]
125
126    # Two events ending the scenario, there is no chance of both of them occurring in the same game.
127    # You can either kill the opponent...
128    [event]
129        name=last breath
130        [filter]
131            id=Pruol
132        [/filter]
133
134        [message]
135            speaker=Pruol
136            message= _ "Argh! They are stronger than we thought. Someone go tell the Master..."
137        [/message]
138
139        [message]
140            role=Supporter
141            message= _ "What’s with this ‘Master’ business? It’s starting to make me nervous."
142        [/message]
143    [/event]
144
145    [event]
146        name=die
147        [filter]
148            id=Pruol
149        [/filter]
150
151        [endlevel]
152            result=victory
153            bonus=yes
154            {NEW_GOLD_CARRYOVER 40}
155        [/endlevel]
156    [/event]
157
158    # ...or get to the mines with him still alive. But without bonus in that case.
159    [event]
160        name=moveto
161        [filter]
162            x,y=18,3
163            id=Tallin
164        [/filter]
165
166        [message]
167            speaker=Tallin
168            message= _ "Here is the entrance to the dwarven mines. In we go!"
169        [/message]
170
171        [message]
172            speaker=Pruol
173            message= _ "Hey, there goes our lunch! Hmmm, they are stronger than we thought, let’s go tell Master."
174        [/message]
175
176        [message]
177            role=Supporter
178            message= _ "What’s with this whole ‘Master’ business? It’s starting to make me nervous."
179        [/message]
180
181        [endlevel]
182            result=victory
183            bonus=no
184        [/endlevel]
185    [/event]
186
187    # And include some death events.
188    {HERODEATH_TALLIN}
189    {HERODEATH_CAMERIN}
190    {HERODEATH_HAMEL}
191
192    {SUPPORTER_DEATH_HANDLER}
193[/scenario]
194