summaryrefslogtreecommitdiff
path: root/npc/xmas.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/xmas.txt')
-rw-r--r--npc/xmas.txt44
1 files changed, 44 insertions, 0 deletions
diff --git a/npc/xmas.txt b/npc/xmas.txt
new file mode 100644
index 00000000..4a764836
--- /dev/null
+++ b/npc/xmas.txt
@@ -0,0 +1,44 @@
+new_3-1.gat,67,42,0 script Santa 105,{
+if( ChristmasQuest == 1) goto done;
+mes "[Fake Santa]";
+mes "Why hello there young'n";
+mes "Now how would you like yourself a Christmas hat?";
+next;
+L_M:
+menu "Yes",L_Y,"No",L_N,"Requirements?",L_R;
+ L_Y:
+ mes "[Fake Santa]";
+ mes "Hmm, let me check your supplies, I myself dont have enough to make 1.";
+ next;
+ if(countitem(504)<10) goto NoItem;
+ if(countitem(506)<25) goto NoItem;
+ if(countitem(508)<5) goto NoItem;
+ mes "Here you go, enjoy your new hat!";
+ delitem 504,10;
+ delitem 506,25;
+ delitem 508,5;
+ getitem 511,1;
+ set ChristmasQuest,1;
+ close;
+ L_R:
+ mes "[Fake Santa]";
+ mes "For this special hat, i need a pint of magic and a little help";
+ mes ",Just kidding, i need";
+ mes "25 Candy Canes";
+ mes "10 Decor Candy";
+ mes "5 Xmas Cakes";
+ next;
+ goto L_M;
+ L_N:
+ mes "[Fake Santa]";
+ mes "Well, thats too bad, but make sure to have the holiday spirit!";
+ close;
+ NoItem:
+ mes "[Fake Santa]";
+ mes "Oh my, you dont seem to have the items needed for the Hat.";
+ close;
+ done:
+ mes "[Fake Santa]";
+ mes "well, seems you already did this quest.";
+ close;
+} \ No newline at end of file