summaryrefslogtreecommitdiff
path: root/npc/quests/newgears/sea_otter_hat.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/quests/newgears/sea_otter_hat.txt')
-rw-r--r--npc/quests/newgears/sea_otter_hat.txt56
1 files changed, 56 insertions, 0 deletions
diff --git a/npc/quests/newgears/sea_otter_hat.txt b/npc/quests/newgears/sea_otter_hat.txt
new file mode 100644
index 000000000..244b9d564
--- /dev/null
+++ b/npc/quests/newgears/sea_otter_hat.txt
@@ -0,0 +1,56 @@
+//===== eAthena Script =======================================
+//= Sea Otter Hat Quest
+//===== By: ==================================================
+//= Halca (1.0)
+//= Mass Zero (1.1)
+//===== Current Version: =====================================
+//= 1.4
+//===== Compatible With: =====================================
+//= Any eAthena Version.
+//===== Description: =========================================
+//= Seperate Sea Otter Hat quest.
+//===== Additional Comments: =================================
+//= 1.2 Fixed wrong labels, added missing text [Lupus]
+//= 1.3 Fixed possible exploit [Lupus]
+//= 1.4 Fixed required item (Lazy Racoon Hat -> Racoon Hat),
+//= thanks to frugal [DracoRPG]
+//============================================================
+
+xmas.gat,184,267,4 script Pretty Rency 818,{
+ mes "[Pretty Rency]";
+ mes "Wow! you heard of a Sea Otter Hat?";
+ next;
+ mes "[Pretty Rency]";
+ mes "The requirements for this item, are very simple:";
+ mes "1 Raccoon Hat,";
+ mes "1 Transformation Leaf";
+ next;
+ mes "[Pretty Rency]";
+ mes "Do you have these items?";
+ next;
+ menu "Yes.",-,"No.",M_EXIT;
+
+ if(countitem(5033) < 1 || countitem(5064) < 1) GOTO L_NOITEM;//Items: Raccoon Hat, Transformation Leaf,
+ delitem 5033,1;//Items: Raccoon Hat,
+ delitem 5064,1;//Items: Transformation Leaf,
+ mes "[Pretty Rency]";
+ mes "Congratulations!";
+ next;
+ mes "[Pretty Rency]";
+ mes "Thanks for your items! Now I will make yours for you!";
+ next;
+ getitem 5078,1;//Items: Sea Otter Hat,
+ mes "[Pretty Rency]";
+ mes "Thanks! Byeeeeeee!";
+ close;
+
+L_NOITEM:
+ mes "[Pretty Rency]";
+ mes "Sorry, not enough items.";
+ close;
+
+M_EXIT:
+ mes "[Pretty Rency]";
+ mes "Byebye! Have a nice time in the world of Ragnarok!";
+ close;
+} \ No newline at end of file