summaryrefslogtreecommitdiff
path: root/npc/002-3/nathan.txt
blob: 05966dce04b4dfa79afb0e79e8b6a9aefb2543a8 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
002-3,42,45,6	script	Nathan	NPC109,{
    if (QL_MINEALL >= 20) goto L_Nathan_Complete;
    if (QL_MINEALL == 19) goto L_Nathan_UGQ_Naem;
    if (QL_MINEALL == 18) goto L_Nathan_Help_Cool;
    if (QL_MINEALL == 17) goto L_Nathan_Help_Done;
    if (QL_MINEALL == 16) goto L_Nathan_Waits_3;
    if (QL_MINEALL == 15) goto L_Nathan_Help_3;
    if (QL_MINEALL == 14) goto L_Nathan_Waits_2;
    if (QL_MINEALL == 13) goto L_Nathan_Help_2;
    if (QL_MINEALL == 12) goto L_Nathan_Waits_1;
    if (QL_MINEALL == 11) goto L_Nathan_Help_1;
    if (QL_MINEALL == 9) goto L_Nathan_Cool;
    if (QL_MINEALL == 8) goto L_Nathan_Okay;

    mesn l("Nathan the Miner");
    mesq l("It's very dangerous in here. We had a big earthquake here just recently, too... so be careful!");
    next;
    mesn;
    mesq l("The mines are to the right, top most cave. Several other caves have opened, though. For your own safety... Stay away from these!");
    goto L_close;

L_Nathan_Okay:
    QL_MINEALL = 9;
    mesn;
    mes "\"Hey there!  Just mining away down here. You say Nickos was worried about us?  Nothing down here we can't handle, but you should try to be safe down here yourself. The monsters can be rather aggressive. Come to think of it, you might want to check on Naem to make sure he's okay. You can find him in the southeast parts of the mine.\"";
    // FIXME: Move this to a warning sign
    mesc l("The mines are to the right, top most cave. However, due the earthquake, other entrances have opened.");
    goto L_close;

L_Nathan_Cool:
    mesn;
    mes "\"Hey, be careful down here, the monsters can be rather aggressive!  You might want to check on Naem too. He's at the southeast parts of the mine.\"";
    goto L_close;

L_Nathan_Help_1:
    QL_MINEALL = 12;
    mesn;
    mes "\"Oh, hey again!  Nickos told you we need some help down here too?  Yeah, Naem could use a spare pair of hands moving his bags of ore to me. He's got a lot of work built up. Just go talk to him and he'll give you the bags. You might have to make a few trips, but I'll make it worth your troubles.\"";
    goto L_close;

L_Nathan_Waits_1:
    mesn;
    mes "\"Naem could use some help moving his bags of ore to me. He's got a lot of work built up. Just go talk to him and he'll give you the bags. You might have to make a few trips, but I'll make it worth your troubles.\"";
    goto L_close;

L_Nathan_Help_2:
    QL_MINEALL = 14;
    mes "You give the bag of ore to Nathan";
    next;
    mesn;
    mes "\"Ah, thank you. Just a couple more and we'll have caught up!\"";
    goto L_close;

L_Nathan_Waits_2:
    mesn;
    mes "\"Just a couple more and we'll be all caught up!\"";
    goto L_close;

L_Nathan_Help_3:
    QL_MINEALL = 16;
    mes "You hand the bag of ore to Nathan.";
    next;
    mesn;
    mes "\"Just one more bag and you'll be done!\"";
    goto L_close;

L_Nathan_Waits_3:
    mesn;
    mes "\"Just get one more bag of ore from Naem and bring it to me and you'll be done.\"";
    goto L_close;

L_Nathan_Help_Done:
    getinventorylist;
    if (@inventorylist_count == 100)
        goto L_Nathan_TooMany;
    QL_MINEALL = 18;
    getitem "MinersHat", 1;
    mesn;
    mes "You hand the bag of ore to Nathan.";
    next;
    mes "\"Ah, that should be it!  Thank you for your help. Here, take this Miner's Hat. You're a real miner now!\"";
    next;
    mes "\"Oh, and I noticed a problem with these angry scorpions down here, they seem to make things much more difficult. Maybe you could tell Nickos about it on your way out?\"";
    goto L_close;

L_Nathan_TooMany:
    mesn;
    mes "\"You have too many items for me to give you a reward.\"";
    goto L_close;

L_Nathan_Help_Cool:
    mesn;
    mes "\"Be safe down here, it's dangerous for the unexperienced. Mining is a dangerous job, but somebody's got to do it!\"";
    goto L_close;

L_Nathan_UGQ_Naem:
    mesn;
    mes "\"Thanks for thinning down the angry scorpion population. It sure has made mining a little easier down here!  Oh, you say Nickos has given you permission to check out the underground palace?  Talk to Naem, he's got the key and the code.\"";
    goto L_close;

L_Nathan_Complete:
    mesn;
    mes "\"Mining is a dangerous job, but somebody's got to do it!\"";
    goto L_close;

L_close:
    close;
}