summaryrefslogtreecommitdiff
path: root/npc/003-1/sewer.txt
blob: b490f9923b8f5fd22a4e070fb0ed5bb4db325bc5 (plain) (blame)
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
// TMW2 scripts.
// Author:
//    Jesusalva
// Notes:
//    TW: Tulimshar, West
//    TE: Tulimshar, East

003-1,56,84,0	script	#Sewer-TW	NPC_NO_SPRITE,{
    if (getq(TulimsharQuest_Sewers) == 0) {
        dispbottom l("The sewer mouth is locked.");
        end;
    }
    if (BaseLevel < 25) end;

    mesc l("Descend into Tulimshar sewers?");
    if (askyesno() == ASK_YES) {
        closedialog;
        warp "003-1-1", 57, 100;
        dispbottom l("Blame Saulc.");
        end;
    }
    close;
}

003-1,115,111,0	script	#Sewer-TE	NPC_NO_SPRITE,{
    if (getq(TulimsharQuest_Sewers) == 0) {
        dispbottom l("The sewer mouth is locked.");
        end;
    }
    if (BaseLevel < 25) end;

    mesc l("Descend into Tulimshar sewers?");
    if (askyesno() == ASK_YES) {
        closedialog;
        warp "003-1-1", 143, 128;
        dispbottom l("Blame Saulc.");
        end;
    }
    close;
}

003-1,73,133,0	script	#ToTheater	NPC_HIDDEN,0,0,{
    end;

OnTouch:
    warp "003-9-1", 27, 37;
    .@q=getq(General_EasterEggs);

    if (!(.@q & EE_THEATER)) {
        setq General_EasterEggs, .@q|EE_THEATER;
        dispbottom l("For finding an Easter Egg, you got Strange Coins!");
        getitem StrangeCoin, 2;
    }

    end;
}