summaryrefslogtreecommitdiff
path: root/npc/xmas.txt
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-22 15:09:12 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-22 15:09:12 +0000
commit348ecbff5d06486974b875d059dcbf2240028000 (patch)
treed6f28a68206f81bd92a8d4b961fbc0c5ab4a53da /npc/xmas.txt
downloadserverdata-348ecbff5d06486974b875d059dcbf2240028000.tar.gz
serverdata-348ecbff5d06486974b875d059dcbf2240028000.tar.bz2
serverdata-348ecbff5d06486974b875d059dcbf2240028000.tar.xz
serverdata-348ecbff5d06486974b875d059dcbf2240028000.zip
Added initial batch of server data and configuration to CVS.
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