/
15_A_New_Land.cfg
558 lines (497 loc) · 18.6 KB
/
15_A_New_Land.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
#textdomain wesnoth-trow
[scenario]
id=15_A_New_Land
name= _ "A New Land"
next_scenario=16_The_Kalian
map_file=15_A_New_Land.map
victory_when_enemies_defeated=no
turns=unlimited
{DEFAULT_SCHEDULE}
{SCENARIO_MUSIC wanderer.ogg}
[story]
[part]
story=_ "After the defeat of the nagas, Haldric’s refugees take on fresh water and hunt small game, relieved to have land beneath their feet. When they depart, even the sea-weather is milder."
[/part]
[part]
story=_ "After a week’s steady sailing eastward, they begin to hear the cries of gulls and feel the loom of the land. The Great Continent appears before them over the summer-lit seas."
background=story/trow_story_15-A_New_Land.webp
[/part]
[/story]
{TROW_GC_TRACK {JOURNEY_15_NEW} }
{TROW_DEATHS}
[side]
type=Noble Commander
id=Prince Haldric
name= _ "Prince Haldric"
unrenamable=yes
side=1
canrecruit=yes
gold=100
controller=human
team_name=Haldric
user_team_name=_"Refugees"
{FLAG_VARIANT loyalist}
[/side]
[side]
type=Elvish Marshal
id=Glimir
name= _ "Glimir"
side=2
canrecruit=yes
{GOLD 150 220 300}
team_name=Continentals
user_team_name=_"Continentals"
recruit=Elvish Archer, Elvish Fighter, Elvish Shaman, Elvish Hero, Elvish Marksman, Elvish Druid
[ai]
{NO_SCOUTS}
recruitment_pattern=fighter,archer,fighter,archer,healer
[aspect]
id=recruitment_instructions
[facet]
[value]
[recruit]
type=Elvish Hero,Elvish Marksman,Elvish Druid
number=1
importance=2
blocker=yes
[/recruit]
[recruit]
type=Elvish Archer,Elvish Fighter,Elvish Shaman
number=1
importance=1
blocker=no
[/recruit]
[/value]
[/facet]
[/aspect]
{MODIFY_AI_ADD_CANDIDATE_ACTION 2 main_loop (
[candidate_action]
engine=lua
name=aggressive_attack_no_suicide
id=aggressive_attack_no_suicide
max_score=100000
location="campaigns/The_Rise_Of_Wesnoth/ai/ca_aggressive_attack_no_suicide.lua"
[/candidate_action]
)}
{MODIFY_AI_DELETE_CANDIDATE_ACTION 2 main_loop spread_poison}
{MODIFY_AI_DELETE_CANDIDATE_ACTION 2 main_loop high_xp_attack}
{MODIFY_AI_DELETE_CANDIDATE_ACTION 2 main_loop combat}
[/ai]
{FLAG_VARIANT wood-elvish}
[/side]
{STARTING_VILLAGES 2 8}
[side]
type=Dwarvish Lord
id=Dursil
name= _ "Dursil"
side=3
canrecruit=yes
{GOLD 150 220 300}
team_name=Continentals
user_team_name=_"Continentals"
recruit=Dwarvish Fighter, Dwarvish Thunderer, Dwarvish Guardsman, Dwarvish Steelclad, Dwarvish Thunderguard, Dwarvish Pathfinder
[ai]
{NO_SCOUTS}
recruitment_pattern=fighter,mixed fighter,fighter,mixed fighter,scout
[aspect]
id=recruitment_instructions
[facet]
[value]
[recruit]
type=Dwarvish Steelclad,Dwarvish Thunderguard,Dwarvish Pathfinder
number=1
importance=2
blocker=yes
[/recruit]
[recruit]
type=Dwarvish Fighter,Dwarvish Thunderer,Dwarvish Guardsman
number=1
importance=1
blocker=no
[/recruit]
[/value]
[/facet]
[/aspect]
{MODIFY_AI_ADD_CANDIDATE_ACTION 3 main_loop (
[candidate_action]
engine=lua
name=aggressive_attack_no_suicide
id=aggressive_attack_no_suicide
max_score=100000
location="campaigns/The_Rise_Of_Wesnoth/ai/ca_aggressive_attack_no_suicide.lua"
[/candidate_action]
)}
{MODIFY_AI_DELETE_CANDIDATE_ACTION 3 main_loop spread_poison}
{MODIFY_AI_DELETE_CANDIDATE_ACTION 3 main_loop high_xp_attack}
{MODIFY_AI_DELETE_CANDIDATE_ACTION 3 main_loop combat}
[/ai]
{FLAG_VARIANT knalgan}
[/side]
{STARTING_VILLAGES 3 14}
[side]
type=Elvish Champion
id=Eowarar
name= _ "Eowarar"
side=4
canrecruit=yes
{GOLD 150 220 300}
team_name=Continentals
user_team_name=_"Continentals"
recruit=Elvish Archer, Elvish Fighter, Elvish Hero, Elvish Ranger, Elvish Sorceress
[ai]
{NO_SCOUTS}
recruitment_pattern=fighter,archer,mixed fighter,mixed fighter
[aspect]
id=recruitment_instructions
[facet]
[value]
[recruit]
type=Elvish Hero,Elvish Ranger,Elvish Sorceress
number=1
importance=2
blocker=yes
[/recruit]
[recruit]
type=Elvish Archer,Elvish Fighter
number=1
importance=1
blocker=no
[/recruit]
[/value]
[/facet]
[/aspect]
{MODIFY_AI_ADD_CANDIDATE_ACTION 4 main_loop (
[candidate_action]
engine=lua
name=aggressive_attack_no_suicide
id=aggressive_attack_no_suicide
max_score=100000
location="campaigns/The_Rise_Of_Wesnoth/ai/ca_aggressive_attack_no_suicide.lua"
[/candidate_action]
)}
{MODIFY_AI_DELETE_CANDIDATE_ACTION 4 main_loop spread_poison}
{MODIFY_AI_DELETE_CANDIDATE_ACTION 4 main_loop high_xp_attack}
{MODIFY_AI_DELETE_CANDIDATE_ACTION 4 main_loop combat}
[/ai]
{FLAG_VARIANT long}
[/side]
{STARTING_VILLAGES 4 8}
[event]
name=prestart
[store_unit]
[filter]
side=1
canrecruit=yes
[/filter]
variable=stored_Haldric
kill=yes
[/store_unit]
[/event]
[event]
name=start
[objectives]
[objective]
description= _ "Avoid deaths for as long as possible" + "<span foreground='white'> <small>" + _"(the scenario ends when any unit perishes)" + "</small></span>"
condition=win
[/objective]
[objective]
description= _ "Death of Prince Haldric"
condition=lose
[/objective]
[objective]
description= _ "Death of Lady Jessene"
condition=lose
[/objective]
[objective]
description= _ "Death of Lord Typhon"
condition=lose
[/objective]
#textdomain wesnoth
notes_string = _"Gold carryover:"
#textdomain wesnoth-trow
[note]
red,green,blue=255,255,192
description= _ "You will receive a finish bonus — equal to an early finish bonus — for the number of turns you lasted."
[/note]
[note]
red,green,blue=255,255,192
description= _ "20% of finishing gold carried over to the next scenario." + "
<span foreground='white'><big>
"+
#textdomain wesnoth
_"Notes:"+"</big></span>"
#textdomain wesnoth-trow
[/note]
[note]
description= _ "Enemies will not initiate an attack if there is a risk of them dying."
[/note]
[/objectives]
[/event]
[event]
name=start
[message]
speaker=narrator
message= _ "Alas, the shore of the Great Continent was not so tranquil a place as it had appeared from at sea."
image=wesnoth-icon.png
[/message]
[message]
speaker=Glimir
message= _ "Go home, you vile dwarves! By treaty you are pledged to only the hills and mountains to the north of the Great River. This is not your land."
[/message]
[message]
speaker=Dursil
message= _ "Our lands are become full, and our mines go to the bottom of the world. We have won our war against those things that live in the dark. By what right do you claim all of the forests of the world, and all of the land south of the Great River, and force us onto only the hills and mountains of the north? There are hills and mountains as good as any here in the south!"
[/message]
[message]
speaker=Glimir
message= _ "By the right of treaty, ancient but still true—"
[/message]
[message]
speaker=Dursil
# wmllint: local spelling namby-pamby
message= _ "Hmph! You namby-pamby elves: <i>“We don’t cut the trees, we groom the forest.”</i> Our axes can get the wood for a fifth of the cost! I can charge half of what your people do, and still be rich, and I’m not the first to have the thought!"
[/message]
[message]
speaker=Glimir
message= _ "Wait, I see a ship. Many ships. We’re being invaded!"
[/message]
[message]
speaker=Dursil
message= _ "Umm, we’re being invaded? Fine, we’ll sort out our differences later. Let’s get them first."
[/message]
[sound]
name=ambient/ship.ogg
[/sound]
[move_unit_fake]
type=Galleon
side=1
x=1,7,10,10,9
y=19,21,22,23,24
[/move_unit_fake]
{PLACE_IMAGE ("units/transport/galleon.png~RC(magenta>red)~FL(horiz)") 9 24}
{PLACE_IMAGE ("units/transport/transport-galleon.png~RC(magenta>red)") 1 19}
{PLACE_IMAGE ("units/transport/transport-galleon.png~RC(magenta>red)") 4 19}
{PLACE_IMAGE ("units/transport/transport-galleon.png~RC(magenta>red)") 1 17}
{PLACE_IMAGE ("units/transport/transport-galleon.png~RC(magenta>red)") 3 18}
[move_unit_fake]
type=$stored_Haldric.type
side=1
x=9,6
y=24,24
[/move_unit_fake]
[unstore_unit]
variable=stored_Haldric
[/unstore_unit]
[recall]
id=Lady Jessene
x=8
y=24
[/recall]
[recall]
id=Burin the Lost
x=7
y=25
[/recall]
[recall]
id=Sir Ruddry
x=8
y=25
[/recall]
[recall]
id=Sir Ladoc
x=8
y=25
[/recall]
[recall]
id=Minister Edren
x=7
y=26
[/recall]
[recall]
id=Lord Typhon
x=6
y=20
[/recall]
[message]
speaker=Prince Haldric
message= _ "We come in peace. May our peoples—"
[/message]
[message]
speaker=Dursil
message= _ "Get them!"
[/message]
[message]
speaker=Lady Jessene
message= _ "Gee, and you were practicing that speech for days. I guess that’s it for diplomacy then. Haldric, we should avoid bloodshed even if we have to ward them off. There has to be a peaceful resolution to this."
[/message]
[message]
speaker=Burin the Lost
message= _ "In the name of... This is the continent of my home. But I set out east. I must have traveled clear around the world."
[/message]
[message]
speaker=Burin the Lost
message= _ "My people are too far south. I don’t know what’s going on here. I’ll stick with you until the end. You’ve been a good friend. Just no more sea voyages."
[/message]
{CLEAR_VARIABLE stored_Haldric}
[/event]
[event]
name=turn 3
[message]
speaker=Lady Jessene
message= _ "I bet this wasn’t the welcome you were expecting."
[/message]
[/event]
# Enemies' base income increases by 1 every turn
[event]
name=new turn
first_time_only=no
[modify_side]
[filter_side]
side=2,3,4
[/filter_side]
income="$($turn_number - 1)"
[/modify_side]
[/event]
[event]
name=die
[filter]
[not]
id=Lady Jessene,Prince Haldric,Lord Typhon
[/not]
[/filter]
[move_unit_fake]
type=Elvish Shyde
side=2
x=42,40,39
y=3,5,6
[/move_unit_fake]
{HERO (Autumn Shyde) (Lady Dionli) ( _ "Lady Dionli") 2 39 6 ("portraits/dionli.webp")}
[+unit]
facing=sw
[/unit]
[message]
speaker=Lady Dionli
message= _ "What? What’s going on here? Dwarves? Humans? Ships? Glimir, tell me."
[/message]
[message]
speaker=Glimir
message= _ "The stories are true. There must be dwarven colonists in the Brown Hills. We caught this band chopping wood near the bay. Then we saw lots of ships. Not like before, with that fellow from Southbay and his lone ship. It was always interesting when he stopped by."
[/message]
[message]
speaker=Glimir
# wmllint: local spelling erm
message= _ "We thought we were being invaded. We, erm, put our differences aside with the dwarves, for the moment, and decided to deal with this first."
[/message]
[message]
speaker=Lady Dionli
message= _ "These are disturbing trends. Human, it is by luck alone that I am here to spare you. For on this day the Council of Lords is meeting in a forest not far from here."
[/message]
[message]
speaker=Prince Haldric
message= _ "I am Prince Haldric. We come in peace. May our peoples—"
[/message]
[message]
speaker=Lady Jessene
message= _ "Haldric."
[/message]
[message]
speaker=Lady Dionli
message= _ "As for you, dwarf, return to the Brown Hills. Then tell your people to prepare to return to the north."
[/message]
[message]
speaker=Dursil
message= _ "I’ll return to the hills, but I can’t promise that my people will go. Hmph!"
[/message]
[message]
speaker=Lady Dionli
message= _ "Haldric, is it? You are their leader? You and your advisers are to come with me. It will be safe for your passengers to disembark here."
[/message]
[move_unit_fake]
type=Familiar
side=4
x=1,3
y=11,11
[/move_unit_fake]
{LIVING_INTEL (Familiar) (Familiar) ( _ "Familiar") "portraits/familiar.webp" 4 3 11}
[kill]
id=Familiar
[/kill]
[move_unit_fake]
type=Familiar
side=4
x=3,4,4,1
y=11,10,9,8
[/move_unit_fake]
[message]
speaker=Lady Jessene
message={WHISPER _"Maybe it’d be best if you didn’t mention our little friend following us..."}
[/message]
#ifdef EASY
[message]
speaker=Lord Typhon
message= _ "I must return to my people. You have kept your word, you may avail of my services in the future. The services of my people will remain at your disposal."
[/message]
#else
[disallow_recruit]
side=1
type=Merman Fighter,Merman Hunter
[/disallow_recruit]
[message]
speaker=Lord Typhon
message= _ "I must return to my people. My warriors that fought by your side wish to remain with you. You have kept your word, and you may avail of my services in the future."
[/message]
#endif
[kill]
id=Lord Typhon
[/kill]
[message]
speaker=Prince Haldric
message= _ "May the currents carry you swiftly, my friend. " + {WHISPER _"Jessene, send word that a third of the fleet is to return to the Green Isle, to look for more survivors. If they return tell them to keep returning until no more survivors are found."}
[/message]
[message]
speaker=Prince Haldric
message={WHISPER _"Man the ships with skeleton crews, and give them the remaining supplies. Pass the word to Lord Typhon. Make sure that no more than a third of the fleet is sent. We must not provide the orcs with a ready-made fleet. Make haste, return before it is time to meet with these, what are they? Ahh, elves."}
[/message]
[message]
speaker=Prince Haldric
message= _ "This is the second Eldaric I get to say goodbye to. At least this time it is easier than the first."
[/message]
[set_variable]
name=num_done
value=0
[/set_variable]
[set_variable]
name=a_beach
value=0
[/set_variable]
[set_variable]
name=cursed_isle
value=0
[/set_variable]
[set_variable]
name=the_dragon
value=0
[/set_variable]
[set_variable]
name=troll_hole
value=0
[/set_variable]
[set_variable]
name=last_done
value="none"
[/set_variable]
[modify_turns]
value=$turn_number
[/modify_turns]
[modify_turns]
add=$turn_number
[/modify_turns]
[endlevel]
#Bet I scared a few people there
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 20}
next_scenario=16_The_Kalian
[/endlevel]
[/event]
[/scenario]