summaryrefslogtreecommitdiff
path: root/npc/005-1/underground.txt
blob: bd5b2145b4bd769257ce45268596ba456cd11c5b (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
// TMW2 Script
// Author:
//    Crazyfefe
//    Jesusalva

005-1,65,63,0	script	Sign#0051UG	NPC_SWORDS_SIGN,{
    mes ".:: "+l("DANGER")+" ::.";
    mesc l("Endless, cute, dangerous, deadly.");
    mesc l("Only those whom overcome all Candor Challenges shall wield ultimate power.");
    mes "";
    mesc l("-- The Expedition");
    close;

OnInit:
    .sex = G_OTHER;
    .distance = 3;
    end;
}

// Effective Warp
005-1,66,62,0	script	Magic Barrier#0051	NPC_HIDDEN,0,0,{
    end;

OnTouch:
    if (TUTORIAL && !@candor_warn) {
        mesc ".:: "+l("WARNING")+" ::.", 1;
        mesc l("You're about to enter a dangerous zone!");
        mesc l("Outside towns, there's an EXP penalty if you die.");
        mes "";
        mes l("This cave is considered outside the town!");
        next;
        mesc l("Enter anyway?");
        mesc l("EXP Penalty: ON"), 1;
        if (askyesno() == ASK_NO) close;
        closeclientdialog;
        @candor_warn = true; // Maybe record this in a more definitive way
    }
    warp "006-0", 49, 53;
    end;
}