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

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

OnTouch:
    // Instance 0 is reserved by system
    if (instanceowner(getq2(TulimsharQuest_Hasan)) == getcharid(3))
        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;
}