-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
08_Alone_at_Last.cfg
1144 lines (948 loc) · 29.5 KB
/
08_Alone_at_Last.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
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#textdomain wesnoth-did
[scenario]
id=08_Alone_at_Last
name= _ "Alone at Last"
map_file=08_Alone_at_Last.map
{TURNS 35 32 29}
next_scenario=09_Descent_into_Darkness
victory_when_enemies_defeated=no
{DEFAULT_SCHEDULE_DUSK}
{SCENARIO_MUSIC knolls.ogg}
{EXTRA_SCENARIO_MUSIC siege_of_laurelmor.ogg}
{EXTRA_SCENARIO_MUSIC nunc_dimittis.ogg}
[story]
[part]
story= _ "As he enters the tunnel underneath Lady Karae’s manor, Darken Volk gestures, causing the entrance to collapse. The two necromancers turn and begin walking down the pitch-black tunnel, temporarily safe from pursuit."
{STORYTXT_BACKGROUND travel.jpg}
[/part]
[part]
story= _ "Silence permeates the darkness, broken only by the irregular dripping of water from the musty cave walls. Malin looks toward Darken Volk occasionally, expecting something from the elder necromancer, but is met with stone-cold dispassion. There is no acknowledgment... no word of gratitude — only a sense of unease that has as much to do with the book as it does with Darken Volk."
{STORYTXT_BACKGROUND travel.jpg}
[/part]
[part]
story= _ "They continue walking through the damp, cold air all through the morning and day, finally emerging as the last rays of sunlight sink below the horizon."
{STORYTXT_BACKGROUND travel.jpg}
[/part]
[/story]
{DID_TRACK {JOURNEY_08_NEW}}
# wmllint: validate-off
[side]
side=1
controller=human
recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton
{GOLD 260 220 180}
team_name=good
user_team_name= _ "Malin Keshar"
{FLAG_VARIANT undead}
color=darkblue
village_gold=2
village_support=1
# wmllint: recognize Malin Keshar
{CHARACTER_STATS_MALIN_KESHAR}
facing=ne
[/side]
# wmllint: validate-on
# Darken Volk
[side]
side=2
controller=ai
recruit=Blood Bat,Ghost,Wraith,Necrophage,Skeleton Archer,Bone Shooter,Skeleton,Revenant,Deathblade
{GOLD 170 220 270}
{INCOME 20 25 30}
team_name=bad
user_team_name= _ "Darken Volk"
no_leader=yes
{FLAG_VARIANT undead}
color=black
[ai]
village_value=0.2
villages_per_scout=10
[goal]
name=target
[criteria]
id=Malin Keshar
[/criteria]
value=2
[/goal]
[goal]
name=protect_unit
[criteria]
side=2
canrecruit=yes
[/criteria]
value=4
[/goal]
[/ai]
[/side]
# Paladins and co
[side]
side=3
controller=ai
recruit=Spearman,Heavy Infantryman,White Mage,Mage,Paladin
gold=0
team_name=wesnothians
user_team_name= _ "Wesnothians"
{FLAG_VARIANT loyalist}
color=gold
income=-2
no_leader=yes
hidden=yes
[ai]
village_value=0.1
villages_per_scout=10
#recruitment_pattern=fighter,healer
[goal]
name=target
[criteria]
side=2
[/criteria]
value=3
[/goal]
[goal]
name=target
[criteria]
side=1
[/criteria]
value=2
[/goal]
[/ai]
[/side]
# Dela Keshar
[side]
side=4
controller=ai
gold=0
recruit=Spearman,Bowman,Swordsman,Longbowman,Thug,Poacher,Footpad
team_name=wesnothians
user_team_name= _ "Wesnothians"
{FLAG_VARIANT loyalist}
color=green
income=-2
no_leader=yes
hidden=yes
[ai]
passive_leader=yes
[goal]
name=target
[criteria]
id=Malin Keshar
[/criteria]
value=2
[/goal]
[/ai]
[/side]
{PLACE_IMAGE scenery/wreck-2.png 16 4}
{PLACE_IMAGE scenery/dark-monolith.png 5 18}
{PLACE_IMAGE scenery/lighthouse.png 31 3}
[event]
name=prestart
{CLEAR_CORPSE_HORDE}
# leave some room for it to get darker later
{COLOR_ADJUST -12 -12 -12}
[objectives]
side=1
[objective]
condition=win
description= _ "Take the book back from Darken Volk"
[/objective]
[objective]
condition=lose
description= _ "Death of Malin Keshar"
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=no
carryover_percentage=40
[/gold_carryover]
[/objectives]
# Scenario variables
{VARIABLE bookX -1}
{VARIABLE bookY -1}
{MODIFY_UNIT (id=Malin Keshar) profile (portraits/malin_old-decay.png)}
[recall]
id=Darken Volk
x,y=2,26
[/recall]
[remove_trait]
id=Darken Volk
trait_id="loyal"
[/remove_trait]
[modify_unit]
[filter]
id=Darken Volk
[/filter]
side=2
canrecruit=yes
role=book_carrier
[/modify_unit]
[/event]
[event]
name=start
{MOVE_UNIT (id=Malin Keshar) 6 14}
{MOVE_UNIT (id=Darken Volk) 9 15}
[message]
speaker=Malin Keshar
message= _ "Well, we got your precious book and made it out of Tath in one piece. What do we do now?"
[/message]
[message]
speaker=Darken Volk
message= _ "‘We’? <i>We</i> do nothing."
[/message]
[if]
[variable]
name=hasBook
equals=Malin
[/variable]
[then]
# Malin has the book
{MOVE_UNIT (id=Darken Volk) 7 14}
[message]
speaker=Darken Volk
message= _ "Now give the book to me."
[/message]
[message]
speaker=narrator
image=wesnoth-icon.png
message=_ "Darken Volk grabs the mysterious book from Malin’s hands and stalks away."
[/message]
{MODIFY_UNIT (id=Darken Volk) facing se}
[/then]
[else]
# DV already has book
[message]
speaker=Darken Volk
message= _ "Now go your own way, and I will go mine."
[/message]
[/else]
[/if]
{COLOR_ADJUST -13 -13 -13}
{CLEAR_VARIABLE hasBook}
[unit_overlay]
id=Darken Volk
image="misc/book-icon.png"
object_id="book_icon"
[/unit_overlay]
{MODIFY_UNIT (id=Darken Volk) facing ne}
{MOVE_UNIT (id=Darken Volk) 9 15}
{MOVE_UNIT (id=Darken Volk) 11 15}
[delay]
time=500
[/delay]
[message]
speaker=Malin Keshar
message= _ "You can’t just leave me here!"
[/message]
{MOVE_UNIT (id=Malin Keshar) 7 15}
{COLOR_ADJUST -14 -14 -14}
{MOVE_UNIT (id=Malin Keshar) 8 14}
{CREATE_ADVISOR}
[message]
role=advisor
message= _ "Master, do you not see? He has merely been using you to get that book!"
[/message]
[message]
speaker=Malin Keshar
message= _ "What do you mean?"
[/message]
[message]
role=advisor
message= _ "He cares not about your noble quest to push back the orcs. He needed your help to fight the mages!"
[/message]
[message]
speaker=Malin Keshar
message= _ "Wait!"
[/message]
{MOVE_UNIT (id=Darken Volk) 12 15}
{COLOR_ADJUST -15 -15 -15}
[message]
speaker=Malin Keshar
message= _ "You used me! You knew the people of Parthyn would cast me out — you knew I had nobody else to turn to! You knew I would do whatever you said..."
[/message]
{MOVE_UNIT (id=Darken Volk) 13 16}
{COLOR_ADJUST -16 -16 -16}
[message]
speaker=Malin Keshar
message= _ "After all this time... I haven’t just been a pawn to you... have I?"
[/message]
[message]
speaker=Malin Keshar
message= _ "Why don’t you say anything?! Don’t you care at all?!"
[/message]
{MOVE_UNIT (id=Darken Volk) 16 17}
{COLOR_ADJUST -17 -17 -17}
[message]
speaker=Malin Keshar
message= _ "... you can’t abandon me too, not the way they did... Father, Drogan, Dela..."
[/message]
{MOVE_UNIT (id=Darken Volk) 17 17}
{MOVE_UNIT (id=Darken Volk) 20 18}
# darker and darker we go as Malin's mental state degenerates
{COLOR_ADJUST -18 -18 -18}
[message]
role=advisor
message= _ "He will not help you, but perhaps the book might. You were the one who helped him retrieve it. It is rightfully yours!"
[/message]
[message]
speaker=Malin Keshar
message= _ "Yes, I suppose that is right..."
[/message]
[message]
speaker=Malin Keshar
message= _ "Darken Volk! That book is as much mine as it is yours! Give it back, or I will take it by force!"
[/message]
[delay]
time=1000
[/delay]
{MODIFY_UNIT (id=Darken Volk) facing nw}
[delay]
time=1000
[/delay]
[message]
speaker=Darken Volk
message= _ "You are even more of a fool than I thought."
[/message]
{MOVE_UNIT (id=Darken Volk) 29 14}
# Make camp
[terrain]
x,y=29,14
radius=1
terrain=Cer
[/terrain]
[terrain]
x,y=29,14
terrain=Ker
[/terrain]
[redraw][/redraw]
{MODIFY_UNIT (id=Darken Volk) facing sw}
{MOVE_UNIT (id=Malin Keshar) 5 13}
[terrain]
x,y=5,13
radius=1
terrain=Cer
[/terrain]
[terrain]
x,y=5,13
terrain=Ker
[/terrain]
[redraw][/redraw]
{MODIFY_UNIT (id=Malin Keshar) facing ne}
{VARIABLE dela_arrived 0}
[/event]
# This helps prevent Darken from getting himself killed easily by preventing
# him from leaving his castle
[event]
name=side 2 turn refresh
first_time_only=no
[object]
silent=yes
duration=turn end
take_only_once=no
[filter]
id=Darken Volk
[/filter]
[effect]
apply_to=movement_costs
replace=yes
[movement_costs]
flat={UNREACHABLE}
[/movement_costs]
[/effect]
[/object]
[/event]
[event]
name=attack
[filter]
side=1
[/filter]
[filter_second]
side=2
[/filter_second]
# Let's check for whether he's still alive, just in case the
# paladins somehow killed him already
[filter_condition]
[have_unit]
id=Darken Volk
[/have_unit]
[/filter_condition]
[message]
speaker=Malin Keshar
message= _ "You let me believe Parthyn would accept me back, so when they didn’t, I would be willing to attack my own countrymen!"
[/message]
[message]
speaker=Darken Volk
message= _ "What you let yourself believe is no fault of mine. I gave you more power than you could have possibly dreamed. Use it to fight the orcs that annoy you so, not me."
[/message]
[message]
speaker=Malin Keshar
message= _ "You took my home away from me. You took Drogan away. You turned my sister against me! You have ruined my life!"
[/message]
[message]
speaker=Darken Volk
message= _ "The only thing I have done is given you the power to achieve your own goals. The rest, you have done yourself."
[/message]
[message]
speaker=Malin Keshar
message= _ "That’s not true! You can’t abandon me like this!"
[/message]
[message]
speaker=Darken Volk
message= _ "Fighting the orcs is your ambition, not mine. You cannot expect me to help you in an endeavor that does not concern me at all."
[/message]
[message]
speaker=Malin Keshar
message= _ "The very same to you! I helped you retrieve that book! If you will not help me with my mission, I will at least keep the fruits of my labor."
[/message]
[message]
speaker=Darken Volk
message= _ "Hardly. I will crush you easily."
[/message]
[message]
speaker=Malin Keshar
message= _ "Perhaps, but I have nothing left to lose..."
[/message]
[/event]
[event]
name=attack
[filter]
side=1
[/filter]
[filter_second]
id=Darken Volk
[/filter_second]
[message]
speaker=Malin Keshar
message= _ "Now you shall pay for what you have done to me."
[/message]
[message]
speaker=Darken Volk
message= _ "Done? I have done nothing but give you an opportunity. What you choose to do with your life is not my business. Leave me alone!"
[/message]
[/event]
# easter eggies
[event]
name=moveto
[filter]
id=Malin Keshar
x,y=5,18
[/filter]
[filter_condition]
[have_unit]
id=Darken Volk
[/have_unit]
[/filter_condition]
[message]
speaker=narrator
message= _ "A monolith of dark stone, marred by cracks running throughout."
[/message]
#ifdef EASY
{GIVE_MALIN_EXPERIENCE 12}
#endif
#ifdef NORMAL
{GIVE_MALIN_EXPERIENCE 10}
#endif
#ifdef HARD
{GIVE_MALIN_EXPERIENCE 8}
#endif
[allow_undo][/allow_undo]
[/event]
[event]
name=moveto
[filter]
side=1
x,y=31,3
[/filter]
# a lighthouse makes light and is a navigational aid
[message]
speaker=Malin Keshar
message= _ "This lighthouse has been dark for quite some time. I wonder if I could relight it?"
[/message]
[message]
speaker=Malin Keshar
message= _ "... no, that would be silly..."
[/message]
[/event]
[event]
name=moveto
[filter]
id=Jaime
x,y=16,4
[/filter]
[sound]
name=zombie-attack.wav
[/sound]
[delay]
time=1000
[/delay]
[sound]
name=zombie-hit-3.ogg
[/sound]
[delay]
time=500
[/delay]
[message]
speaker=Malin Keshar
message= _ "He seems to be drinking the remains of the wine in the cargo hold."
[/message]
# now Jaime becomes a super zombie...
[object]
silent=yes
duration=forever
[filter]
id=Jaime
[/filter]
[effect]
apply_to=attack
range=melee
increase_damage=2
[/effect]
[effect]
apply_to=hitpoints
increase=8
increase_total=8
[/effect]
[effect]
apply_to=movement
increase=2
[/effect]
[effect]
apply_to=attack
range=melee
[set_specials]
{WEAPON_SPECIAL_DRUNKEN_RAGE}
mode=append
[/set_specials]
[/effect]
[/object]
[/event]
# Paladins!
[event]
name=turn 6
# Fake move the paladin in, set up a camp, have some
# dialog, and give him another paladin and a mage of light
{INCIDENTAL_MUSIC loyalists.ogg}
[move_unit_fake]
type=Paladin
x=40,40,39,38,37
y=23,22,22,21,21
side=3
[/move_unit_fake]
[unit]
type=Paladin
side=3
x,y=37,21
id=Sir Cadaeus
name= _ "Sir Cadaeus"
canrecruit=yes
animate=no
facing=nw
[/unit]
{GENERIC_UNIT 3 (Paladin) 38 20} {FACING nw}
{GENERIC_UNIT 3 (Mage of Light) 38 21} {FACING nw}
# Make camp
[terrain]
x,y=37,21
radius=1
terrain=Ce
[/terrain]
[terrain]
x,y=37,21
terrain=Ke
[/terrain]
[redraw][/redraw]
[modify_side]
side=3
{QUANTITY gold 50 75 100}
{QUANTITY income 12 16 20}
hidden=no
[/modify_side]
[message]
speaker=Sir Cadaeus
message= _ "Your travels in this region have not gone unnoticed, necromancers! The disaster you wreaked upon the good city of Tath and the noble Lady Karae can only be paid back in turn with your blood. Yes, on this day, you shall have to answer for your innumerable crimes."
[/message]
[message]
speaker=Darken Volk
message= _ "Pompous words from an arrogant fool. We shall see how well you fare once I have finished this upstart."
[/message]
[/event]
# Dela joins the party
[event]
name=side 4 turn 13
{INCIDENTAL_MUSIC northern_mountains.ogg}
[move_unit_fake]
type=Frontier Baroness
x=41,40,39,38,37,36
y= 6, 6, 6, 6, 7, 7
side=4
[/move_unit_fake]
[unit]
side=4
x,y=36,7
animate=no
moves=0
facing=sw
# wmllint: recognize Dela Keshar
{CHARACTER_STATS_DELA_KESHAR}
[/unit]
# Make camp
[terrain]
x,y=36,7
radius=1
terrain=Ce
[/terrain]
[terrain]
x,y=36,7
terrain=Ke
[/terrain]
[redraw][/redraw]
[modify_side]
side=4
{QUANTITY gold 160 200 240}
{QUANTITY income 16 20 24}
hidden=no
[/modify_side]
{MODIFY_UNIT (id=Dela Keshar) profile (portraits/dela-mad.png)}
[message]
speaker=Dela Keshar
message= _ "I finally found you, Malin! At last, you’ll pay fer what you’ve done to my people and my home. I won’t let you live ta see another sunset."
[/message]
[message]
speaker=Malin Keshar
message= _ "... I suppose you did vow to kill me..."
[/message]
[message]
speaker=Dela Keshar
message= _ "You didn’t think I’d keep my word? You thought I’d forgive you fer killing Drogan and tearing apart our town? You don’t know how badly I want ta kill ya, Malin."
[/message]
[message]
speaker=Malin Keshar
message= _ "..."
[/message]
[message]
speaker=Dela Keshar
message= _ "Nothing to say this time? No quip ’bout how we don’t understand ya? No comment about yer moral superiority? I can only hope you’ll be so quiet when I kill you."
[/message]
{VARIABLE dela_arrived 1}
[/event]
[event]
name=last breath
[filter]
id=Dela Keshar
[/filter]
[message]
speaker=Dela Keshar
message= _ "Vile fiend... I regret that I was... not strong enough... to destroy you..."
[/message]
[message]
speaker=Malin Keshar
message= _ "You brought this on yourself..."
[/message]
[if]
[not]
[have_unit]
id=Sir Cadaeus,Darken Volk
[/have_unit]
[/not]
[then]
[kill]
id=Dela Keshar
animate=yes
[/kill]
[fire_event]
name=alternate victory
[/fire_event]
[/then]
[/if]
[/event]
[event]
name=last breath
[filter]
id=Sir Cadaeus
[/filter]
[message]
speaker=Sir Cadaeus
message= _ "For the Light I fall..."
[/message]
[if]
[not]
[have_unit]
id=Dela Keshar,Darken Volk
[/have_unit]
[/not]
[and]
[variable]
name=dela_arrived
numerical_equals=1
[/variable]
[/and]
[then]
[kill]
id=Sir Cadaeus
animate=yes
[/kill]
[fire_event]
name=alternate victory
[/fire_event]
[/then]
[/if]
[/event]
[event]
name=last breath
[filter]
id=Darken Volk
[/filter]
[message]
speaker=Malin Keshar
message= _ "See? This is what happens when you abandon me!"
[/message]
[message]
speaker=Darken Volk
message= _ "Ungrateful wretch, this is how you repay me? Curse you, Malin the Damned!"
[/message]
[kill]
id=Darken Volk
animate=yes
[/kill]
{PLACE_IMAGE items/book5.png $x1 $y1}
{VARIABLE bookX $x1}
{VARIABLE bookY $y1}
[message]
speaker=Malin Keshar
message= _ "I have already been cursed many times over. One more time is nothing..."
[/message]
{COLOR_ADJUST -20 -20 -20}
[delay]
time=1500
[/delay]
[message]
speaker=Malin Keshar
message= _ "Well, I suppose I should get that book off the battlefield."
[/message]
[objectives]
side=1
[objective]
condition=win
description= _ "Bring the book back to Malin’s camp"
[/objective]
[objective]
condition=lose
description= _ "Death of Malin Keshar"
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=no
carryover_percentage=40
[/gold_carryover]
[/objectives]
[message]
speaker=narrator
image=wesnoth-icon.png
message= _ "Pick up the book by moving a unit onto it. Bats and ghosts cannot carry the book."
[/message]
{REMOVE_IMAGE 5 18}
{PLACE_IMAGE scenery/black-monolith.png 23 14}
[event]
name=moveto
[filter]
id=Malin Keshar
x,y=23,14
[/filter]
[message]
speaker=narrator
message= _ "A monolith of black stone, broken shards inexplicably held together by nothingness."
[/message]
#ifdef EASY
{GIVE_MALIN_EXPERIENCE 12}
#endif
#ifdef NORMAL
{GIVE_MALIN_EXPERIENCE 10}
#endif
#ifdef HARD
{GIVE_MALIN_EXPERIENCE 8}
#endif
[allow_undo][/allow_undo]
[/event]
[/event]
[event]
name=die
first_time_only=no
[filter]
role=book_carrier
[/filter]
{VARIABLE bookX $x1}
{VARIABLE bookY $y1}
{PLACE_IMAGE (items/book5.png) ($bookX) ($bookY)}
[/event]
[event]
name=moveto
first_time_only=no
[filter]
x,y=$bookX,$bookY
side=1
[not]
type_adv_tree=Ghost,Vampire Bat
[/not]
[/filter]
[remove_item]
x,y=$x1,$y1
image="items/book5.png"
[/remove_item]
[role]
x,y=$x1,$y1
role=book_carrier
[/role]
[unit_overlay]
x,y=$x1,$y1
image="misc/book-icon.png"
object_id="book_icon"
[/unit_overlay]
[if]
[have_unit]
x,y=$x1,$y1
id=Malin Keshar
[/have_unit]
[then]
[message]
speaker=Malin Keshar
message= _ "I have the book."
[/message]
[/then]
[else]
[message]
speaker=Malin Keshar
message= _ "My minions have captured the book."
[/message]
[/else]
[/if]
{VARIABLE bookX -1}
{VARIABLE bookY -1}
[/event]
# Inform the player if a unit cannot pick up the book
[event]
name=moveto
first_time_only=no
[filter]
x=$bookX
y=$bookY
side=1
type=Ghost,Wraith,Spectre,Shadow,Nightgaunt
[/filter]