summaryrefslogtreecommitdiff
path: root/npc/custom/quests/valhallen.txt
diff options
context:
space:
mode:
authorTrojal <trojal@gmail.com>2013-01-10 20:09:39 -0800
committershennetsind <ind@henn.et>2013-01-12 05:56:35 -0200
commitc55855fcf627478f864c0f82a1a2f201fd407a38 (patch)
treeb7f6d11b2058248d026f2d9944e8f4b6ac288d50 /npc/custom/quests/valhallen.txt
parent51bfeb38eb139e97e0e1c096c85c15fba234f35b (diff)
parent38e583df21eccd9e4f31d38acaae32579c6f0d27 (diff)
downloadhercules-c55855fcf627478f864c0f82a1a2f201fd407a38.tar.gz
hercules-c55855fcf627478f864c0f82a1a2f201fd407a38.tar.bz2
hercules-c55855fcf627478f864c0f82a1a2f201fd407a38.tar.xz
hercules-c55855fcf627478f864c0f82a1a2f201fd407a38.zip
Test1, testing for the commit widget, need to edit something.
Test2, testing for the commit widget, need to edit something. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'npc/custom/quests/valhallen.txt')
-rw-r--r--npc/custom/quests/valhallen.txt68
1 files changed, 68 insertions, 0 deletions
diff --git a/npc/custom/quests/valhallen.txt b/npc/custom/quests/valhallen.txt
new file mode 100644
index 000000000..19480b105
--- /dev/null
+++ b/npc/custom/quests/valhallen.txt
@@ -0,0 +1,68 @@
+//===== rAthena Script =======================================
+//= Valhallen Items Quests NPC
+//===== By: ==================================================
+//= Avaji
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= rAthena SVN
+//===== Description: =========================================
+//= All-in-one: Mjolnir,Sleipnir,Brisingamen,Gleipnir,Megingjard
+//= Custom quest, ingredients based on official RO FAQ
+//===== Additional Comments: =================================
+//= 1.1 Optimized. [Euphy]
+//============================================================
+
+prontera,147,171,5 script Lenneth 811,{
+ mes "[Lenneth]";
+ mes "I come from Valhalla to aid you.";
+ mes "I can transmute for you many of the Valhallen items,";
+ mes "although they require many rare elements to make.";
+ next;
+ switch(select("Mjolnir:Sleipnir:Brisingamen:Gleipnir:Megingjard")) {
+ case 1:
+ mes "[Lenneth]";
+ mes "^3355FFMjolnir^000000 is the mighty Hammer of Thor.";
+ setarray .@Items[0],1530,1531,2,984,20,985,5,969,40,7074,2,7075,4,7078,5,7087,5,7089,5;
+ break;
+ case 2:
+ mes "[Lenneth]";
+ mes "^3355FFSleipnir^000000 are boots made after Odin's War Horse.";
+ setarray .@Items[0],2410,2406,2,984,1,969,20,985,10,7076,3,7079,5,7083,3,7086,3;
+ break;
+ case 3:
+ mes "[Lenneth]";
+ mes "^3355FFBrisingammen^000000 is the magical Necklace of Freyja, goddess of Beauty.";
+ setarray .@Items[0],2630,2603,1,726,2,722,3,727,10,723,5,969,20,7073,4,7077,4,7088,3,7090,3,7092,3;
+ break;
+ case 4:
+ mes "[Lenneth]";
+ mes "The ^3355FFGleipnir^000000 is a light yet strong rope required to make ^3355FFMegingjard^000000";
+ setarray .@Items[0],7058,7080,4,7081,5,7082,4,7084,3,7085,3;
+ break;
+ case 5:
+ mes "[Lenneth]";
+ mes "The ^3355FFMegingjard^000000 is the powerful Belt of Thor.";
+ setarray .@Items[0],2629,7058,1,2627,1,969,10,726,10,984,5;
+ break; }
+ mes "^FF0000The items I need are as follows:^000000";
+ for(set .@i,1; .@i<getarraysize(.@Items[0]); set .@i,.@i+2) {
+ mes " ~ "+.@Items[.@i+1]+"x ^3355FF"+getitemname(.@Items[.@i])+"^000000";
+ if (countitem(.@Items[.@i]) < .@Items[.@i+1]) set .@nr,1; }
+ if (.@nr) close;
+ next;
+ mes "[Lenneth]";
+ mes "Do you desire ^3355FF"+getitemname(.@Items[0])+"^000000?";
+ next;
+ if(select("Yes:No")==2) {
+ mes "[Lenneth]";
+ mes "Please return if you change your mind.";
+ close; }
+ mes "[Lenneth]";
+ mes "Here is your ^3355FF"+getitemname(.@Items[0])+"^000000.";
+ mes "May it serve you well.";
+ for(set .@i,1; .@i<getarraysize(.@Items); set .@i,.@i+2)
+ delitem .@Items[.@i], .@Items[.@i+1];
+ getitem .@Items[0],1;
+ close;
+}