summaryrefslogblamecommitdiff
path: root/npc/002-3/nathan.txt
blob: 0e6a9c26afcfecc20369a3d290f65b056fe89a3c (plain) (tree)






































































































                                                                                                                                                                                                                                                                                                                                                          
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;

    mes "[Nathan the Miner]";
    mes "\"It's very dangerous in here. We had a big earthquake here just recently, too... so be careful!\"";
    goto L_close;

L_Nathan_Okay:
    QL_MINEALL = 9;
    mes "[Nathan]";
    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.\"";
    goto L_close;

L_Nathan_Cool:
    mes "[Nathan]";
    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;
    mes "[Nathan]";
    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:
    mes "[Nathan]";
    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;
    mes "[Nathan]";
    mes "\"Ah, thank you. Just a couple more and we'll have caught up!\"";
    goto L_close;

L_Nathan_Waits_2:
    mes "[Nathan]";
    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;
    mes "[Nathan]";
    mes "\"Just one more bag and you'll be done!\"";
    goto L_close;

L_Nathan_Waits_3:
    mes "[Nathan]";
    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;
    mes "[Nathan]";
    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:
    mes "[Nathan]";
    mes "\"You have too many items for me to give you a reward.\"";
    goto L_close;

L_Nathan_Help_Cool:
    mes "[Nathan]";
    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:
    mes "[Nathan]";
    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:
    mes "[Nathan]";
    mes "\"Mining is a dangerous job, but somebody's got to do it!\"";
    goto L_close;

L_close:
    close;
}