summaryrefslogblamecommitdiff
path: root/npc/002-1/nickos.txt
blob: 80c71da0b94d86ae0757d528e1c56fdbb5225b66 (plain) (tree)
















































































































                                                                                                                                                                                                                                                                                                              
002-1,46,108,0	script	Nickos	NPC123,{
    if (QL_MINEALL == 20) goto L_UGQ;
    if (QL_MINEALL == 19) goto L_AS_Done;
    if (QL_MINEALL == 18) goto L_AS_Start;
    if (QL_MINEALL >= 11) && (QL_MINEALL < 18) goto L_Guards;
    if (QL_MINEALL == 10) goto L_Check_Happy;
    if (QL_MINEALL > 7) && (QL_MINEALL < 10) goto L_Waits;
    if (QL_MINEALL == 7) goto L_Mine;
    if (QL_MINEALL == 6) goto L_Orders_Received;
    if (QL_MINEALL == 5) goto L_Orders;
    if (QL_MINEALL < 5) goto L_See_Dausen_First;

    mes "[Nickos]";
    mes "\"I'm watching this mine to make sure the monsters don't harm the miners.\"";
    goto L_close;

L_See_Dausen_First:
    mes "[Nickos]";
    mes "\"I'm watching this mine to make sure the monsters don't harm the miners.\"";
    next;
    mes "[Nickos]";
    mes "\"The mines are closed from tourists due to the monster threat. If you want to get in you will need to prove yourself first. Talk to Lieutenant Dausen, my superior, if you want to make a formal complaint.\"";
    goto L_close;

L_Orders:
    QL_MINEALL = 6;
    mes "[Nickos]";
    mes "\"I have to hold my post longer?  Argh!  I was looking forward to my break. Oh well, thanks for letting me know.\"";
    goto L_close;

L_Orders_Received:
    mes "[Nickos]";
    mes "\"Thanks for letting me know Lieutenant Dausen wants me to stick it out for a while longer. Even though I would've liked my break, I'm sure these miners could use my watchful eye.\"";
    goto L_close;

L_Mine:
    mes "[Nickos]";
    mes "\"I haven't heard from the miners in a while, but I've got to keep to my post unless there is due reason to investigate. Normally the miners take care of themselves without any problem.\"";
    next;
    mes "[Nickos]";
    mes "\"Could you check on them for me, though?\"";
    menu
        "Yes.", L_Mine_Open,
        "No.", L_Disappoint;

L_Disappoint:
    mes "Nickos looks disappointed.";
    goto L_close;

L_Mine_Open:
    QL_MINEALL = 8;
    mes "[Nickos]";
    mes "\"Excellent!  You now have my permission to enter the mine. Your assistance helps ease my worries.\"";
    goto L_close;

L_Waits:
    mes "[Nickos]";
    mes "\"Please be sure to get word from Nathan and Naem to make sure everthing is okay down there. Your assistance helps ease my worries.\"";
    goto L_close;

L_Check_Happy:
    QL_MINEALL = 11;
    Zeny = Zeny + 500;
    mes "[Nickos]";
    mes "\"Oh, everything is okay?  That's great!  I think they are pretty busy and could use some help. Feel free to give them a hand. Here's some gold for your troubles.\"";
    goto L_close;

L_Guards:
    mes "[Nickos]";
    mes "\"I'm watching this mine to make sure the monsters don't harm the miners.\"";
    next;
    mes "\"Talk to Nathan the miner, I'm sure the miners could use some help down there.\"";
    goto L_close;

L_AS_Start:
    QL_MINEALL = 19;
    mes "[Nickos]";
    mes "\"Oh, the angry scorpions are becoming a problem?  We could thin down their numbers a bit. I can make it worth your time, but of course, I'll need something to show your work. Bring me 10 Angry Scorpion Stingers to demonstrate your effectiveness, and you will be rewarded for your efforts.\"";
    goto L_close;

L_AS_Done:
    if (countitem ("AngryScorpionStinger") < 10)
        goto L_AS_NotDone;
    getinventorylist;
    if (@inventorylist_count - (countitem("AngryScorpionStinger") == 10) > 99)
        goto L_TooMany;
    QL_MINEALL = 20;
    delitem "AngryScorpionStinger", 10;
    getitem "LeatherShield", 1;
    mes "[Nickos]";
    mes "\"Ah, you are a fine combatant!  Take this Leather Shield, it might be useful for your future battles.\"";
    next;
    mes "\"You might be ready to take on the underground palace. If you are interested, go talk to Naem about unlocking the barrier, he's got the key and the code to open it.\"";
    goto L_close;

L_AS_NotDone:
    mes "[Nickos]";
    mes "\"Bring me 10 Angry Scorpion Stingers and I'll know their numbers are down. You will be rewarded for your efforts.\"";
    goto L_close;

L_TooMany:
    mes "[Nickos]";
    mes "\"Oh, it seems you have too many items. Please get rid some some and I'll give you a reward.\"";
    goto L_close;

L_UGQ:
    mes "[Nickos]";
    mes "\"You might be ready to take on the underground palace. If you are interested, talk to the miners about unlocking the barrier, they've got the key to open it.\"";
    goto L_close;

L_close:
    close;
}