viewing paste xmasrevised | Athena

Posted on the | Last edited on
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 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
/*=========================================================
Lighthalzen Aura Quest
by Zephy
===========================================================
Description:
===========================================================
Simple quest NPC to obtain the Lighthalzen Aura item.
===========================================================
Additional Notes:
===========================================================
Changelog
        - Edited line 88. Switched the options.
        - Added more dialogue.
        - Changed dialogue a little.
=========================================================*/
 
amatsu,97,121,4 script  Nekomata        421,{
set $Quest_var,$Quest_var+1;
 
 
        mes .npc_name$;
 
        for(set .@i,0; .@i < getarraysize(.qitem); set .@i,.@i+1)
        {
                // Check if current item fails to meet prerequisite
                if(countitem(.qitem[.@i]) < .qamt)
                {
                       
                mes "I am the Blue Queen's Guardian. I was born to protect and guard the forest... But now I have failed due to my lack of discipline the Queen's dragon died.";
            next;
 
                        mes .npc_name$;
                        mes "Do you wish to help me gather the materials needed for the resurrection of the Blue Queen's Dragon?";
                        next;
   
            if(select("I will help you in your holy task.:Sorry, I don't want to help.") == 2)
            {
                mes .npc_name$;
                mes "Stop wasting my time!";
                close;
            }
 
            mes .npc_name$;
            mes "You are quite determined! Ha ha! I like your spirit!";
            next;
 
            mes .npc_name$;
            mes "Here are the materials needed for the Blue Queen's Dragon awaited resurrection.";
 
            // Loop to print out item requirements
            for(set .@j,0; .@j < getarraysize(.qitem); set .@j,.@j+1)
            {
                mes "^FF0000"+ .qamt[.@j] +"x - "+ getitemname(.qitem[.@j]) +"^000000";
            }
           
            close;
           
        }
    }
   
 
 
 
    // If player meets the required amount of items
    mes "EXCELLENT! Now we can revive the dragon! Let's make haste and prepare for the revival of the Blue Queen's Dragon!";
    next;
 
    mes .npc_name$;
    mes "Show me the materials!"; // change the dialogue
    next;
 
    if(select("No:Yes") == 1)
    {
        mes .npc_name$;
        mes "WHAT?! I told you! STOP WASTING MY TIME!"; //change the dialogue LOL
        close;
    }
 
    mes .npc_name$;
    mes "I will go get your reward for the hard work and dedication for the Blue Queen."; //change the dialogue HAHAHA
 
    // Loop to delete all quest items
    for (set .@i,0; .@i < getarraysize(.qitem); set .@i,.@i+1)
    {
        delitem .qitem[.@i], .qamt[.@i];
    }
   
    next;
   
    mes .npc_name$;
    mes "......."; // change dialogue OFC LOL
    next;
    mes "*CLANK* *CLINK* *CLANK*";
    next;
    mes "......";
    next;
   
    specialeffect 100;
    mes .npc_name$;
    mes "You will not be forgotten Noble wanderer, you name will now be included in the Blue Queen's kingdom history.";
    getitem .pitem, .pamt; // Get prize item
    next;
    close;
 
 
       
OnInit:
    // Configuration
        // General
        set .npc_name$,"[^008800Nekomata^000000]"; // NPC's dialogue name
 
        // Items
        set .pitem,21605; // Prize item for completing the quest
        set .pamt,1; // Prize item amount
        setarray .qitem[0], 21606, 21607, 21608, 21609, 738, 7510, 7215, 7098, 7125, 7320, 7155, 7009, 7195, 7512, 964, 7317; // Quest items (IDs)
        setarray .qamt[0], 5, 5, 5, 5, 10, 20, 300, 250, 250, 300, 250, 250, 250, 250, 250, 600; // Quest item amount
    end;
 
 
if($Quest_var >= 1) { mes "You can only do this quest once per account.";}
}
 
 
Viewed 385 times, submitted by rhenchu.