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

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

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