viewing paste Unknown #939 | Text

Posted on the
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
quest_db:
"Hunting Orc Zombies"80001,0,1153,100,0,0,0,0,"Hunting Orc Zombies"
 
questid2display.txt:
80001#Hunting Orc Zombies#SG_FEEL#QUE_NOIMAGE#
You have accepted a Hunting Task from the Quest Board. Hurry up and complete it!#
Kill 100 Orc Zombies, then return to the Quest Board..#
 
npc script:
//===== eAthena Script =======================================
//= Hunting Quests (Quest Board)
//===== By: ==================================================
//= Izumi
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= ReverieRO
//===== Description: =========================================
//= Basic version.
//= Repeatable EXP Quest (Orc Zombie)
//===== Additional Comments: =================================
//= 1.0 First version.
//============================================================
 
FIND_A_PLACE_FOR_IT script  NPCNAME#ZZZ SPRITENUMBER,{
    if (checkquest(80001) != -1) {
        if (checkquest(80001,HUNTING) != 2 ) {
            mes "[Test NPC]";
            mes "Have you finished hunting the 100 Orc Zombies?";
            next;
            switch(select("Yes:No:I want to quit")) {
            case 1:
                mes "[Test NPC]";
                mes "Hmm, I don't think you've hunted 100 yet...";
                close;
            case 2:
                mes "[Test NPC]";
                mes "Remember, I need help hunting Orc Zombies so go and hunt 100 of them.";
                close;
            case 3:
                mes "[Test NPC]";
                mes "Are you sure that you want to stop hunting?";
                mes "Any progress that you've made will be erased";
                next;
                switch(select("Yes:No")) {
                case 1:
                    mes "[Test NPC]";
                    mes "Ok then, well come back here if you change your mind.";
                    erasequest 80001;
                    close;
                case 2:
                    mes "[Test NPC]";
                    mes "Please kill 100 Orc Zombies.";
                    close;
                }
            }
        }
        else {
            mes "[Test NPC]";
            mes "Amazing, you did that with speed.";
            getexp 38000,0;
            erasequest 80001;
            close;
        }
    }
    
    //for minimum level
    if (BaseLevel > 34) {
        //for maximum level
        if (BaseLevel < 61) {
            mes "[Test NPC]";
            switch(select("Accept:Decline")) {
                    case 1:
                        mes "[Test NPC]";
                        mes "Come back when you've finished your task and I will give you a small reward.";
                        setquest 80001;
                        close;
                    case 2:
                        close;
        }
    }
        else {
            mes "[Test NPC]";
            mes "You are too powerful for this task, I can't give you this quest!";
            next;
            close;
        }
    }
    else {
        mes "[Test NPC]";
        mes "You wouldn't survive here, choose another monster."
        close;
    }
}
Viewed 568 times, submitted by Guest.