1#textdomain wesnoth-sotbe
2[scenario]
3    id=08_Silent_Forest
4    name= _ "Silent Forest"
5    map_data="{campaigns/Son_Of_The_Black_Eye/maps/08_Silent_Forest.map}"
6    {TURNS 30 28 26}
7
8    {DEFAULT_SCHEDULE}
9
10    next_scenario=09_Shan_Taum_the_Smug
11
12    {SCENARIO_MUSIC "knolls.ogg"}
13    {EXTRA_SCENARIO_MUSIC "elvish-theme.ogg"}
14
15    [event]
16        name=prestart
17        [objectives]
18            side=1
19            [objective]
20                description= _ "Defeat the elves"
21                condition=win
22            [/objective]
23            [objective]
24                description= _ "Death of Kapou’e"
25                condition=lose
26            [/objective]
27            [objective]
28                description= _ "Death of Grüü"
29                condition=lose
30            [/objective]
31            [objective]
32                description= _ "Death of a Shaman"
33                condition=lose
34            [/objective]
35
36            {TURNS_RUN_OUT}
37
38            [gold_carryover]
39                bonus=yes
40                carryover_percentage=40
41            [/gold_carryover]
42        [/objectives]
43
44        [capture_village]
45            side=2
46            x=20-38
47        [/capture_village]
48
49        [capture_village]
50            side=3
51            x,y=1-19,7-30
52        [/capture_village]
53    [/event]
54
55    [side]
56        side=1
57        id="Kapou'e"
58        type=Orcish Leader
59        controller=human
60        team_name=Kapoue
61        user_team_name=_ "Kapou’e"
62        {GOLD 150 150 125}
63        {BLACK_FLAG}
64        fog=yes
65
66        [village]
67            x=5
68            y=3
69        [/village]
70    [/side]
71
72    [side]
73        type=Elvish Shyde
74        id=Lucile
75        name= _ "Lucile"
76        side=2
77        team_name=elves
78        user_team_name=_"Elves"
79        canrecruit=yes
80        [ai]
81            aggression=0.4
82        [/ai]
83        recruit=Elvish Fighter, Elvish Captain, Elvish Scout, Elvish Shaman, Elvish Druid, Elvish Archer, Wose
84        {GOLD 150 175 200}
85        {INCOME 8 9 10}
86        {FLAG_VARIANT wood-elvish}
87    [/side]
88
89    {LIMIT_CONTEMPORANEOUS_RECRUITS 2 Wose 3}
90
91    [side]
92        type=Elvish Captain
93        id=Raceme
94        name= _ "Raceme"
95        side=3
96        team_name=elves
97        user_team_name=_"Elves"
98        canrecruit=yes
99        [ai]
100            aggression=1.0
101        [/ai]
102        recruit=Elvish Fighter, Elvish Hero, Elvish Shaman, Elvish Archer, Elvish Marksman
103        {GOLD 150 175 200}
104        {INCOME 8 9 10}
105        {FLAG_VARIANT wood-elvish}
106    [/side]
107
108    {LIMIT_CONTEMPORANEOUS_RECRUITS 3 (Elvish Hero) 2}
109    {LIMIT_CONTEMPORANEOUS_RECRUITS 3 (Elvish Marksman) 1}
110
111    [story]
112        [part]
113            story= _ "As soon as the sandstorm died down, Kapou’e and his men — eager to escape the searing heat — left the oasis and continued on their trek."
114            {SOTBE_BIGMAP}
115            {JOURNEY_07_OLD}
116        [/part]
117
118        [part]
119            story= _ "It was with great relief that they finally spotted the Silent Forest on the evening of their second day. They quickly made camp in the hope of getting some much needed rest. However, as dawn approached, a thick fog rolled in and all the natural sounds of the forest died away — leaving everything deathly quiet."
120            {SOTBE_BIGMAP}
121            {JOURNEY_07_OLD}
122        [/part]
123    [/story]
124
125    {SOTBE_TRACK {JOURNEY_08_NEW} }
126
127    [event]
128        name=start
129        [recall]
130            id=Grüü
131        [/recall]
132        [recall]
133            id=Jetto
134        [/recall]
135        [recall]
136            id=Pirk
137        [/recall]
138        [recall]
139            id=Gork
140        [/recall]
141        [recall]
142            id=Vraurk
143        [/recall]
144
145        [message]
146            speaker="Kapou'e"
147            message= _ "This fog and the silence are starting to unsettle me. What is this place, anyway?"
148        [/message]
149        [message]
150            speaker="Gork"
151            message= _ "It has not always been like this. A lot of hunters from the tribes used to hunt here and fish in the River Bork. But that all changed a few years ago. Now, few would enter here unless forced."
152        [/message]
153        [message]
154            speaker="Vraurk"
155            message= _ "What happened? Why did people stop coming here?"
156        [/message]
157        [message]
158            speaker="Gork"
159            message= _ "The fact is that few people entered this forest and returned home safe. I am not sure, but most likely, this forest is full of elvish renegades."
160        [/message]
161        [message]
162            speaker="Kapou'e"
163            message= _ "What would elves be doing so far into orcish territory? Anyway, we need some rest. We are sufficiently armed to cope with a bunch of elvish poachers. If we meet any, we’ll cut them to pieces."
164        [/message]
165
166        [micro_ai]
167            side=2
168            ai_type=healer_support
169            action=add
170
171            injured_units_only=yes
172        [/micro_ai]
173
174        [micro_ai]
175            side=3
176            ai_type=healer_support
177            action=add
178
179            injured_units_only=yes
180        [/micro_ai]
181    [/event]
182
183    [event]
184        name=sighted
185        [filter]
186            side=2,3
187        [/filter]
188        [filter_second]
189            side=1
190        [/filter_second]
191
192        [if]
193            [variable]
194                name=second_unit.id
195                equals=Gork
196            [/variable]
197            [then]
198                [message]
199                    speaker=second_unit
200                    message= _ "Elves! I was right, this place is infested with the skinny weaklings."
201                [/message]
202            [/then]
203            [else]
204                [message]
205                    speaker=second_unit
206                    message= _ "Elves! You were right, Gork, this place is infested with the skinny weaklings."
207                [/message]
208            [/else]
209        [/if]
210
211        [message]
212            speaker=unit
213            message= _ "Blast it, the orcs have discovered us."
214        [/message]
215
216        [message]
217            speaker="Kapou'e"
218            message= _ "What is your purpose for trespassing on orcish territory?"
219        [/message]
220
221        [message]
222            speaker=unit
223            message= _ "Fool, do you really think we are going to tell you?"
224        [/message]
225
226        [message]
227            speaker="Kapou'e"
228            message= _ "Men, capture one of these elves and interrogate him. I am sure that will get us some answers."
229        [/message]
230    [/event]
231
232    [event]
233        name=last breath
234        [filter_second]
235            side=1
236        [/filter_second]
237
238        [message]
239            speaker=second_unit
240            message= _ "Now we’re going to have some answers out of you."
241        [/message]
242
243        [message]
244            speaker=unit
245            message= _ "You might as well go ahead and kill me, I’m not telling you anything."
246        [/message]
247
248        [message]
249            speaker=second_unit
250            message= _ "Very well then..."
251        [/message]
252
253        [message]
254            speaker=narrator
255            message= _ "Some time later..."
256            image=wesnoth-icon.png
257        [/message]
258
259        [message]
260            speaker=second_unit
261            message= _ "So you elves have set up an enclave here have you. Why is that?"
262        [/message]
263
264        [message]
265            speaker=unit
266            message= _ "We made an agreement with the humans some time ago. They were planning a major assault on you war-mongers, and the humans pledged that if we assisted them they would give us a large chunk of your territory once the battle was over."
267        [/message]
268
269        [message]
270            speaker=second_unit
271            message= _ "Why would you elves want still more territory? You guys already have the undisputed rule of the whole elvish forest."
272        [/message]
273
274        [message]
275            speaker=unit
276            message= _ "Yes, but our prince has been banished from those lands for collaborating with humans. He now seeks to carve out an empire for himself."
277        [/message]
278
279        [message]
280            speaker=second_unit
281            message= _ "Hmmm, interesting. So you set up a base here to launch your attacks on us. Is that right?"
282        [/message]
283
284        [message]
285            speaker=unit
286            message= _ "Yes, that is correct."
287        [/message]
288
289        [message]
290            speaker="Kapou'e"
291            message= _ "Well folks, it looks like we have our work cut out for us. We must destroy this enclave."
292        [/message]
293
294        [if]
295            [variable]
296                name=second_unit.id
297                equals="Kapou'e"
298            [/variable]
299
300            [then]
301                [if]
302                    [variable]
303                        name=unit.gender
304                        equals=female
305                    [/variable]
306
307                    [then]
308                        [message]
309                            speaker="Kapou'e"
310                            message= _ "As for this weakling, I’ll personally behead her."
311                        [/message]
312                    [/then]
313
314                    [else]
315                        [message]
316                            speaker="Kapou'e"
317                            message= _ "As for this weakling, I’ll personally behead him."
318                        [/message]
319                    [/else]
320                [/if]
321            [/then]
322
323            [else]
324                [if]
325                    [variable]
326                        name=unit.gender
327                        equals=female
328                    [/variable]
329
330                    [then]
331                        [message]
332                            speaker=second_unit
333                            message= _ "female^With pleasure. But what should I do with this weakling?"
334                        [/message]
335
336                        [message]
337                            speaker="Kapou'e"
338                            message= _ "Behead her."
339                        [/message]
340                    [/then]
341
342                    [else]
343                        [message]
344                            speaker=second_unit
345                            message= _ "With pleasure. But what should I do with this weakling?"
346                        [/message]
347
348                        [message]
349                            speaker="Kapou'e"
350                            message= _ "Behead him."
351                        [/message]
352                    [/else]
353                [/if]
354            [/else]
355        [/if]
356
357        [message]
358            speaker=unit
359            message= _ "Ahhhhh!"
360        [/message]
361    [/event]
362
363    [event]
364        name=enemies defeated
365
366        [message]
367            speaker="Kapou'e"
368            message= _ "Good work, men, we’ve done it! Now we don’t have to worry about these elves attacking us. Let’s get some rest and continue our journey."
369        [/message]
370
371        [endlevel]
372            result=victory
373            bonus=yes
374            {NEW_GOLD_CARRYOVER 40}
375        [/endlevel]
376    [/event]
377
378    [event]
379        name=last breath
380        [filter]
381            id=Lucile
382        [/filter]
383
384        [message]
385            speaker=Lucile
386            message= _ "Ahhh! Flee; warn the prince that I have been slain and the enclave destroyed."
387        [/message]
388
389        [unit]
390            side=3
391            x=36
392            y=24
393            type=Elvish Scout
394            id="Linduilas"
395            name= _ "Linduilas"
396        [/unit]
397
398        [message]
399            speaker="Linduilas"
400            message= _ "As you command, my lady."
401        [/message]
402
403        [kill]
404            id="Linduilas"
405        [/kill]
406
407        [move_unit_fake]
408            type=Elvish Scout
409            side=3
410            x=36,36,36,36,36,36,36
411            y=24,25,26,27,28,29,30
412        [/move_unit_fake]
413    [/event]
414
415    {HERO_DEATHS}
416[/scenario]
417