summaryrefslogtreecommitdiff
path: root/npc/016-1/doors.txt
blob: 42065a9bf4232d9e6f425dde2c1267a1ab484c3e (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
// TMW2 Scripts.
// Author:
//    Jesusalva
// Description:
//    La Marine ship Doors NPCs.

016-1,21,25,0	script	#MarineToOutside	NPC_HIDDEN,0,0,{

OnTouch:
    .@nard = getq(ShipQuests_Nard);

    if (LOCATION$ == "Hurns") {
        warp "012-1", 141, 65;
        close;
    }
    if (LOCATION$ == "Tulim") {
        warp "003-1", 119, 25;
        close;
    }
    mesc l("Oh noes! The door is locked!! Quick! Call a GM!!!"), 1;
    close;
}