summaryrefslogtreecommitdiff
path: root/npc/014-2/trap.txt
blob: 924943dbdbb655241564c0f14379e91c4607e680 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// TMW2 scripts.
// Authors:
//    Jesusalva
// Description:
//    Gemini Sisters Quest - Traps

014-2,230,58,0	script	#GeminiTrap1	NPC_HIDDEN,0,0,{
OnTouch:
    if (getq(General_Narrator) < 16) {
        mesc l("WARNING:"), 1;
        mes l("You are not welcome on this island.");
        mes "";
        mes l("No mercy will be shown, turn back now!");
        mes "";
        mes l("-- Valia G.");
        close;
    }
    end;
}

014-2,230,60,0	script	#GeminiTrap2	NPC_HIDDEN,0,0,{
OnTouch:
    if (getq(General_Narrator) < 16) {
        slide 230, 56;
        dispbottom l("You are pushed back with extreme force!");
        percentheal -15, 0;
    }
    end;
}

014-2,228,64,0	script	#GeminiTrap3	NPC_HIDDEN,0,0,{
OnTouch:
    if (getq(General_Narrator) < 16) {
        slide 230, 56;
        dispbottom l("You are pushed back with absolute force!");
        percentheal -85, 0;
    }
    end;
}

// Should never trigger
014-2,221,69,0	script	#GeminiTrap4	NPC_HIDDEN,1,1,{
OnTouch:
    if (getq(General_Narrator) < 16) {
        warp "Save", 0, 0;
        dispbottom l("You don't feel so well... And then, you're dead.");
        die();
        end;
    }
    end;
}