This file is indexed.

/usr/share/games/wesnoth/1.10/data/campaigns/Northern_Rebirth/scenarios/08b_Ray_of_Hope.cfg is in wesnoth-1.10-nr 1:1.10.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
#textdomain wesnoth-nr
[scenario]
    id=08b_Ray_of_Hope
    name= _ "Ray of Hope"
    {UNDERGROUND}
    turns=-1
    next_scenario=09b_Judgment
    victory_when_enemies_defeated="no"
    [story]
        [part]
            story= _ "With Malifor’s death, the magical controls over Tallin’s will vanished. Being suddenly confronted with the reality of his actions was too much for him, and so he fled. As he did so, visions of his dying friends — friends that he had slain — flashed before his eyes, while their voices chided him from the darkness. Frantically he tried to escape their condemnation, but it seemed that at every successive turn their numbers grew greater and greater, and their words cut more and more deeply into his ravaged soul. Screaming in desperation, he called upon his arts to banish them forever into the lands of the dead, but they seemed to laugh at his attempts and rebuke him even more forcibly for his betrayal."
            music=sad.ogg
        [/part]

        [part]
            story= _ "His thoughts soon turned to death as the only way to escape his punishment, and he immediately drew his dagger and plunged it into his heart. But as he stabbed himself again and again, he found that his feeble body failed to collapse, and his life force continued to dwell within his bones. Desperate, Tallin cast about for other ways of self-destruction. He soon detected the presence of a large body of water nearby, and some great monster living within its depths, and he stumbled blindly towards the oblivion offered by both."
        [/part]

        [part]
            story= _ "But as he approached the dark and menacing depths, he was accosted by the ghost of yet another creature."
        [/part]

        [part]
            story= _ "Abhai: Halt right there, oh vile minion of Malifor! Your attempts to enslave me yet again will fail. All you shall find here will be your own destruction!"
            #background=Abhai.png
        [/part]

        [part]
            story= _ "By the gods of darkness, what harm have I done to you? You have not been slain by me, nor by my minions. And Malifor is dead, and by the Gods I will never serve any of his likes ever again! Now get out of my way!"
            background=portraits/Tallin-Evil.png
        [/part]

        [part]
            story= _ "Abhai: Hold! Malifor has been slain? Then why am I not yet free of this ethereal body? Am I doomed to an eternity of unlife?"
            #background=Abhai.png
        [/part]

        [part]
            story= _ "Your troubles are none of my concerns. Begone!"
            background=portraits/Tallin-Evil.png
        [/part]

        [part]
            story= _ "Abhai: Now wait! Who are you, and what are you doing coming in this direction? I sense you are well versed in the dark arts; can you rid me of this body?"
            #background=Abhai.png
        [/part]

        [part]
            story= _ "I am Tallin. I was once a free man leading my people in a revolution against their orcish overlords, but I was tricked and enslaved by Malifor. While under his control, I have done unthinkable deeds — I have studied the most forbidden of arts, I have robbed the dead of their rest, and I have mercilessly butchered my friends like some sort of mindless abomination. Now I am haunted by all the evil I have done, and I see no way of escaping this torment other then self destruction."
            background=portraits/Tallin-Evil.png
        [/part]

        [part]
            story= _ "Abhai: I don’t think death will help you, my boy. As I am sure you have already learned, death itself will have nothing to do with you. Even if your body is destroyed, your life force will still roam this world in torment. Such is the fate for the likes of us."
            #background=Abhai.png
        [/part]

        [part]
            story= _ "Then what shall we do? The dying shrieks of my friends haunt me endlessly. It was because of me that they rose up against the orcs in the first place! They trusted me to always be there with them, guiding and leading them, and putting myself in the forefront of every battle. If I were not there they never would have risked their lives — nay, if I were not there they wouldn’t be dead right now! And I betrayed them! Those who trusted me most I slew with my own hands!"
            background=portraits/Tallin-Evil.png
        [/part]

        [part]
            story= _ "Abhai: Be at peace, Tallin. I know of the trials that you have gone through, for I have faced them myself, and having faced those same trials I can say that you are not at fault. It was Malifor who had bound you to his will, and thus the blame of all your crimes falls on him. Now that he is dead, you are free, both of his will, and of the crimes he has committed through you."
            #background=Abhai.png
        [/part]

        [part]
            story= _ "Nevertheless, it was my hands which wielded the staff that shattered the skulls of my friends. It was my lips which spoke the incantations to blast them with spells, or beset them with nightmares from another world. It was I who was not strong enough to resist his will. Your words, although kind, are not enough to relieve me of my guilt."
            background=portraits/Tallin-Evil.png
        [/part]

        [part]
            story= _ "Abhai: Whether or not you are at fault is often impossible for men like us to judge. Sometimes you think you are at fault while you actually are not, and at other times, you sometimes think you have committed no crime while you actually have. But there is one way in which this matter can be settled beyond the shadow of a doubt."
            #background=Abhai.png
        [/part]

        [part]
            story= _ "How is that?"
            background=portraits/Tallin-Evil.png
        [/part]

        [part]
            story= _ "Abhai: You must find the Rod of Justice."
            #background=Abhai.png
        [/part]

        [part]
            story= _ "The Rod of Justice? I have never heard of it."
            background=portraits/Tallin-Evil.png
        [/part]

        [part]
            story= _ "Abhai: You haven’t? It was an ancient artifact even when I was young. They say it was crafted by the Great Gods themselves, and given to the first true Ruler of Men to ensure peace, harmony and above all — justice. For hundreds of years now, it passed from king to successor. Ever since it has been wielded by men, the ruling class never became corrupt, the people never lacked justice and neither evil nor wars ever troubled the land."
            #background=Abhai.png
        [/part]

        [part]
            story= _ "Well, that certainly isn’t the state of affairs now. Knalga lies in ruins, orcs ravish the surface, and dark and evil creatures haunt the underground passages. In the meantime, Wesnoth is said to be ruled by the wicked and cruel queen Asheviere, while the rightful heir must have long since perished in his vain quest for the Sceptre of Fire."
            background=portraits/Tallin-Evil.png
        [/part]

        [part]
            story= _ "I had assumed things would be in such a state, as I can faintly sense the presence of the Rod of Justice nearby. I thought that if I could somehow reach the Rod, I would be able to destroy Malifor and be free of this state. Alas, it seems to be in vain now..."
            #background=Abhai.png
        [/part]

        [part]
            story= _ "But you said that this Rod may be able to help me?"
            background=portraits/Tallin-Evil.png
        [/part]

        [part]
            story= _ "Abhai: Yes, my boy. When I was king, I wielded the Rod of Justice. It contains such power that no creature that I have ever encountered can dare stand before it. However, if a person who grasps the staff is a criminal, or has a heart full of dark and evil, then the staff will smite them down as surely as you are standing there."
            #background=Abhai.png
        [/part]

        [part]
            story= _ "So you suggest that I grasp this Rod of Justice, as if it were to judge me?"
            background=portraits/Tallin-Evil.png
        [/part]

        [part]
            story= _ "Abhai: That is exactly what I suggest, my boy. When you grasp it, if you are destroyed, then that is an end to your torment. If you are not, then you know beyond a shadow of a doubt that the Great Gods do not hold you responsible for the acts Malifor has committed through you. Either way, it will be an end to your suffering."
            #background=Abhai.png
        [/part]

        [part]
            story= _ "Then we must find this rod. Lead the way, my friend."
            background=portraits/Tallin-Evil.png
        [/part]
    [/story]

    map_data="{campaigns/Northern_Rebirth/maps/08b_Ray_of_Hope.map}"

    [side]
        type=Peasant
        id=Tallin
        name=_ "Tallin"
        canrecruit=yes
        side=1
        controller=human
        {GOLD4 300 250 200 150}
        recruit=Walking Corpse,Skeleton,Skeleton Archer,Ghoul
        team_name=mob
        user_team_name=_"Minions"
        shroud=no
        fog=no
    [/side]

    [side]
        type=Fire Dragon
        id=Machador
        name= _ "Machador"
        canrecruit=yes
        side=2
        team_name=critters
        user_team_name=_"Monsters"
        {GOLD4 0 50 100 150}
        income=-2
    [/side]

    [side]
        type=Blood Bat
        id=Blood Bat 3
        canrecruit=yes
        side=3
        team_name=critters
        user_team_name=_"Monsters"
        {GOLD4 20 30 40 50}
        {INCOME4 2 4 6 8}
        recruit=Vampire Bat,Blood Bat
        [ai]
            simple_targeting=yes
            recruitment_ignore_bad_combat=yes
            recruitment_ignore_bad_movement=yes
            aggression=1.0
            caution=-5.0
            attack_depth=5
            leader_value=50.0
            villages_per_scout=0.0
            recruitment_pattern=scout
            [target]
                id=Tallin
                value=500
            [/target]
        [/ai]
    [/side]

    [side]
        type=Blood Bat
        id=Blood Bat 4
        canrecruit=yes
        side=4
        team_name=critters
        user_team_name=_"Monsters"
        {GOLD4 20 30 40 50}
        {INCOME4 2 4 6 8}
        recruit=Vampire Bat,Blood Bat

        [ai]
            simple_targeting=yes
            recruitment_ignore_bad_combat=yes
            recruitment_ignore_bad_movement=yes
            aggression=1.0
            caution=-5.0
            attack_depth=5
            leader_value=50.0
            villages_per_scout=0.0
            recruitment_pattern=scout
            [target]
                id=Tallin
                value=500
            [/target]
        [/ai]
    [/side]

    [side]
        type=Blood Bat
        id=Blood Bat 5
        canrecruit=yes
        side=5
        team_name=critters
        user_team_name=_"Monsters"
        {GOLD4 20 30 40 50}
        {INCOME4 2 4 6 8}
        recruit=Vampire Bat,Blood Bat
        [ai]
            simple_targeting=yes
            recruitment_ignore_bad_combat=yes
            recruitment_ignore_bad_movement=yes
            aggression=1.0
            caution=-5.0
            attack_depth=5
            leader_value=50.0
            villages_per_scout=0.0
            recruitment_pattern=scout
            [target]
                id=Tallin
                value=500
            [/target]
        [/ai]
    [/side]

    [side]
        type=Blood Bat
        id=Blood Bat 6
        canrecruit=yes
        side=6
        team_name=critters
        user_team_name=_"Monsters"
        {GOLD4 20 30 40 50}
        {INCOME4 2 4 6 8}
        recruit=Vampire Bat,Blood Bat
        [ai]
            simple_targeting=yes
            recruitment_ignore_bad_combat=yes
            recruitment_ignore_bad_movement=yes
            aggression=1.0
            caution=-5.0
            attack_depth=5
            leader_value=50.0
            villages_per_scout=0.0
            recruitment_pattern=scout
            [target]
                id=Tallin
                value=500
            [/target]
        [/ai]
    [/side]

    [side]
        type=Blood Bat
        id=Blood Bat 7
        canrecruit=yes
        side=7
        team_name=critters
        user_team_name=_"Monsters"
        {GOLD4 20 30 40 50}
        {INCOME4 2 4 6 8}
        recruit=Vampire Bat,Blood Bat
        [ai]
            simple_targeting=yes
            recruitment_ignore_bad_combat=yes
            recruitment_ignore_bad_movement=yes
            aggression=1.0
            caution=-5.0
            attack_depth=5
            leader_value=50.0
            villages_per_scout=0.0
            recruitment_pattern=scout
            [target]
                id=Tallin
                value=500
            [/target]
        [/ai]
    [/side]

    [side]
        type=Troll Warrior
        id=Gurk
        name= _ "Gurk"
        canrecruit=yes
        side=8
        team_name=critters
        user_team_name=_"Monsters"
        recruit=Troll,Troll Whelp,Troll Rocklobber
        {GOLD4 20 60 100 150}
    [/side]

    [side]
        type=Drake Flare
        id=Kishmish
        name= _ "Kishmish"
        canrecruit=yes
        side=9
        team_name=critters
        user_team_name=_"Monsters"
        gold=0
        income=-2
    [/side]

    [event]
        name=prestart
        [objectives]
            side=1
            [objective]
                condition=win
                description=_ "Find the Rod of Justice"
            [/objective]
            [objective]
                condition=lose
                description=_ "Death of Tallin"
            [/objective]
            [objective]
                condition=lose
                description=_ "Death of Abhai"
            [/objective]
        [/objectives]
    [/event]

    [event]
        name=start

        {PLACE_IMAGE items/ankh-necklace.png 87 66}

#ifdef EASY
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}

#endif

#ifdef NORMAL
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
#endif

#ifdef HARD
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
#endif

#ifdef NIGHTMARE
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}
        {LOYAL_UNIT 2 (Tentacle of the Deep) 91 38}

#endif

        [unit]
            type=Wraith
            side=1
            x=97
            y=40
            [modifications]
                {TRAIT_LOYAL}
                {TRAIT_INTELLIGENT}
            [/modifications]
            {IS_LOYAL}
            id=Abhai
            name= _ "Abhai"
            #profile=Abhai.png
        [/unit]

#define WARDEN X Y
    [unit]
        type=Drake Warden
        id=Nest Guardian
        x={X}
        y={Y}
        side=9
        ai_special=guardian
        random_traits=yes
        generate_name=yes
    [/unit]
#enddef

#define ARBITER X Y
    [unit]
        type=Drake Arbiter
        x={X}
        y={Y}
        side=9
        ai_special=guardian
        random_traits=yes
        generate_name=yes
    [/unit]
#enddef

#define ENFORCER X Y
    [unit]
        type=Drake Enforcer
        x={X}
        y={Y}
        side=9
        ai_special=guardian
        random_traits=yes
        generate_name=yes
    [/unit]
#enddef

#define THRASHER X Y
    [unit]
        type=Drake Thrasher
        x={X}
        y={Y}
        side=9
        ai_special=guardian
        random_traits=yes
        generate_name=yes
    [/unit]
#enddef

        {WARDEN 6 22}
        {WARDEN 6 18}
        {ARBITER 13 23}
        {ARBITER 15 23}
        {ARBITER 21 20}
        {ARBITER 21 22}
        {ARBITER 26 19}
        {ARBITER 28 19}
        {ARBITER 34 19}
        {ARBITER 34 22}
        {ARBITER 36 19}
        {ARBITER 36 22}
        {ARBITER 40 19}
        {ARBITER 42 19}
        {ARBITER 57 23}
        {ARBITER 56 24}
        {ENFORCER 46 21}
        {ENFORCER 43 25}
        {ENFORCER 50 29}
        {ENFORCER 52 29}
        {THRASHER 13 27}
        {THRASHER 15 27}
        {THRASHER 26 15}
        {THRASHER 28 15}
        {THRASHER 37 18}
        {THRASHER 33 18}
        {THRASHER 34 14}
        {THRASHER 37 15}
        {THRASHER 40 12}
        {THRASHER 42 12}
        {THRASHER 34 26}
        {THRASHER 36 26}

#undef WARDEN
#undef ARBITER
#undef ENFORCER
#undef THRASHER

        {PLACE_IMAGE terrain/village/desert2.png 12 28}
        {PLACE_IMAGE terrain/village/desert2.png 14 29}
        {PLACE_IMAGE terrain/village/desert2.png 24 13}
        {PLACE_IMAGE terrain/village/desert2.png 27 13}
        {PLACE_IMAGE terrain/village/desert2.png 36 28}
        {PLACE_IMAGE terrain/village/desert2.png 33 29}
        {PLACE_IMAGE terrain/village/desert2.png 43 11}
        {PLACE_IMAGE terrain/village/desert2.png 41 10}
        {PLACE_IMAGE items/gold-coins-large.png 27 52}
        {PLACE_IMAGE items/gold-coins-large.png 27 51}
        {PLACE_IMAGE items/gold-coins-large.png 26 52}
        {PLACE_IMAGE items/gold-coins-large.png 26 51}
        {PLACE_IMAGE items/gold-coins-large.png 28 51}
        {PLACE_IMAGE items/gold-coins-large.png 28 52}
        {PLACE_IMAGE items/gold-coins-large.png 25 52}
        {PLACE_IMAGE items/staff.png 27 52}
        {PLACE_IMAGE hatchling.png 16 28}
        {PLACE_IMAGE hatchling.png 12 29}
        {PLACE_IMAGE hatchling.png 10 27}
        {PLACE_IMAGE hatchling.png 23 12}
        {PLACE_IMAGE hatchling.png 26 13}
        {PLACE_IMAGE hatchling.png 29 14}
        {PLACE_IMAGE hatchling.png 39 10}
        {PLACE_IMAGE hatchling.png 41 11}
        {PLACE_IMAGE hatchling.png 44 11}
        {PLACE_IMAGE hatchling.png 33 28}
        {PLACE_IMAGE hatchling.png 37 28}
        {PLACE_IMAGE hatchling.png 35 30}

        {PLACE_IMAGE hatchling.png 56 59}

        [message]
            speaker=narrator
            message= _ "Tallin, accompanied by the ghost of the king — whose name he soon discovered to be Abhai — set off down the tunnels in search of the Rod of Justice. However, their way was soon blocked by the body of water that Tallin had sensed, as well as the monster that dwelt in its depths."
            image=wesnoth-icon.png
        [/message]

        [message]
            speaker=Abhai
            message= _ "I have tried to pass by this body of water many times, but each time the creature that dwells in the depths blocks me. I have cut off many of its arms and yet they still keep growing back. However, without entering the depths of these waters we can’t destroy the creature."
        [/message]

        [message]
            speaker=Tallin
            image=portraits/Tallin-Evil.png
            message= _ "Then we shall have to pass it by. If we quickly cut off its arms we may be able to make a safe crossing."
        [/message]

        [message]
            speaker=Abhai
            message= _ "To do this, Tallin, you must call upon your art, for simply the both of us together will not be sufficient to cut off its arms fast enough."
        [/message]

        [message]
            speaker=Tallin
            image=portraits/Tallin-Evil.png
            message= _ "Never! I refuse to utter those cursed words!"
        [/message]

        [message]
            speaker=Abhai
            message= _ "No art in itself is ever evil, my boy; evil or good is in is the use to which it is put. But now is not the time to argue; see how the arms of this creature reach for us! Quickly, we must defeat this creature!"
        [/message]

        [message]
            speaker=Tallin
            image=portraits/Tallin-Evil.png
            message= _ "Very well, if there is no other way..."
        [/message]
    [/event]

    [event]
        name=last breath
        [filter]
            id=Tallin
        [/filter]

        [message]
            speaker=Tallin
            image=portraits/Tallin-Evil.png
            message= _ "At last, I am free..."
        [/message]

        [endlevel]
            result=defeat
        [/endlevel]
    [/event]

    [event]
        name=moveto
        [filter]
            side=1
            x=66-71
            y=52-58
        [/filter]

        [message]
            speaker=Tallin
            image=portraits/Tallin-Evil.png
            message= _ "I don’t know what it is, but I can sense some sort of energy radiating from yonder passage. Could this possibly be the Rod of Justice, Abhai?"
        [/message]

        [message]
            speaker=Abhai
            message= _ "I don’t think so, my boy. I sense the Rod’s power coming from another direction. However, one can never be too sure in matters such as these. It would be wise to investigate."
        [/message]
    [/event]

    [event]
        name=moveto
        [filter]
            side=1
            x=82-91
            y=62-69
        [/filter]

        {LOYAL_UNIT 2 (Giant Spider) 95 60}
        {LOYAL_UNIT 2 (Giant Spider) 97 62}
        {LOYAL_UNIT 2 (Giant Spider) 97 68}
        {LOYAL_UNIT 2 (Giant Spider) 95 70}
        {LOYAL_UNIT 2 (Giant Spider) 89 74}
        {LOYAL_UNIT 2 (Giant Spider) 84 72}
        {LOYAL_UNIT 2 (Giant Spider) 78 70}
        {LOYAL_UNIT 2 (Giant Spider) 76 68}

        [message]
            type=Giant Spider
            message= _ "HISSSS" # wmllint: no spellcheck
        [/message]
    [/event]

    [event]
        name=moveto
        [filter]
            side=1
            x=87
            y=66
        [/filter]
        [remove_item]
            x=87
            y=66
        [/remove_item]
        [object]
            id=strength_amulet
            name=Amulet of Strength
            image=attacks/staff-elven.png
            duration=forever
            description= _ "Showing signs of ancient elvish manufacture, this amulet grants whomever is wearing it increased strength, stamina and protection against <i>fire</i> and <i>arcane</i> attacks."

            [effect]
                apply_to=attack
                range=melee
                increase_damage=3
            [/effect]
            [effect]
                apply_to=hitpoints
                increase_total=15
                heal_full=yes
            [/effect]
            [effect]
                apply_to=resistance
                replace=true
                [resistance]
                    fire=30
                    arcane=20
                [/resistance]
            [/effect]
        [/object]

        [message]
            speaker=Abhai
            message= _ "The Amulet of Strength, how fascinating. However — though it may be a useful trinket, it is hardly the Rod of Justice. Let us proceed in our mission."
        [/message]
    [/event]

    [event]
        name=moveto
        [filter]
            side=1
            x=45-49
            y=68-72
        [/filter]

        [unit]
            side=8
            type=Troll
            x=49
            y=72
            id=Troll
        [/unit]
        [unit]
            side=8
            type=Troll Whelp
            x=48
            y=72
        [/unit]
        [unit]
            side=8
            type=Troll Whelp
            x=50
            y=72
        [/unit]

        [message]
            speaker=Troll
            message= _ "Bah! More undead. Alert chief!"
        [/message]

#ifdef EASY
        [gold]
            side=8
            amount=250
        [/gold]
#endif

#ifdef NORMAL
        [gold]
            side=8
            amount=300
        [/gold]
#endif

#ifdef HARD
        [gold]
            side=8
            amount=375
        [/gold]
#endif

#ifdef NIGHTMARE
        [gold]
            side=8
            amount=450
        [/gold]
#endif
    [/event]

    [event]
        name=moveto
        [filter]
            side=1
            x=5-10
            y=42-47
        [/filter]

        [unit]
            side=9
            type=Dwarvish Lord
            id=Haffel
            name= _ "Haffel"
            x=10
            y=45
        [/unit]

        [unit]
            side=9
            type=Dwarvish Dragonguard
            id=Hekkna
            name= _ "Hekkna"
            x=8
            y=45
        [/unit]

        [unit]
            side=9
            type=Dwarvish Steelclad
            x=8
            y=46
        [/unit]

        [unit]
            side=9
            type=Dwarvish Steelclad
            x=8
            y=44
        [/unit]

        [unit]
            side=9
            type=Dwarvish Thunderguard
            x=7
            y=46
        [/unit]

        [unit]
            side=9
            type=Dwarvish Thunderguard
            x=7
            y=45
        [/unit]

        [allow_recruit]
            side=9
            type=Draker Clasher,Drake Burner,Drake Fighter
        [/allow_recruit]

#ifdef EASY
        [gold]
            side=9
            amount=300
        [/gold]
#endif

#ifdef NORMAL
        [gold]
            side=9
            amount=350
        [/gold]
#endif

#ifdef HARD
        [gold]
            side=9
            amount=400
        [/gold]
#endif

#ifdef NIGHTMARE
        [gold]
            side=9
            amount=450
        [/gold]
#endif

        [message]
            speaker=Haffel
            message= _ "Sound the alert, boys, a group of undead approach."
        [/message]

        [message]
            speaker=Tallin
            image=portraits/Tallin-Evil.png
            message= _ "Peace, peace! We do not wish to fight. Let us pass and we shall do you no harm."
        [/message]

        [message]
            speaker=Haffel
            message= _ "Ha! You hear that, brother! This scum says he means us no harm, and simply wishes to pass!"
        [/message]

        [message]
            speaker=Hekkna
            message= _ "Haha! As if he can just ‘pass through’ a Drake nesting cave."
        [/message]

        [message]
            speaker=Tallin
            image=portraits/Tallin-Evil.png
            message= _ "We have no business with these creatures you speak of. We simply seek the Rod of Justice."
        [/message]

        [message]
            speaker=Haffel
            message= _ "Ah ha! That’s what he is after. I bet he is having delusions of using it to conquer the world or something."
        [/message]

        [message]
            speaker=Hekkna
            message= _ "Haha!"
        [/message]

        [message]
            speaker=Haffel
            message= _ "Well, tell you what, buddy, I just ate so I am not really in the mood for a fight right now. Let me just give you the facts and then you can turn around and leave."
        [/message]

        [message]
            speaker=Tallin
            image=portraits/Tallin-Evil.png
            message= _ "What facts?"
        [/message]

        [message]
            speaker=Haffel
            message= _ "First of all, most people can’t hold the Rod of Justice for more then a few seconds without it burning their hand. For you, it would probably burn you up alive in seconds. Secondly, it has been in the possession of an extremely powerful and ancient dragon for centuries now. Not only will the dragon roast you alive, but he has a whole nest of drakes at his beck and call to join in the fun."
        [/message]

        [message]
            speaker=Abhai
            message= _ "A dragon. Hmmm, creatures such as these are often fascinated by magical objects. However, the Rod of Justice is far too important to be simply the plaything of a dragon. Tallin, we must retrieve it and bring peace to this land."
        [/message]

        [message]
            speaker=Tallin
            image=portraits/Tallin-Evil.png
            message= _ "Now hold on, here, what is this talk of me saving the world all the sudden. Just take a look at who you are talking to here..."
        [/message]

        [message]
            speaker=Abhai
            message= _ "I guess now is not the right time to bring up this topic. However, the fact remains, we much reach the Rod of Justice."
        [/message]

        [message]
            speaker=Tallin
            image=portraits/Tallin-Evil.png
            message= _ "Agreed, but I do not wish to stain my hands with the blood of these creatures as well."
        [/message]

        [message]
            speaker=Hekkna
            message= _ "We also would much rather take a nap, but if you don’t hurry up and move it we will shoot you down."
        [/message]

        [message]
            speaker=Tallin
            image=portraits/Tallin-Evil.png
            message= _ "You leave us with no choice."
        [/message]
    [/event]

    [event]
        name=moveto
        [filter]
            side=1
            x=48-54
            y=31-38
        [/filter]

        [allow_recruit]
            side=2
            type=Fire Drake,Drake Flare,Drake Warrior
        [/allow_recruit]

        [message]
            speaker=unit
            message= _ "Phew, it’s hot down here!"
        [/message]

        [message]
            speaker=Tallin
            image=portraits/Tallin-Evil.png
            message= _ "I have a feeling that this is the lair of that dragon those chaps were talking about a while back."
        [/message]

        [message]
            speaker=Abhai
            message= _ "You must be right; I feel that the Rod of Justice is extremely close now."
        [/message]
    [/event]

    [event]
        name=moveto
        [filter]
            side=1
            x=12-19
            y=20-22
        [/filter]

        [message]
            speaker=Tallin
            image=portraits/Tallin-Evil.png
            message= _ "We have broken into the drake nest. Although we must fight our way through, let us avoid the side passages where I am sure the hatchlings are raised. Destroying them would simply be needless killing."
        [/message]
    [/event]

    [event]
        name=moveto
        [filter]
            side=1
            x=32-37
            y=14-17
        [/filter]

        [message]
            speaker=unit
            message= _ "Wow, that’s a long way up! This must be the place where drakes leave their nest when they grow wings."
        [/message]
    [/event]

    [event]
        name=moveto
        [filter]
            side=1
            x=83
            y=37
        [/filter]

        [message]
            speaker=unit
            message= _ "I can see a tiny speck of light in the distance. We must be miles from the surface."
        [/message]

        [message]
            speaker=Abhai
            message=_ "If you are quite finished enjoying the view, then get your sorry soul back in line. I don’t know why you bothered going down that passage in the first place — nothing there but a bunch of bats."
        [/message]
    [/event]

    [event]
        name=moveto
        [filter]
            side=1
            x=48
            y=78
        [/filter]

        [message]
            speaker=unit
            message= _ "I found a way to the surface — that is if you feel like climbing straight up for miles on end..."
        [/message]

        [message]
            speaker=Abhai
            message=_ "If you are quite finished enjoying the view, then get your sorry soul back in line. I don’t know why you bothered going down that passage in the first place — nothing there but a bunch of bats."
        [/message]
    [/event]

    [event]
        name=moveto
        [filter]
            side=1
            x=6
            y=79
        [/filter]

        [message]
            speaker=unit
            message= _ "Wow, a tiny patch of sunlight all the way down here."
        [/message]

        [message]
            speaker=Abhai
            message=_ "If you are quite finished enjoying the view, then get your sorry soul back in line. I don’t know why you bothered going down that passage in the first place — nothing there but a bunch of bats."
        [/message]
    [/event]

    [event]
        name=moveto
        [filter]
            side=1
            x=14-20
            y=80
        [/filter]

        [message]
            speaker=Abhai
            message= _ "Don’t bother heading down this passage further, Tallin. I am sure that The Rod is not in this direction."
        [/message]
    [/event]

    [event]
        name=moveto
        [filter]
            side=1
            x=66-70
            y=14-22
        [/filter]

        [message]
            speaker=unit
            message= _ "I can faintly feel a breeze of fresh air. Perhaps this passage leads to the surface."
        [/message]

        [message]
            speaker=Abhai
            message= _ "We do not seek the surface, Tallin, we seek the Rod of Justice. I see no gain from exploring this passage further."
        [/message]
    [/event]

    [event]
        name=sighted
        [filter]
            id=Machador
        [/filter]

        [message]
            speaker=Machador
            message= _ "You fools! Have the land of the dead refused you entry that you have dared come here!"
        [/message]

        [message]
            speaker=Tallin
            image=portraits/Tallin-Evil.png
            message= _ "We do not wish to fight you, Great One, we simply seek the Rod of Justice — which we believe is in your possession."
        [/message]

        [message]
            speaker=Machador
            message= _ "The Rod of Justice was not made to be the plaything of a demented sorcerer such as you. It is perhaps the most powerful artifact that I have ever encountered."
        [/message]

        [message]
            speaker=Tallin
            image=portraits/Tallin-Evil.png
            message= _ "We need that Rod of Justice, dragon. If you don’t hand it over to us peacefully, then we will have to take it by force."
        [/message]

        [message]
            speaker=Machador
            message= _ "I tire of your insolence! Prepare to die!"
        [/message]
    [/event]

    [event]
        name=last breath
        [filter]
            id=Machador
        [/filter]

        [message]
            speaker=Machador
            message= _ "How shameful! I have lived for over fifty thousand years, I have crushed countless foes and raised countless generations of drakes — and now I am defeated by a mere Sorcerer!"
        [/message]

        [message]
            speaker=Abhai
            message= _ "Well done, Tallin. The Rod of Justice is ours now. Now go forth, grasp the Rod of Justice and put all your fears and nightmares to rest."
        [/message]

        [set_variable]
            name=dragonkilled
            value=1
        [/set_variable]
    [/event]

    [event]
        name=moveto
        first_time_only=no
        [filter]
            id=Tallin
            x=27
            y=52
        [/filter]

        [if]
            [variable]
                name=dragonkilled
                numerical_equals=0
            [/variable]

            [then]
                [message]
                    speaker=Tallin
                    image=portraits/Tallin-Evil.png
                    message= _ "I really should slay the dragon before I touch this..."
                [/message]
            [/then]
        [/if]

        [if]
            [variable]
                name=dragonkilled
                numerical_equals=1
            [/variable]

            [then]
                {CLEAR_VARIABLE dragonkilled}

                [endlevel]
                    result=victory
                [/endlevel]
            [/then]
        [/if]
    [/event]

    # wmllint: recognize Tentacle

    [event]
        name=die
        first_time_only=no
        [filter]
            id=Tentacle
        [/filter]

        [unit]
            type=Tentacle of the Deep
            side=2
            x=82
            y=29
            id=Tentacle
        [/unit]
    [/event]
[/scenario]