summaryrefslogblamecommitdiff
path: root/npc/003-1/sewer.txt
blob: b490f9923b8f5fd22a4e070fb0ed5bb4db325bc5 (plain) (tree)
1
2
3
4
5
6
7
8







                                                       



                                                   

                            
                                             









                                                       



                                                   

                            
                                             








                                     














                                                                          
// 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;
}