viewing paste Quest Template | Athena

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
newinvek.gat,112,180,4  script  Zeus Spirit 10058,{
 
set .npcname$,"[^990000Zeus Spirit^000000]";
set .zreq1,7077;    set .zcnt1,20;
set .zreq2,7450;    set .zcnt2,30;
set .zreq3,7067;    set .zcnt3,1500;
set .zreq4,7063;    set .zcnt4,1500;
set .zreq5,7047;    set .zcnt5,1500;
set .zprice,30500; //Quest Item ID
 
L_GodStart:
mes .npcName$;
mes "I will tell you about My (Powerful) Armor (Quest).";
mes "I am the Zeus , king of olympus.";
next;
mes .npcName$;
mes "Requirements:";
mes "^0000FF"+(.zcnt1)+"pcs - "+getitemname(.zreq1)+"^000000.";
mes "^0000FF"+(.zcnt2)+"pcs - "+getitemname(.zreq2)+"^000000.";
mes "^0000FF"+(.zcnt3)+"pcs - "+getitemname(.zreq3)+"^000000.";
mes "^0000FF"+(.zcnt4)+"pcs - "+getitemname(.zreq4)+"^000000.";
mes "^0000FF"+(.zcnt5)+"pcs - "+getitemname(.zreq5)+"^000000.";
next;
menu "I have the requirements.",L_gotreq,"No , Maybe Next Time.",L_later;
 
L_gotreq:
mes .npcName$;
mes "Let me check? If you bring those items I require..";
next;
if(countitem(.zreq1) < .zcnt1 ||
 countitem(.zreq2) < .zcnt2 ||
 countitem(.zreq3) < .zcnt3 ||
 countitem(.zreq4) < .zcnt4 ||
 countitem(.zreq5) < .zcnt5)
 goto L_later2;
 
delitem .zreq1,.zcnt1;
delitem .zreq2,.zcnt2;
delitem .zreq3,.zcnt3;
delitem .zreq4,.zcnt4;
delitem .zreq5,.zcnt5;
mes .npcName$;
mes "Another brave one succeded.";
next;
getitem .zprice,1;
mes .npcName$;
mes "Ah, you have out done your self!";
mes "Go to (God Seal Quest & Un-Seal Our Curse To Repeat My Quest.)";
announce "Zeus Spirit : "+strcharinfo(0)+" has just become the Thunder Legend and gained (Armor of Zeus).",8;
close;
 
L_QuestDone:
mes .npcName$;
mes "Go Find God Seal Quest & Un-Seal My Curse";
close;
 
L_later:
mes .npcName$;
mes "Alright Then , comeback when you're ready for this.";
close;
 
L_later2:
mes .npcName$;
mes "Complete the Requirements";
mes "Come Back again when you have it all.";
close;
 
}
Viewed 705 times, submitted by Guest.