summaryrefslogtreecommitdiff
path: root/npc/004-2/sign.txt
blob: 46a2e757c49f8f80292b14724d9ccd8ff9199ec9 (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
// TMW2 Script.
// Author:
//    Jesusalva
// Description:
//    Error Handler

004-2,64,63,0	script	Sign#HalinRoute	NPC_SWORDS_SIGN,{
    mesc "← "+l("Tulimshar");
    mesc "→ "+l("Canyon - Safe Route");
    mesc "↓ "+l("Canyon - Settlement Route");
    mes "";
    mesc l("\"Follow the light.\" - Weary traveler");
    mesc l("\"Those whom believe the Pink Moouboo wear rock knifes at the entrances.\" - Aahna");
    mesc l("\"Those whom stray from the light shall met a quick death.\" - Saulc, from the 'Blame Saulc' famous book"), 1;
    close;

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

004-2,81,23,0	script	Sign#TempBugfix	NPC_SWORDS_SIGN,{
    if (countitem(DesertTablet)) goto L_Tablet;
    if (MAGIC_LVL >= 7) goto L_RawPower;
    mesc l("Impossible to read.");
    close;

L_Tablet:
    mes l("The %s shines with a strange light...", getitemlink(DesertTablet));
    next;
    closeclientdialog;
    cwarp "001-3", 117, 135;
    close;

L_RawPower:
    mes l("You can sense powerful cloaking magic emanating from this sign. With your superior magic, you dismiss the enchantment, and see what the cliffs have been hiding all along...");
    next;
    closeclientdialog;
    cwarp "001-3", 117, 135;
    close;

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