summaryrefslogtreecommitdiff
path: root/npc/custom/quests/sunglasses.txt
diff options
context:
space:
mode:
authorTrojal <trojal@gmail.com>2013-01-10 20:09:39 -0800
committerTrojal <trojal@gmail.com>2013-01-10 20:32:02 -0800
commit83e7a4954437c13aec639b0b512252cc20a8f36c (patch)
treeb7f6d11b2058248d026f2d9944e8f4b6ac288d50 /npc/custom/quests/sunglasses.txt
parent51bfeb38eb139e97e0e1c096c85c15fba234f35b (diff)
parent38e583df21eccd9e4f31d38acaae32579c6f0d27 (diff)
downloadhercules-83e7a4954437c13aec639b0b512252cc20a8f36c.tar.gz
hercules-83e7a4954437c13aec639b0b512252cc20a8f36c.tar.bz2
hercules-83e7a4954437c13aec639b0b512252cc20a8f36c.tar.xz
hercules-83e7a4954437c13aec639b0b512252cc20a8f36c.zip
Merge rathena repository to form Hercules initial commit.
Diffstat (limited to 'npc/custom/quests/sunglasses.txt')
-rw-r--r--npc/custom/quests/sunglasses.txt108
1 files changed, 108 insertions, 0 deletions
diff --git a/npc/custom/quests/sunglasses.txt b/npc/custom/quests/sunglasses.txt
new file mode 100644
index 000000000..fb3353556
--- /dev/null
+++ b/npc/custom/quests/sunglasses.txt
@@ -0,0 +1,108 @@
+//===== rAthena Script =======================================
+//= Slotted Sunglasses Quest
+//===== By: ==================================================
+//= amichan
+//===== Current Version: =====================================
+//= 1.8
+//===== Compatible With: =====================================
+//= rAthena SVN
+//===== Description: =========================================
+//= Quest to get Slotted Sunglasses.
+//= Will reset after quest completion.
+//===== Additional Comments: =================================
+//= 1.0 by Aegis 1.1 by aichan 1.2 by x[tsk] 1.3 by Darkchild
+//= 1.5 Fixed Exploit [Lupus]
+//= 1.6 Fixed Exploit [KarLaeda]
+//= 1.7 Relocated 'Maseph' to moc_fild07. [Kisuka]
+//= 1.8 Cleaning. [Euphy]
+//============================================================
+
+alberta,88,193,5 script Sunglasses Trader 73,{
+ mes "[Sunglasses Trader]";
+ if(SG_QUEST1 == 1) {
+ mes "There is nothing more I can tell you.";
+ next;
+ mes "[Sunglasses Trader]";
+ mes "Go see Maseph. She is somewhere north of Morroc.";
+ close; }
+ mes "Hello. What can I do for you?";
+ next;
+ if(select("I heard that you can make ^0000FFSlotted Sunglasses^000000.:Nothing, sorry to bother you.")==2) {
+ mes "[Sunglasses Trader]";
+ mes "Come back to me than you are ready.";
+ close; }
+ mes "[Sunglasses Trader]";
+ mes "I do not make them, but I can tell you where to find the person who does. For a small fee...";
+ next;
+ if(select("How much?:No way, I will find her myself!")==2) {
+ mes "[Sunglasses Trader]";
+ mes "Suit yourself, the Maker will not make you ^0000FFSlotted Sunglasses^000000 unless she knows that you are coming.";
+ mes "Only I can tell her you are coming.";
+ next;
+ mes "[Sunglasses Trader]";
+ mes "Come back to me when you have given up. Hahaha...";
+ close; }
+ mes "[Sunglasses Trader]";
+ mes "In order for me to tell you information on ^0000FFSlotted Sunglasses^000000 you need to get me:";
+ mes " - ^0000881 Carat Diamond^000000";
+ mes " - ^00008850 Feathers^000000";
+ mes " - ^000088100000z^000000";
+ next;
+ if(select("Alright, here.:That's too much!")==2) {
+ mes "[Sunglasses Trader]";
+ mes "Suit yourself.";
+ close; }
+ mes "[Sunglasses Trader]";
+ if (countitem(730) < 1 || countitem(949) < 50 || Zeny < 100000) {
+ mes "You're missing something. Come back when you've gathered all the materials.";
+ close; }
+ delitem 730,1;
+ delitem 949,50;
+ set Zeny, Zeny-100000;
+ set SG_QUEST1,1;
+ mes "[Sunglasses Trader]";
+ mes "Great. Now, listen carefully.";
+ next;
+ mes "[Sunglasses Trader]";
+ mes "Look for someone named Maseph somewhere north of Morroc.";
+ mes "I will send her a message to let her know that you are coming.";
+ close;
+}
+
+moc_fild07,334,186,5 script Maseph 702,{
+ mes "[Maseph]";
+ if(SG_QUEST1 != 1) {
+ mes "Lovely day, isn't it ?";
+ close; }
+ mes "Hello there.";
+ mes "You came for the ^000088Slotted Sunglasses^000000, right?";
+ next;
+ if(select("Yes:No, sorry to bother you.")==2) {
+ mes "[Maseph]";
+ mes "Off you go, then.";
+ close; }
+ mes "[Maseph]";
+ mes "To make one, I will need one pair of ^000088Sunglasses^000000 and 400000z.";
+ next;
+ if(select("Here you go.:No, thanks.")==2) {
+ mes "[Maseph]";
+ mes "As you wish.";
+ close; }
+ mes "[Maseph]";
+ if (countitem(2201) < 1) {
+ mes "I need one pair of ^000088Sunglasses^000000. Come back to me when you have one.";
+ close; }
+ if (Zeny < 400000) {
+ mes "You do not have enough Zeny. Come back to me when you do.";
+ close; }
+ delitem 2201,1;
+ set Zeny, Zeny-400000;
+ mes "Thank you. I will get on it right away...";
+ next;
+ mes "[Maseph]";
+ mes "Here you go, my friend.";
+ mes "Enjoy your ^000088Slotted Sunglasses^000000.";
+ getitem 2202,1;
+ set SG_QUEST1,0;
+ close;
+} \ No newline at end of file