summaryrefslogtreecommitdiff
path: root/npc/006-6/core.txt
blob: f5d9585dfa2098b5b490c1e3a0e26069e9b2645e (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
// TMW2 Script
// Author:
//    Jesusalva

006-6,46,26,0	script	Magic Barrier#0066	NPC_HIDDEN,0,0,{
    end;

OnTouch:
    if (!(getq(General_EasterEggs) & EE_SNOWMAN)) goto L_Reject;
    if (SCANDORPTS < 300) goto L_Reject;
    //if (!getq(CandorQuest_Area3)) goto L_Reject;
    if (getq(General_Narrator) < 17) goto L_Reject; // Frostia Arc must be finished
    /* Some of previous sections come back to bite you, now */
    if (CRAZYPOINTS < 10) goto L_Reject;


    // FIXME: B4F is not ready, so fallthrough to L_Reject
L_Reject:
    //warp "006-10", 42, 48;
    specialeffect(5000, SELF, getcharid(3));
    dispbottom l("The power which lies in Candor rejects your strength.");
    sleep2(3000);
    specialeffect(5002, SELF, getcharid(3));
    end;
}