summaryrefslogtreecommitdiff
path: root/npc/003-4/warp.txt
blob: 399cddc240c9a386282f062cbccd09ff43dee3ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// TMW2 Scripts.

003-4,38,31,0	script	Mahoud Basement	NPC_HIDDEN,0,0,{

OnTouch:
    dispbottom(isinstance(getq2(TulimsharQuest_Hasan)));
    dispbottom(getq2(TulimsharQuest_Hasan));
    end;
    if (isinstance(getq2(TulimsharQuest_Hasan)))
        warp "hasn@"+str(getcharid(0)), 34, 27;
    else if (getq(TulimsharQuest_Hasan) > 3)
        warp "003-4-1", 34, 27;
    else
        dispbottom l("This door is locked.");
    end;
}