diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-06-18 21:58:47 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2011-06-19 14:19:55 -0700 |
commit | bae4b92e560c2694eaaf0e8b4d9e95e56204471b (patch) | |
tree | 4acc120f6a94cfbf9694bf344658493de5aaa67b /world/map/npc/xmas | |
parent | 319f80526f8585ecadaec986e37c9bd326f4d363 (diff) | |
download | serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.gz serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.bz2 serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.xz serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.zip |
Move to a subdirectory
Diffstat (limited to 'world/map/npc/xmas')
27 files changed, 6442 insertions, 0 deletions
diff --git a/world/map/npc/xmas/2006/xmas1.txt b/world/map/npc/xmas/2006/xmas1.txt new file mode 100644 index 00000000..a79be191 --- /dev/null +++ b/world/map/npc/xmas/2006/xmas1.txt @@ -0,0 +1,246 @@ +002-2.gat,41,60,0 script Xmas1 105,{ + if(XMASQUEST1 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST1,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas10.txt b/world/map/npc/xmas/2006/xmas10.txt new file mode 100644 index 00000000..b0f057fc --- /dev/null +++ b/world/map/npc/xmas/2006/xmas10.txt @@ -0,0 +1,243 @@ +002-3.gat,57,64,0 script Xmas10 105,{ + if(XMASQUEST10 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas. The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me. The kind will depend on whether you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST10,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas11.txt b/world/map/npc/xmas/2006/xmas11.txt new file mode 100644 index 00000000..47fece68 --- /dev/null +++ b/world/map/npc/xmas/2006/xmas11.txt @@ -0,0 +1,246 @@ +001-1.gat,73,51,0 script Xmas11 105,{ + if(XMASQUEST11 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST11,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas12.txt b/world/map/npc/xmas/2006/xmas12.txt new file mode 100644 index 00000000..cf234be1 --- /dev/null +++ b/world/map/npc/xmas/2006/xmas12.txt @@ -0,0 +1,246 @@ +011-3.gat,26,51,0 script Xmas12 105,{ + if(XMASQUEST12 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST12,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas13.txt b/world/map/npc/xmas/2006/xmas13.txt new file mode 100644 index 00000000..aa2c87f8 --- /dev/null +++ b/world/map/npc/xmas/2006/xmas13.txt @@ -0,0 +1,246 @@ +002-4.gat,68,95,0 script Xmas13 105,{ + if(XMASQUEST13 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST13,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas14.txt b/world/map/npc/xmas/2006/xmas14.txt new file mode 100644 index 00000000..73673088 --- /dev/null +++ b/world/map/npc/xmas/2006/xmas14.txt @@ -0,0 +1,246 @@ +005-1.gat,46,46,0 script Xmas14 105,{ + if(XMASQUEST14 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST14,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas15.txt b/world/map/npc/xmas/2006/xmas15.txt new file mode 100644 index 00000000..6deca2d2 --- /dev/null +++ b/world/map/npc/xmas/2006/xmas15.txt @@ -0,0 +1,246 @@ +001-3.gat,112,54,0 script Xmas15 105,{ + if(XMASQUEST15 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST15,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas16.txt b/world/map/npc/xmas/2006/xmas16.txt new file mode 100644 index 00000000..05325115 --- /dev/null +++ b/world/map/npc/xmas/2006/xmas16.txt @@ -0,0 +1,246 @@ +001-2.gat,37,24,0 script Xmas16 105,{ + if(XMASQUEST16 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST16,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas17.txt b/world/map/npc/xmas/2006/xmas17.txt new file mode 100644 index 00000000..0144dcf4 --- /dev/null +++ b/world/map/npc/xmas/2006/xmas17.txt @@ -0,0 +1,246 @@ +011-1.gat,106,58,0 script Xmas17 105,{ + if(XMASQUEST17 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST17,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas18.txt b/world/map/npc/xmas/2006/xmas18.txt new file mode 100644 index 00000000..a4d059a7 --- /dev/null +++ b/world/map/npc/xmas/2006/xmas18.txt @@ -0,0 +1,246 @@ +002-2.gat,97,18,0 script Xmas18 105,{ + if(XMASQUEST18 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST18,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas19.txt b/world/map/npc/xmas/2006/xmas19.txt new file mode 100644 index 00000000..aa2c83c8 --- /dev/null +++ b/world/map/npc/xmas/2006/xmas19.txt @@ -0,0 +1,246 @@ +020-1.gat,90,83,0 script Xmas19 105,{ + if(XMASQUEST19 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST19,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas2.txt b/world/map/npc/xmas/2006/xmas2.txt new file mode 100644 index 00000000..6fbc22bf --- /dev/null +++ b/world/map/npc/xmas/2006/xmas2.txt @@ -0,0 +1,246 @@ +019-1.gat,99,42,0 script Xmas2 105,{ + if(XMASQUEST2 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST2,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas20.txt b/world/map/npc/xmas/2006/xmas20.txt new file mode 100644 index 00000000..488d97f6 --- /dev/null +++ b/world/map/npc/xmas/2006/xmas20.txt @@ -0,0 +1,246 @@ +001-1.gat,55,28,0 script Xmas20 105,{ + if(XMASQUEST20 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST20,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas3.txt b/world/map/npc/xmas/2006/xmas3.txt new file mode 100644 index 00000000..df6094b1 --- /dev/null +++ b/world/map/npc/xmas/2006/xmas3.txt @@ -0,0 +1,246 @@ +020-1.gat,67,62,0 script Xmas3 105,{ + if(XMASQUEST3 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST3,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas4.txt b/world/map/npc/xmas/2006/xmas4.txt new file mode 100644 index 00000000..a873ad76 --- /dev/null +++ b/world/map/npc/xmas/2006/xmas4.txt @@ -0,0 +1,246 @@ +020-3.gat,24,50,0 script Xmas4 105,{ + if(XMASQUEST4 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST4,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas5.txt b/world/map/npc/xmas/2006/xmas5.txt new file mode 100644 index 00000000..ae3829e6 --- /dev/null +++ b/world/map/npc/xmas/2006/xmas5.txt @@ -0,0 +1,246 @@ +020-2.gat,22,32,0 script Xmas5 105,{ + if(XMASQUEST5 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST5,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas6.txt b/world/map/npc/xmas/2006/xmas6.txt new file mode 100644 index 00000000..d119451f --- /dev/null +++ b/world/map/npc/xmas/2006/xmas6.txt @@ -0,0 +1,246 @@ +010-2.gat,92,37,0 script Xmas6 105,{ + if(XMASQUEST6 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST6,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas7.txt b/world/map/npc/xmas/2006/xmas7.txt new file mode 100644 index 00000000..1e38da05 --- /dev/null +++ b/world/map/npc/xmas/2006/xmas7.txt @@ -0,0 +1,246 @@ +003-1.gat,130,66,0 script Xmas7 105,{ + if(XMASQUEST7 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST7,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas8.txt b/world/map/npc/xmas/2006/xmas8.txt new file mode 100644 index 00000000..506ebefe --- /dev/null +++ b/world/map/npc/xmas/2006/xmas8.txt @@ -0,0 +1,246 @@ +007-1.gat,125,37,0 script Xmas8 105,{ + if(XMASQUEST8 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST8,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2006/xmas9.txt b/world/map/npc/xmas/2006/xmas9.txt new file mode 100644 index 00000000..18da309e --- /dev/null +++ b/world/map/npc/xmas/2006/xmas9.txt @@ -0,0 +1,246 @@ +011-4.gat,71,34,0 script Xmas9 105,{ + if(XMASQUEST9 == 1) goto L_only_once; + mes "[Helper Santa]"; + mes "It's Christmas."; + mes "The time for gifts and family reunions"; + next; + + mes "[Helper Santa]"; + mes "You get a gift from me."; + mes "The kind will depend on whether"; + mes "you've been nice or naughty."; + next; + + menu "Want one?",L_nicenaughty,"No thanks.",L_no; + +L_nicenaughty: + set XMASQUEST9,1; + mes "[Helper Santa]"; + mes "In my book you're marked as..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_naughty; + goto L_nice; + +L_nice: + mes "[Helper Santa]"; + mes "...nice!"; + set @TEMP,rand(17); + next; + if(@TEMP == 0) goto L_nice_0; + if(@TEMP == 1) goto L_nice_1; + if(@TEMP == 2) goto L_nice_2; + if(@TEMP == 3) goto L_nice_3; + if(@TEMP == 4) goto L_nice_4; + if(@TEMP == 5) goto L_nice_5; + if(@TEMP == 6) goto L_nice_6; + if(@TEMP == 7) goto L_nice_7; + if(@TEMP == 8) goto L_nice_8; + if(@TEMP == 9) goto L_nice_9; + if(@TEMP == 10) goto L_nice_10; + if(@TEMP == 11) goto L_nice_11; + if(@TEMP == 12) goto L_nice_12; + if(@TEMP == 13) goto L_nice_13; + if(@TEMP == 14) goto L_nice_14; + if(@TEMP == 15) goto L_nice_15; + if(@TEMP == 16) goto L_nice_16; + if(@TEMP == 17) goto L_nice_17; + +L_naughty: + mes "[Helper Santa]"; + mes "...naughty!"; + set @TEMP,rand(6); + next; + if(@TEMP == 0) goto L_naughty_0; + if(@TEMP == 1) goto L_naughty_1; + if(@TEMP == 2) goto L_naughty_2; + if(@TEMP == 3) goto L_naughty_3; + if(@TEMP == 4) goto L_naughty_4; + if(@TEMP == 5) goto L_naughty_5; + if(@TEMP == 6) goto L_naughty_6; + +L_naughty_0: + mes "[Helper Santa]"; + mes "Ho ho ho!"; + mes "I borrowed some of your money for"; + mes "my present budget this year."; + set Zeny,Zeny-rand(500,1500); + close; + +L_naughty_1: + mes "[Helper Santa]"; + mes "You will get a spanking"; + next; + mes "[Helper Santa]"; + mes "Remember to be nice to people!"; + gmcommand "@die "; + close; + +L_naughty_2: + mes "[Helper Santa]"; + mes "But I won't mind!"; + mes "Have a char reset as a present." + next; + mes "[Helper Santa]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_naughty_3: + mes "[Helper Santa]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Helper Santa]"; + mes "Merry Christmas!"; + close; + +L_naughty_4: + mes "[Helper Santa]"; + mes "Your sex will now change!"; + mes "You always get naughty things for naughty things."; + mes "It's karma!"; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_naughty_5: + mes "[Helper Santa]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Helper Santa]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_naughty_6: + mes "[Helper Santa]"; + mes "I'll diss you around the server."; + next; + mes "[Helper Santa]"; + mes "Ho ho ho!"; + gmcommand "@kami "+strcharinfo(0)+" is not in the holiday mood."; + close; + +L_nice_0: + mes "[Helper Santa]"; + mes "So you wanted money?."; + set Zeny,Zeny+rand(1,1000000); + close; + +L_nice_1: + mes "[Helper Santa]"; + mes "These hats are really hot now!"; + getitem 1205,1; + close; + +L_nice_2: + mes "[Helper Santa]"; + mes "Axe Hats are always on the cutting edge!"; + getitem 616,1; + close; + +L_nice_3: + mes "[Helper Santa]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_nice_4: + mes "[Helper Santa]"; + mes "Now you can Goggle all you want."; + getitem 618,1; + close; + +L_nice_5: + mes "[Helper Santa]"; + mes "Let's Goggle all night long!"; + getitem 619,1; + close; + +L_nice_6: + mes "[Helper Santa]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_nice_7: + mes "[Helper Santa]"; + mes "This patch is not an eyesore."; + getitem 621,1; + close; + +L_nice_8: + mes "[Helper Santa]"; + mes "Bandana time!"; + getitem 622,1; + close; + +L_nice_9: + mes "[Helper Santa]"; + mes "5000 exp!"; + getexp 5000,0; + close; + +L_nice_10: + mes "[Helper Santa]"; + mes "Soft packages are always nice."; + getitem 1202,1; + close; + +L_nice_11: + mes "[Helper Santa]"; + mes "Chuck Norris style!"; + getitem 1203,1; + close; + +L_nice_12: + mes "[Helper Santa]"; + mes "Even Rudolph would be envious now."; + getitem 1204,1; + close; + +L_nice_13: + mes "[Helper Santa]"; + mes "Now you can become a Santa too!"; + getitem 1206,1; + close; + +L_nice_14: + mes "[Helper Santa]"; + mes "Now you can became a Santa too!"; + getitem 511,1; + close; + +L_nice_15: + mes "[Helper Santa]"; + mes "These gloves should keep you warm."; + getitem 564,1; + close; + +L_nice_16: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 624,1; + close; + +L_nice_17: + mes "[Helper Santa]"; + mes "This should keep you warm."; + getitem 564,1; + close; + +L_only_once: + mes "[Helper Santa]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Helper Santa]"; + mes "You're not in the Christmas spirit?"; + mes "I hope you get into this gift extravaganza soon."; + close; +} diff --git a/world/map/npc/xmas/2007/after-xmas.txt b/world/map/npc/xmas/2007/after-xmas.txt new file mode 100644 index 00000000..f7678d98 --- /dev/null +++ b/world/map/npc/xmas/2007/after-xmas.txt @@ -0,0 +1,140 @@ +020-1.gat,78,85,0 script Santa 105,{ + if (QUEST_xmas07_state == 2) goto L_State2; + mes "[Santa Clause]"; + mes "Ho! Ho! Ho!"; + mes "You people from The Mana World"; + mes "were very nice to me. So many"; + mes "milk and cookies for me..."; + next; + + if (QUEST_xmas07_milk + QUEST_xmas07_cookies == 0) goto L_Nothing; + if (QUEST_xmas07_milk + QUEST_xmas07_cookies < 10) goto L_Notenough; + + set @leastItems, $QUEST_xmas07_milk; + if ($QUEST_xmas07_milk > $QUEST_xmas07_cookies) set @leastItems, $QUEST_xmas07_cookies; + if (@leastItems >= 100) set @presents, 1; + if (@leastItems >= 200) set @presents, 2; + if (@leastItems >= 400) set @presents, 3; + if (@leastItems >= 800) set @presents, 4; + if (@leastItems >= 1600) set @presents, 5; + if (@leastItems >= 3200) set @presents, 6; + if (@leastItems >= 6400) set @presents, 7; + if (@leastItems >= 12800) set @presents, 8; + if (@leastItems >= 25600) set @presents, 9; + if (@leastItems >= 51200) set @presents, 10; + if (@leastItems >= 102400) set @presents, 11; + if (@leastItems >= 204800) set @presents, 12; + if (@leastItems >= 409600) set @presents, 13; + if (@leastItems >= 819200) set @presents, 14; + + + mes "[Santa Clause]"; + mes "Now you deserve your presents. I got"; + mes @presents + " presents for you. Do you"; + mes "want them now?"; + next; + menu "Yes! Presents! Presents! Presents!", -, "No, maybe later.", L_Close; + + + L_Givepresent: + if (@presents == QUEST_xmas07_presents) goto L_Enoughpresents; + + mes "[Santa Clause]"; + mes "Let's see what I got for you in my sack...."; + next; + + set QUEST_xmas07_presents, QUEST_xmas07_presents + 1; + set @TEMP,rand(7); + if(@TEMP == 0) goto L_present_0; + if(@TEMP == 1) goto L_present_1; + if(@TEMP == 2) goto L_present_2; + if(@TEMP == 3) goto L_present_3; + if(@TEMP == 4) goto L_present_4; + if(@TEMP == 5) goto L_present_5; + if(@TEMP == 6) goto L_present_6; + + + L_Enoughpresents: + mes "[Santa Clause]"; + mes "That's all I got for you."; + mes "Merry Christmas!"; + set QUEST_xmas07_state, 2; + close; + + L_present_0: + mes "[Santa Clause]"; + mes "Here you got a new funky hat!"; + getitem 628, 1; + next; + goto L_Givepresent; + + L_present_1: + mes "[Santa Clause]"; + mes "Here you got a pompouse top hat!"; + getitem 627, 1; + next; + goto L_Givepresent; + + L_present_2: + mes "[Santa Clause]"; + mes "Here you got a funny elven hat!"; + getitem 633, 1; + next; + goto L_Givepresent; + + L_present_3: + mes "[Santa Clause]"; + mes "Here you got a creepy face mask!"; + getitem 634, 1; + next; + goto L_Givepresent; + + L_present_4: + mes "[Santa Clause]"; + mes "Here you got a stylish mushroom hat!"; + getitem 629, 1; + next; + goto L_Givepresent; + + L_present_5: + mes "[Santa Clause]"; + mes "Here you got an evil mushroom hat!"; + getitem 630, 1; + next; + goto L_Givepresent; + + L_present_6: + mes "[Santa Clause]"; + mes "Here you got a beautiful skirt!"; + getitem 632, 1; + next; + goto L_Givepresent; + + L_State2: + mes "[Santa Clause]"; + mes "Ho! Ho! Ho!"; + mes "I hope you like your presents."; + mes "See you next year."; + close; + + L_Notenough: + mes "[Santa Clause]"; + mes "But you did nothing to help. You"; + mes "only donated " + (QUEST_xmas07_milk + QUEST_xmas07_cookies) + " items and now you"; + mes "want a present while others did"; + mes "all the work? get lost!"; + close; + + L_Nothing: + mes "[Santa Clause]"; + mes "But you did nothing to help. You"; + mes "did not donate one item while"; + mes "others did all the work."; + mes "Get lost!"; + close; + + L_Close: + close; + + +}
\ No newline at end of file diff --git a/world/map/npc/xmas/2007/pre-xmas.txt b/world/map/npc/xmas/2007/pre-xmas.txt new file mode 100644 index 00000000..ba9c7c11 --- /dev/null +++ b/world/map/npc/xmas/2007/pre-xmas.txt @@ -0,0 +1,224 @@ +020-1.gat,76,85,0 script Assistant 105,{ + if (QUEST_xmas07_state == 1) goto L_State1; + + mes "[Santas Assistant]"; + mes "I got really bad news."; + mes "Santa Clause won't come to"; + mes "The Mana World this year."; + next; + menu "Who cares? I don't want any presents.", L_Close, "Why not?", -; + mes "[Santas Assistant]"; + mes "Well, he is in some kind of"; + mes "depression. He says people"; + mes "love him only for his presents"; + mes "and don't really care about"; + mes "him as a person."; + next; + menu "Well, not my problem.", L_Close, "Can't we do something for him?", -; + mes "[Santas Assistant]"; + mes "Well, he really loves milk"; + mes "and cookies. When we would"; + mes "collect a really large pile"; + mes "of milk and cookies he will"; + mes "maybe come and pay us a visit."; + next; + menu "Sorry, I got no time for that.", L_Close, "Great idea! Let's begin.", -; + set QUEST_xmas07_state, 1; + + L_State1: + menu "I got some milk.", L_Exchange_Milk, "I got some cookies.", L_Exchange_Cookies, "How is the collecting going?", L_Status, "Where can I find milk and cookies?", L_Help; + + L_Exchange_Milk: + if (countitem(527) == 0) goto L_Exchange_Gotnothing; + mes "[Santas Assistant]"; + mes "Aaaaah, " + countitem(527) + " milk."; + mes "Thanks for your contribution."; + set QUEST_xmas07_milk, QUEST_xmas07_milk + countitem(527); + set $QUEST_xmas07_milk, $QUEST_xmas07_milk + countitem(527); + delitem(527), countitem(527); + close; + + L_Exchange_Cookies: + if (countitem(635) == 0) goto L_Exchange_Gotnothing; + mes "[Santas Assistant]"; + mes "Aaaaah, " + countitem(635) + " cookies."; + mes "Thanks for your contribution."; + set QUEST_xmas07_cookies, QUEST_xmas07_cookies + countitem(635); + set $QUEST_xmas07_cookies, $QUEST_xmas07_cookies + countitem(635); + delitem(635), countitem(635); + close; + + L_Help: + mes "[Santas Assistant]"; + mes "Milk is dropped by santa slimes and fluffies."; + mes "You can find Santa slimes on the"; + mes "snow field to the south and fluffies"; + mes "at the coast south of Hurnscald."; + next; + mes "[Santas Assistant]"; + mes "Rudolph and Santa slimes"; + mes "always bring some cookies with them."; + close; + + L_Exchange_Gotnothing: + mes "[Santas Assistant]"; + mes "Actually, you don't seem to have any."; + close; + + L_Status: + mes "[Santas Assistant]"; + mes "OK, thus far you brought me"; + mes QUEST_xmas07_milk + " packets of milk and"; + mes QUEST_xmas07_cookies + " christmas cookies."; + mes "All people together brought"; + mes $QUEST_xmas07_milk + " packets of milk and"; + mes $QUEST_xmas07_cookies + " christmas cookies."; + next; + mes "[Santas Assistant]"; + set @leastItems, $QUEST_xmas07_milk; + if ($QUEST_xmas07_milk > $QUEST_xmas07_cookies) set @leastItems, $QUEST_xmas07_cookies; + if (@leastItems >= 819200) goto L_Present14; + if (@leastItems >= 409600) goto L_Present13; + if (@leastItems >= 204800) goto L_Present12; + if (@leastItems >= 102400) goto L_Present11; + if (@leastItems >= 51200) goto L_Present10; + if (@leastItems >= 25600) goto L_Present9; + if (@leastItems >= 12800) goto L_Present8; + if (@leastItems >= 6400) goto L_Present7; + if (@leastItems >= 3200) goto L_Present6; + if (@leastItems >= 1600) goto L_Present5; + if (@leastItems >= 800) goto L_Present4; + if (@leastItems >= 400) goto L_Present3; + if (@leastItems >= 200) goto L_Present2; + if (@leastItems >= 100) goto L_Present1; + mes "I guess that won't impress santa"; + mes "much. We need at least 100 of"; + mes "both to make him come to us."; + close; + + L_Present1: + mes "This means santa will bring"; + mes "everyone a present. When we"; + mes "can collect 200 of each he"; + mes "will maybe give everyone two"; + mes "presents."; + close; + + L_Present2: + mes "This means santa will bring"; + mes "everyone two presents. When we"; + mes "can collect 400 of each he"; + mes "will maybe give everyone three"; + mes "presents."; + close; + + L_Present3: + mes "This means santa will bring"; + mes "everyone three presents. When we"; + mes "can collect 800 of each he"; + mes "will maybe give everyone four"; + mes "presents."; + close; + + L_Present4: + mes "This means santa will bring"; + mes "everyone four presents. When we"; + mes "can collect 1600 of each he"; + mes "will maybe give everyone five"; + mes "presents."; + close; + + L_Present5: + mes "This means santa will bring"; + mes "everyone five presents. When we"; + mes "can collect 3200 of each he"; + mes "will maybe give everyone six"; + mes "presents."; + close; + + L_Present6: + mes "This means santa will bring"; + mes "everyone six presents. When we"; + mes "can collect 6400 of each he"; + mes "will maybe give everyone seven"; + mes "presents."; + close; + + L_Present7: + mes "This means santa will bring"; + mes "everyone seven presents. When we"; + mes "can collect 12800 of each he"; + mes "will maybe give everyone eight"; + mes "presents."; + close; + + L_Present8: + mes "This means santa will bring"; + mes "everyone eight presents. When we"; + mes "can collect 25600 of each he"; + mes "will maybe give everyone nine"; + mes "presents."; + close; + + L_Present9: + mes "This means santa will bring"; + mes "everyone nine presents. When we"; + mes "can collect 51200 of each he"; + mes "will maybe give everyone ten"; + mes "presents."; + close; + + L_Present10: + mes "Over fiftythousand of both?"; + mes "Did you guys hire some chinese"; + mes "gold farmers?"; + mes "This means santa will bring"; + mes "everyone ten presents. When we"; + mes "can collect 102400 of each he"; + mes "will maybe give everyone eleven"; + mes "presents."; + close; + + L_Present11: + mes "What? You guys broke the"; + mes "hundredthousand item limit??"; + mes "This means santa will bring"; + mes "everyone eleven presents. When we"; + mes "can collect 204800 of each he"; + mes "will maybe give everyone twelve"; + mes "presents."; + close; + + L_Present12: + mes "Another hundredthousand of each?"; + mes "You guys really have no live!"; + mes "This means santa will bring"; + mes "everyone twelfe presents. When we"; + mes "can collect 404800 of each he"; + mes "will maybe give everyone thirteen"; + mes "presents."; + close; + + L_Present13: + mes "What the f...? Four Hundred Thousand???"; + mes "There is no way people collected"; + mes "that many stuff in just a week."; + mes "This means santa will bring"; + mes "everyone thirteen presents. When we"; + mes "can collect 819200 of each he"; + mes "will maybe give everyone fourteen"; + mes "presents."; + close; + + L_Present14: + mes "OK, OK, you guys found a bug"; + mes "to cheat the christmas event"; + mes "this year. You will each get"; + mes "fourteen presents."; + mes "But this is really enough."; + mes "Are you happy now?"; + close; + + L_Close: + close; +} diff --git a/world/map/npc/xmas/2008/event.txt b/world/map/npc/xmas/2008/event.txt new file mode 100644 index 00000000..5ac1be37 --- /dev/null +++ b/world/map/npc/xmas/2008/event.txt @@ -0,0 +1,604 @@ +// + +020-1.gat,78,85,0 script Santa 105,{ + mes "[Santa Claus]"; + mes "\"Ho! Ho! Ho!\""; + next; + + if (QUEST_xmas08_state == 0) goto L_SantaStart; + if (QUEST_xmas08_state & (1 << 10)) goto L_SantaFinished; + + mes "[Santa Claus]"; + mes "\"So, how are we doing?\""; + next; + menu "I've found them all!", L_SantaCheck, "I still have a few to find.", -, "What am I doing again?", L_SantaExplain; + mes "[Santa Claus]"; + mes "\"Well that's okay."; + mes "Please do keep searching!\""; + close; + +L_SantaCheck: + if (QUEST_xmas08_state & 0x3FF == 0x3FF) goto L_SantaComplete; + mes "[Santa Claus]"; + mes "\"Ah now, please don't lie to me, I don't want to have to put you on my naughty list!\""; + close; + +L_SantaComplete: + mes "[Santa Claus]"; + mes "\"Splendid!"; + mes "I knew I could count on you to find them all.\""; + next; + mes "[Santa Claus]"; + mes "\"Now, let me see what I have here for you.\""; + next; + mes "Santa fumbles around in a large sack and pulls out a Mouboo head hat!"; + getitem 1216,1; + set QUEST_xmas08_state, QUEST_xmas08_state | (1 << 10); + next; + mes "[Santa Claus]"; + mes "\"I thought you'd like that."; + mes "It's a very good likeness, don't you think?\""; + next; + mes "[Santa Claus]"; + mes "\"Well now, since I know all my Reinboo are safe,"; + mes "I can get back to giving out presents to the people of The Mana World.\""; + next; + mes "[Santa Claus]"; + mes "\"Once again, thank you very much for helping me out."; + mes ""; + mes "Merry Christmas!\""; + close; + +L_SantaExplain: + mes "[Santa Claus]"; + mes "\"Well you agreed to help me find all nine of my lost Reinboo."; + mes "Until I know they're all safe and well I don't feel able to give out any presents.\""; + close; + + +L_SantaStart: + mes "[Santa Claus]"; + mes "\"I came all this way to bring presents to the people of The Mana World,"; + mes "but it seems my reinboo's have all got lost!\""; + next; + mes "[Santa Claus]"; + mes "\"So you see I won't be able to give out any presents until I know they're all safe and well."; + mes ""; + if (BaseLevel < 20) goto L_SantaYoung; + mes "Will you help me find all nine of them, please?\""; + next; + menu "Of course I will, Santa!", L_SantaStartYes, "Sorry, I have better things to do.", -; + close; + +L_SantaYoung: + mes "\"I'd ask you to help me find them, but I think you're still a bit young.\""; + close; + +L_SantaStartYes: + set QUEST_xmas08_state, QUEST_xmas08_state | 1; + mes "[Santa Claus]"; + mes "\"Oh that is excellent news!"; + mes "Thank you.\""; + next; + mes "Santa shakes your hand with delight."; + close; + + +L_SantaFinished: + set @TEMP,rand(2); + if(@TEMP == 0) goto L_Chat1; + if(@TEMP == 1) goto L_Chat2; + +L_Chat1: + mes "[Santa Claus]"; + mes "\"Ahh, it's so great to see everyone's smiles when they open a present, don't you think?\""; + close; + +L_Chat2: + mes "[Santa Claus]"; + mes "\"Did I remember to get Mrs. Claus something?"; + mes "Oh dear, I can't remember if I did.\""; + close; +} + +//Reinboo Locations - for temp reference. +//004-1 51 25 +//005-1 178 41 +//009-3 23 105 +//012-1 47 38 +//013-1 130 21 +//014-1 91 19 +//015-1 50 76 +//016-1 33 87 +//020-1 98 116 + +004-1.gat,51,25,0 script Dasher 170,{ + if (QUEST_xmas08_state & (1 << 1)) goto L_ChatReinboo; + if (QUEST_xmas08_state & 1) goto L_FoundReinboo; + + mes "The Reinboo seems to ignore you"; + close; + +L_FoundReinboo: + mes "[Dasher]"; + mes "\"Say, you smell like Santa Claus."; + mes ""; + mes "You don't look much like him though.\""; + next; + menu "Santa asked me to help find you.", -; + mes "[Dasher]"; + mes "\"Oh well, in that case you can tell him that I'm right here and I'm fine."; + mes ""; + mes "I suppose I should explain how I got here really.\""; + next; + mes "[Dasher]"; + mes "\"I was flying about with a few other Reinboo after we got here,"; + mes "we were playing games, any way I got rather tired of flying and ended up having to land in this area."; + mes "So I need to rest up for a while before I can make it back to Santa.\""; + next; + menu "Okay, I'll Santa that when I see him."; + mes "[Dasher]"; + mes "\"Thank you and Merry Christmas!\""; + set QUEST_xmas08_state, QUEST_xmas08_state | (1 << 1); + close; + +L_ChatReinboo: + set @TEMP,rand(2); + if(@TEMP == 0) goto L_Chat1; + if(@TEMP == 1) goto L_Chat2; + +L_Chat1: + mes "[Dasher]"; + mes "\"It sure is hot out here in the desert.\""; + close; + +L_Chat2: + mes "[Dasher]"; + mes "\"I wonder what Santa got me for Christmas.\""; + close; +} + +005-1.gat,178,41,0 script Dancer 170,{ + if (QUEST_xmas08_state & (1 << 2)) goto L_ChatReinboo; + if (QUEST_xmas08_state & 1) goto L_FoundReinboo; + + mes "The Reinboo seems to ignore you"; + close; + +L_FoundReinboo: + mes "[Dancer]"; + mes "\"Hrmm, you smell quite like Santa Claus.\""; + next; + menu "I've been sent by Santa to find you.", -; + mes "[Dancer]"; + mes "\"Oh I see."; + mes "I'm just doing a bit of sight seeing, I haven't been to The Mana World before."; + mes ""; + mes "The snakes down there seem to lack the Christmas spirit so I'm walking around up here.\""; + next; + mes "[Dancer]"; + mes "\"If you could, can you tell Santa that I'm okay and I'll be back shortly?\""; + next; + menu "Sure!", -; + mes "[Dancer]"; + mes "\"Great!"; + mes "Happy Christmas!\""; + set QUEST_xmas08_state, QUEST_xmas08_state | (1 << 2); + close; + +L_ChatReinboo: + set @TEMP,rand(2); + if(@TEMP == 0) goto L_Chat1; + if(@TEMP == 1) goto L_Chat2; + +L_Chat1: + mes "[Dancer]"; + mes "\"Let's see, I've been around the forest and I'm nearly done with the desert now."; + mes "I guess after that it's back up to Santa.\""; + close; + +L_Chat2: + mes "[Dancer]"; + mes "\"The snakes don't seem to understand a word I'm saying.\""; + close; +} + +009-3.gat,23,105,0 script Prancer 170,{ + if (QUEST_xmas08_state & (1 << 3)) goto L_ChatReinboo; + if (QUEST_xmas08_state & 1) goto L_FoundReinboo; + + mes "The Reinboo seems to ignore you"; + close; + +L_FoundReinboo: + mes "[Prancer]"; + mes "\"Santa?\""; + next; + mes "[Prancer]"; + mes "\"No, wait you're not Santa Claus.\""; + next; + menu "Santa sent me to find you!", -; + mes "[Prancer]"; + mes "\"Oh really?"; + mes "That's good to know.\""; + next; + menu "How did you get down here by the way?", -; + mes "[Prancer]"; + mes "\"To be honest with you I have absolutely no idea."; + mes "But I'm perfectly fine."; + mes "If Santa could come and help me out of here, that would be nice.\""; + next; + menu "Okay, I'll tell him.", -; + mes "[Prancer]"; + mes "\"Thank you!\""; + set QUEST_xmas08_state, QUEST_xmas08_state | (1 << 3); + close; + +L_ChatReinboo: + set @TEMP,rand(2); + if(@TEMP == 0) goto L_Chat1; + if(@TEMP == 1) goto L_Chat2; + +L_Chat1: + mes "[Prancer]"; + mes "\"It's rather cold down here, it's a good job I have that fire to warm myself with.\""; + close; + +L_Chat2: + mes "[Prancer]"; + mes "\"I still can't remember how I ended up down here.\""; + close; +} + +012-1.gat,47,38,0 script Vixen 170,{ + if (QUEST_xmas08_state & (1 << 4)) goto L_ChatReinboo; + if (QUEST_xmas08_state & 1) goto L_FoundReinboo; + + mes "The Reinboo seems to ignore you"; + close; + +L_FoundReinboo: + mes "[Vixen]"; + mes "\"Hello there."; + mes "What can I do for you?\""; + next; + menu "I'm finding all the Reinboo for Santa!", -; + mes "[Vixen]"; + mes "\"You came all the way up here just to find me?"; + mes "Wow, you must be such a nice person to do that!\""; + next; + mes "[Vixen]"; + mes "\"Hrmm, I guess Santa must be a bit worried though."; + mes "Could you tell him where I am and that I'm okay?\""; + next; + menu "Sure thing.", -; + mes "[Vixen]"; + mes "\"Thank you very much."; + mes ""; + mes "Merry Christmas!\""; + set QUEST_xmas08_state, QUEST_xmas08_state | (1 << 4); + close; + +L_ChatReinboo: + set @TEMP,rand(2); + if(@TEMP == 0) goto L_Chat1; + if(@TEMP == 1) goto L_Chat2; + +L_Chat1: + mes "[Vixen]"; + mes "\"What a lovely view you get from here!\""; + close; + +L_Chat2: + mes "[Vixen]"; + mes "\"I hope walking up here didn't tire you out.\""; + close; +} + +013-1.gat,130,21,0 script Comet 170,{ + if (QUEST_xmas08_state & (1 << 5)) goto L_ChatReinboo; + if (QUEST_xmas08_state & 1) goto L_FoundReinboo; + + mes "The Reinboo seems to ignore you"; + close; + +L_FoundReinboo: + mes "[Comet]"; + mes "\"Erm.. Hi!"; + mes "Why do you smell like Santa?\""; + next; + menu "Probably because he shook my hand.", -; + mes "[Comet]"; + mes "\"Oh, so you've been talking to him have you."; + mes ""; + mes "No don't say it, let me guess.\""; + next; + mes "[Comet]"; + mes "\"Santa has sent you to find all of his Reinboo because he's lost them."; + mes "Is that about right?\""; + next; + menu "Yup, that's it!", -; + mes "[Comet]"; + mes "\"It's happened before, long story."; + mes ""; + mes "So yeah, just tell him that I'm here, I'll make my way back to him later.\""; + next; + menu "Okay, I will.", -; + mes "[Comet]"; + mes "\"So I suppose you'd like to know how I ended up... wherever I am.\""; + next; + mes "[Comet]"; + mes "\"A few of us were flying about, as we do."; + mes "Then this big gust of wind came and carried me over this forest!"; + mes "I was forced to land just down there on the road."; + mes "I've just had a quick nap and I'll try and make it back to Santa soon.\""; + next; + menu "Ah right, well I'll tell Santa that too.", -; + mes "[Comet]"; + mes "\"Okay, thanks for finding me."; + mes "Merry Christmas!\""; + set QUEST_xmas08_state, QUEST_xmas08_state | (1 << 5); + close; + +L_ChatReinboo: + set @TEMP,rand(2); + if(@TEMP == 0) goto L_Chat1; + if(@TEMP == 1) goto L_Chat2; + +L_Chat1: + mes "[Comet]"; + mes "\"I'll tell you what, these flowers taste nice.\""; + close; + +L_Chat2: + mes "[Comet]"; + mes "\"I wonder where the others are?\""; + close; +} + +014-1.gat,91,19,0 script Cupid 170,{ + if (QUEST_xmas08_state & (1 << 6)) goto L_ChatReinboo; + if (QUEST_xmas08_state & 1) goto L_FoundReinboo; + + mes "The Reinboo seems to ignore you"; + close; + +L_FoundReinboo: + menu "Hi, Santa sent me to find you.", -; + mes "[Cupid]"; + mes "\"Hi!"; + mes "Santa sent you to find me? Why what's happened?\""; + next; + menu "All of the Reinboo have gone missing!", -; + mes "[Cupid]"; + mes "\"Oh dear, I thought I was the only one who went off to explore."; + mes ""; + mes "I thought it would be nice to explore the forests around here."; + mes "We don't have forests like this where I live.\""; + next; + menu "What do the forests where you live look like?", -; + mes "[Cupid]"; + mes "\"Did you see the Christmas tree by Santa?"; + mes "It's pretty much all like that, of course we decorated the tree Santa is next to.\""; + next; + menu "I'll tell Santa you're here then, okay?", -; + mes "[Cupid]"; + mes "\"Yes, please do."; + mes "Oh, Happy Christmas!\""; + set QUEST_xmas08_state, QUEST_xmas08_state | (1 << 6); + close; + +L_ChatReinboo: + set @TEMP,rand(2); + if(@TEMP == 0) goto L_Chat1; + if(@TEMP == 1) goto L_Chat2; + +L_Chat1: + mes "[Cupid]"; + mes "\"Do you think there is any fish in this river.\""; + close; + +L_Chat2: + mes "[Cupid]"; + mes "\"I wonder what Santa looks like without a beard.\""; + close; +} + +015-1.gat,50,76,0 script Donner 170,{ + if (QUEST_xmas08_state & (1 << 7)) goto L_ChatReinboo; + if (QUEST_xmas08_state & 1) goto L_FoundReinboo; + + mes "The Reinboo seems to ignore you"; + close; + +L_FoundReinboo: + menu "Hi, Santa sent me to find you.", -; + mes "[Donner]"; + mes "\"Santa? Tell Santa I won't work for him anymore.\""; + next; + menu "Why?", -; + mes "[Donner]"; + mes "\"I got enough of that fat bum. We have to pull him all around the globe and he gets all the praise.\""; + next; + mes "[Donner]"; + mes "\"Do you know how heavy that guy is? He also pays bad and we always have to work on holidays.\""; + next; + menu "But Santa needs you!", -; + mes "[Donner]"; + mes "\"Really? What would he do to persuade me to keep working for him?\""; + next; + menu "How about a 5% raise?",-; + mes "[Donner]"; + mes "\"I think someone with my work experience deserves more than that.\""; + next; + menu "Then a 10% raise?",-; + mes "[Donner]"; + mes "\"Sounds better."; + mes "But I think I can find someone else in the present delivery industry who is willing to pay that."; + mes "I've heard the easter bunnies are hiring...\""; + next; + menu "How about a health plan?",-; + mes "[Donner]"; + mes "\"Including dental care?\""; + next; + menu "Sure.",-; + mes "[Donner]"; + mes "\"And full sickness pay?\""; + next; + menu "I am pretty sure he will agree to that.",-; + mes "[Donner]"; + mes "\"OK, tell Santa I will come back to work tomorrow.\""; + set QUEST_xmas08_state, QUEST_xmas08_state | (1 << 7); + close; + +L_ChatReinboo: + set @TEMP,rand(2); + if(@TEMP == 0) goto L_Chat1; + if(@TEMP == 1) goto L_Chat2; + +L_Chat1: + mes "[Donner]"; + mes "\"Santa had better pull through on this deal.\""; + close; + +L_Chat2: + mes "[Donner]"; + mes "\"I wonder if I could get more holiday as well.\""; + close; +} + +016-1.gat,33,87,0 script Blitzen 170,{ + if (QUEST_xmas08_state & (1 << 8)) goto L_ChatReinboo; + + mes "[Blitzen]"; + mes "\"HIC!...HIC!....HIC!...\""; + next; + mes "The Reinboo staggers and almost falls down, but catches itself in the last moment."; + next; + mes "[Blitzen]"; + mes "\"Oh boy, I don't feel well.\""; + + if (QUEST_xmas08_state & 1) goto L_FoundReinboo; + + close; + +L_FoundReinboo: + next; + menu "Are you alright?",-; + mes "[Blitzen]"; + mes "\"Are you... are y-you... are you santa?\""; + next; + menu "No, but he sent me to search for you.",-; + mes "[Blitzen]"; + mes "\"I... I was searching for S-Santa aaaaall around."; + mes "...went to pub HIC! to warm myself HIC!\""; + next; + mes "[Blitzen]"; + mes "\"The nice man gave me warm drink HIC!\""; + next; + mes "[Blitzen]"; + mes "\"First mug tasted strange HIC! Second better HIC! Third really good HIC\""; + next; + mes "[Blitzen]"; + mes "\"After the fourth mug everything started spinning.\""; + next; + mes "[Blitzen]"; + mes "\"No idea what happened then.\""; + next; + mes "[Blitzen]"; + mes "\"HIC!\""; + next; + menu "You are drunk.",-; + mes "[Blitzen]"; + mes "\"Seems so.\""; + next; + menu "I will show you the way to Santa",-; + mes "[Blitzen]"; + mes "\"Th...Thank you.\""; + next; + mes "[Blitzen]"; + mes "\"I think I will find the way now... I hope.\""; + next; + mes "[Blitzen]"; + mes "\"HIC!\""; + set QUEST_xmas08_state, QUEST_xmas08_state | (1 << 8); + close; + +L_ChatReinboo: + set @TEMP,rand(2); + if(@TEMP == 0) goto L_Chat1; + if(@TEMP == 1) goto L_Chat2; + +L_Chat1: + mes "[Blitzen]"; + mes "\"Ooooh, my head!\""; + close; + +L_Chat2: + mes "[Blitzen]"; + mes "\"I promise, I will stop drinking. I know I can do it. I did it a hundred times.\""; + close; +} + +020-1.gat,98,116,0 script Rudolf 170,{ + if (QUEST_xmas08_state & (1 << 9)) goto L_ChatReinboo; + if (QUEST_xmas08_state & 1) goto L_FoundReinboo; + + mes "The Reinboo seems to ignore you"; + close; + +L_FoundReinboo: + menu "Hi!", -; + mes "[Rudolf]"; + mes "\"No, I'm not doing autographs!\""; + next; + menu "No, that's not what I was going to say.", -; + mes "[Rudolf]"; + mes "\"Well then what do you want?"; + mes "I am very busy you know.\""; + next; + menu "I'm helping Santa find his Reinboo.", -; + mes "[Rudolf]"; + mes "\"Congratulations you found me."; + mes "Anything else?\""; + next; + menu "Umm... Are you okay?", -; + mes "[Rudolf]"; + mes "\"What do you mean by that?\""; + next; + menu "You just seem a bit edgy.", -; + mes "[Rudolf]"; + mes "\"Well if you had to put with being the 'famous one' you'd understand.\""; + next; + mes "[Rudolf]"; + mes "\"It's hard to get time to myself, you know?."; + mes ""; + mes "People don't even leave me alone when I doing my shopping.\""; + next; + mes "[Rudolf]"; + mes "\"Erm... yeah."; + mes "Sorry, I should just save all that for my therapist.\""; + next; + menu "It's okay. I'll tell Santa you're here, alright?", -; + mes "[Rudolf]"; + mes "\"Yeah, okay."; + mes "Take care.\""; + set QUEST_xmas08_state, QUEST_xmas08_state | (1 << 9); + close; + +L_ChatReinboo: + set @TEMP,rand(2); + if(@TEMP == 0) goto L_Chat1; + if(@TEMP == 1) goto L_Chat2; + +L_Chat1: + mes "[Rudolf]"; + mes "\"You know the song about me?"; + mes "Yeah, well I don't get a penny from it.\""; + close; + +L_Chat2: + mes "[Rudolf]"; + mes "\"Can I have some space please?.\""; + close; +}
\ No newline at end of file diff --git a/world/map/npc/xmas/2009/event.txt b/world/map/npc/xmas/2009/event.txt new file mode 100644 index 00000000..4e78b38a --- /dev/null +++ b/world/map/npc/xmas/2009/event.txt @@ -0,0 +1,131 @@ +020-1.gat,78,85,0 script Santa 105,{ + if (QUEST_Christmas09_state > 0) goto L_Finished; + + set @cond, 0; + if (countitem(1234) > 0) set @cond, @cond + 1; + if (countitem(1235) > 0) set @cond, @cond + 1; + if (countitem(1236) > 0) set @cond, @cond + 1; + if (countitem(1237) > 0) set @cond, @cond + 1; + if (countitem(1238) > 0) set @cond, @cond + 1; + if (countitem(1239) > 0) set @cond, @cond + 1; + + if (@cond == 6) goto L_Give; + + if ((strcharinfo(0) == "xxDimondXX")) goto L_LUMP_OF_COAL; + if (SANTA == 0 && BaseLevel <= 30) goto L_SANTA_TOO_YOUNG; + +L_SANTA_Start: + if (Sex) + set @honorific$, "Young Hero"; + if (!Sex) + set @honorific$, "Young Heroine"; + + mes "[Santa Claus]"; + mes "\"ho-hum ho-hum ho-hum, I'm sorry, " + @honorific$ + " Not really in the Christmas spirit."; + mes "That Evil Jack Frost has stolen all the Christmas ornaments!"; + mes "He will never get off the Naughty List!"; + mes "How can we have Christmas without a proper Christmas tree?\""; + mes "\"The Elves are too depressed to work"; + mes "Christmas will be ruined!\""; + next; + menu + "Christmas is all about money anyway!, Bah-Humbug!.", L_SANTA_DISAPPOINTED, + "There must be something that can be done!", L_SANTA_DESCRIBE_QUEST; + close; + + + +L_Message: + mes "[Santa Claus]"; + mes "\"Say, Why don't you help me?"; + mes "In fact, You are just the " + @honorific$ + " I am looking for!\""; + mes "\"What do you say, will you help save Christmas?\""; + next; + menu + "No way, you should have had elves guarding the tree!.", L_SANTA_DISAPPOINTED, + "Of course I will help save Christmas", L_SANTA_DESCRIBE_QUEST; + close; + +L_SANTA_DESCRIBE_QUEST: + mes "[Santa Claus]"; + mes "\"Jack Frost hid the ornaments with monsters all over the world.\""; + mes "\"When you recover 6 different kinds of ornaments I will"; + mes "give you some special gifts!\""; + if (@cond > 0) mes "You already have found "+@cond+" different ornaments!"; + close; + +L_Give: + getinventorylist; + set @freeslots, 100 - @inventorylist_count; + if (countitem(1234) <= 1) set @freeslots, @freeslots + 1; + if (countitem(1235) <= 1) set @freeslots, @freeslots + 1; + if (countitem(1236) <= 1) set @freeslots, @freeslots + 1; + if (countitem(1237) <= 1) set @freeslots, @freeslots + 1; + if (countitem(1238) <= 1) set @freeslots, @freeslots + 1; + if (countitem(1239) <= 1) set @freeslots, @freeslots + 1; + if (@freeslots < 3) goto L_NoRoom; + delitem 1234, 1; + delitem 1235, 1; + delitem 1236, 1; + delitem 1237, 1; + delitem 1238, 1; + delitem 1239, 1; + mes "[Santa Claus]"; + mes "\"I knew I could count on you!:"; + mes "Please accept these small gifts:"; + mes "The official Christmas 2009 headgear!"; + mes "And a little something from the elves to say Thank You!"; + mes "Ho Ho Ho Merry Christmas!\""; + getitem 1242, 1; + setarray @snowglob$, "SantaSnowGlobe", "SnowmanSnowGlobe"; + getitem @snowglob$[rand(getarraysize(@snowglob$))], 1; + setarray @oldstock$, "SantaBeardHat", "ChristmasTreeHat", "Goggles", "LeatherGoggles", "AntlerHat"; + getitem @oldstock$[rand(getarraysize(@oldstock$))], 1; + mes ""; + mes "[You received 20,000 experience points!]"; + mes "[You received 20,000 gold!]"; + getexp 20000, 0; + set zeny, zeny + 20000; + set QUEST_Christmas09_state, 1; + close; + +L_NoRoom: + mes "[Santa Claus]"; + mes ""; + mes "\"Oh dear, it seem you don't have enough space for everything. If you can make space for"; + mes "a few more things, I'll have some goodies for you...\""; + close; + +L_Finished: + mes "[Santa Claus]"; + mes "\"You already completed the quest."; + mes "But maybe you are feeling the Christmas Spirit,"; + mes "And would like to help others complete it too?\""; + close; + +L_LUMP_OF_COAL: + mes "[Santa Claus]"; + mes "\"Hi "+strcharinfo(0)+",You are on the Naughty list."; + mes "Maybe you teased developers too much in IRC?,"; + mes "Maybe at the quests end you will only get a lump of coal?\""; + close; + next; + menu + "No way I'm doing this quest for a lump of coal!", close, + "I Dimond D. Stone promise to be nice in IRC.", L_SANTA_DESCRIBE_QUEST; + close; + +L_SANTA_TOO_YOUNG: + mes "[Santa Claus]"; + mes "\"You are just too young for such a heroic quest, off with you now...\""; + close; + +L_SANTA_DISAPPOINTED: + mes "[Santa Claus]"; + mes "\"Too bad, " + @honorific$ + " , you've been on the NICE LIST since you were 3.\""; + close; + +} + + + diff --git a/world/map/npc/xmas/2010/_import.txt b/world/map/npc/xmas/2010/_import.txt new file mode 100644 index 00000000..e68c6992 --- /dev/null +++ b/world/map/npc/xmas/2010/_import.txt @@ -0,0 +1,2 @@ +npc: npc/xmas/2010/santa.txt +npc: npc/xmas/2010/golbanez.txt diff --git a/world/map/npc/xmas/2010/golbanez.txt b/world/map/npc/xmas/2010/golbanez.txt new file mode 100644 index 00000000..f5a0e01b --- /dev/null +++ b/world/map/npc/xmas/2010/golbanez.txt @@ -0,0 +1,322 @@ +//################################################################################# +//# +//# Golbanez for Christmas 2010 +//# +//# Authors: alastrim, PjotrOrial +//# +//# reviewed by: +//# +//# This is Golbanez, he took Santa Claus as a hostage. +//# Santa will be accessible only if players give what golbenez want. +//# if the player reach santa, he will donate some stuff to the players. +//# +//################################################################################# + +// Please, remove the debug script bofore releasing the quest. + +//031-3.gat,215,294,0 script Debug 204,{ + +// mes "What you want to do?"; +// menu +// "Change 'Maze'",-, +// "Change Golbenez_Inn_Cost(Your Donations)",_cost, +// "Change Xmas2010",_xmas, +// "Clean all variables.",_clean, +// "Nothing",_end; + +// mes "Old Value: " + Maze; +// input Maze; +// mes "New Value: " + Maze; +// close; + +//_xmas: +// mes "Old Value: " + Xmas2010; +// input Xmas2010; +// mes "New Value: " + Xmas2010; +// close; + +//_cost: +// mes "Old Value: " + Golbenez_Inn_Cost; +// input Golbenez_Inn_Cost; +// mes "New Value: " + Golbenez_Inn_Cost; +// close; + +//_clean: +// mes "Golbenez_Inn_Cost Old Value: " + Golbenez_Inn_Cost; +// set Golbenez_Inn_Cost, 0; +// mes "Golbenez_Inn_Cost New Value: " + Golbenez_Inn_Cost; +// mes "Maze Old Value: " + Maze; +// set Maze, 0; +// mes "Maze New Value: " + Maze; +// mes "Xmas2010 old value: " + Xmas2010; +// set Xmas2010, 0; +// mes "Xmas2010 New Value: " + Xmas2010; +// mes "Yellow Old Value: " + Yellow; +// set Silver, 0; +// mes "Yellow New Value: " + Yellow; +// mes "White Old Value: " + White; +// set Golden, 0; +// mes "White New Value: " + White; +// mes "Count_White Old Value: " + Count_White; +// set Count_White, 0; +// mes "Count_White New Value: " + Count_White; +// mes "Count_Yellow Old Value: " + Count_Yellow; +// set Count_Yellow, 0; +// mes "Count_Yellow New Value: " + Count_Yellow; + + +// close; + +//_end: +// close; + +//} + +031-3.gat,215,296,0 script #Golbenez#_M 204,{ + + if (Golbenez_Inn_Cost >= 5000000) goto Glb_Inn_Enough; + if (Xmas2010 > 0) goto L_Intro; + if (BaseLevel < 40) goto L_Young; + + mes "[Golbenez]"; + mes "\"Mortal! I am Golbenez! I have broken through the barriers of space and time!\""; + next; + mes "\"Well to let you know, I have taken Santa Claus hostage.\""; + next; + mes "\"This may sound hard to you... But I need lots of stuff for building the way to place of leisure."; + next; + mes "\"So if you want to have gifts at Christmas... we should make a deal: Bring me money."; + next; + menu + "But I am broke!",L_Broke, + "Ok, but how much do you need?",-; + mes "[Golbenez]"; + mes "\"Not much. A few millions would do!\""; + next; + menu + "WHAT! But no one has so much money!",-, + "Ehh... I dont like Christmas anyway... Bye!",L_Close; + + mes "[Golbenez]"; + mes "\"Hey, you think I dont know about your inflation problems? Dont try to fool me, you must be filthy rich!\""; + next; + menu + "Ok, you got me. Im rich!",-, + "Im not rich! But is there any other way to help you?",-; + + mes "[Golbenez]"; + mes "\"Well... What I really want is money, but I can propose a different way to help Santa. When I took Santa as hostage he tried to resist and, in the process of submitting him by force, a lot of present boxes were dropped in the ground.\""; + next; + mes "\"I was intrigued by those boxes... They were Yellow and White. When I finally took control of the situation, I noticed that the monsters in the cave stole all the Boxes! Now, here is my idea: if you get ALL the boxes back to me, I can release santa.\""; + next; + mes "\"Im willing to consider a conversion of each Present Box donated to an amount in Gold Pieces. So, a Yellow Present is equivalent to 50.000 Gold Pieces and a White Present, 100.000 Gold Pieces. I am pretty sure he dropped 40 Yellow and 30 White boxes. So, if you bring me all of them, it would be equivalent to 5 million Gold Pieces, exactly what I was going to ask you.\""; + next; + mes "\"But don't be a fool. You will find these presents only with the monsters in the Ice Cave where Santa is hidden.\""; + next; + mes "\"So, bring me Money and/or Present Boxes and Santa can be released. Now, there is one more thing. Santa is in a very complicated Ice Cave in nivalis. I can control all the entrances in this cave. And I will only let you reach Santa after you pay me what I want.\""; + next; + mes "\"If you choose to find the present boxes, instead of paying in Gold Pieces, it is going to be easier for you if you bring them in small lots. Don't wait until you have everything. Remember: The more you give me, the closer you can get to santa.\""; + next; + +L_Intro: + if (Xmas2010 == 0) set Xmas2010, 1; + mes "\"So far, you have brought presents and money in a total value of " + Golbenez_Inn_Cost + " gold pieces. The people of your world have brought me " + $Golbenez_Inn_Cost + " gold pieces. What would you like to give?\""; + +L_Menu: + + menu + "I'd like to spend some money.", Glb_money, + "I'd like to give some Yellow presents.", -, + "I'd like to give some White presents.", -, + "Why do you want present boxes?",Glb_whypresents, + "Can I bring other items?", Glb_otheritems, + "Nevermind.", Glb_nvm; + + // in this array the items should be filled in. Remember to change the ID when the boxes are added to item_db. + set @menuitem[2], 4021; + set @menuitem[3], 4022; + set @menuvalue[2], 50000; + set @menuvalue[3], 100000; + + mes "\"How many presents do you want to give?\""; + + input @count; + + if (countitem(@menuitem[@menu]) < @count ) goto Glb_noitems; + if (@menuitem[@menu] == 4021) goto L_Check_Yellow; + if (@menuitem[@menu] == 4022) goto L_Check_White; + +L_Check_Yellow: + // If you have already donated more than you have collected in the right way (Via script), + // then whatever you have donated so far will remain, but if you have some spare boxes, + // it will be not possible to give it. + if (Count_Yellow > Yellow) set Yellow, Count_Yellow; + if (Count_Yellow + @count > Yellow) goto L_Fail_Box; + + if (Count_Yellow >= 40) goto L_Done_Yellow; + if (@count > Yellow) goto L_Fail_Box; + delitem @menuitem[@menu], @count; + set Count_Yellow, Count_Yellow + @count; + set @Give, (@count * @menuvalue[@menu]); + goto Golbenez_pay_presents; + +L_Check_White: + // If you have already donated more than you have collected in the right way (Via script), + // then whatever you have donated so far will remain, but if you have some spare boxes, + // it will be not possible to give it. + if (Count_White > White) set White, Count_White; + if (Count_White + @count > White) goto L_Fail_Box; + + if (Count_White >= 30) goto L_Done_White; + if (@count > White) goto L_Fail_Box; + delitem @menuitem[@menu], @count; + set Count_White, Count_White + @count; + set @Give, (@count * @menuvalue[@menu]); + goto Golbenez_pay_presents; + +L_Fail_Box: + mes "[Golbenez]"; + mes "\"How did you get those present boxes? I am monitoring the cave and I do not remember to see you getting this by yourself. I do not like this.\""; + close; + +L_Done_Yellow: + mes "[Golbenez]"; + mes "\"You already gave me all the Yellow Boxes that I wanted. I don't even want to know how you got these boxes.\""; + close; + +L_Done_White: + mes "[Golbenez]"; + mes "\"You already gave me all the White Boxes that I wanted. I don't even want to know how you got these boxes.\""; + close; + +Glb_money: + input @Give; + if (@Give <= 0) close; + if (zeny < @Give) goto Glb_Inn_NotEnoughZeny; + goto Golbenez_pay; + +Glb_checkGlAn: + set @glob_an$ , "Golbenez: " + strcharinfo(0) + " accounted to free santa"; + + // depending on the absolute amount setup another global announcement. + if( @Give >3000000 ) goto Golbenez_an_5; + if( @Give > 2000000 ) goto Golbenez_an_4; + if( @Give > 1000000 ) goto Golbenez_an_3; + if( @Give > 700000 ) goto Golbenez_an_2; + if( @Give > 350000 ) goto Golbenez_an_1; + if (Golbenez_Inn_Cost < 5000000) goto L_Needmore; + if (Golbenez_Inn_Cost >= 5000000) goto Glb_Inn_Enough; + close; + +Golbenez_an_1: + set @glob_an$, @glob_an$ + " with a great effort."; + goto Golbenez_an; + +Golbenez_an_2: + set @glob_an$, @glob_an$ + " with an honest contribution."; + goto Golbenez_an; + +Golbenez_an_3: + set @glob_an$, @glob_an$ + " with a great effort. Such a generous person."; + goto Golbenez_an; + +Golbenez_an_4: + set @glob_an$, @glob_an$ + " with a remarkable effort. Impressive!"; + goto Golbenez_an; + +Golbenez_an_5: + set @glob_an$, @glob_an$ + " with a huge effort. What a honorable donation!"; + goto Golbenez_an; + +Golbenez_an: + announce @glob_an$, 0; + if (Golbenez_Inn_Cost < 5000000) goto L_Needmore; + if (Golbenez_Inn_Cost >= 5000000) goto Glb_Inn_Enough; + close; + +Golbenez_pay: + set Golbenez_Inn_Cost, Golbenez_Inn_Cost + @Give; + set $Golbenez_Inn_Cost, $Golbenez_Inn_Cost + @Give; + set zeny, zeny - @Give; + goto Glb_checkGlAn; + +Golbenez_pay_presents: + set Golbenez_Inn_Cost, Golbenez_Inn_Cost + @Give; + set $Golbenez_Inn_Cost, $Golbenez_Inn_Cost + @Give; + if (Golbenez_Inn_Cost < 5000000) goto L_Needmore; + if (Golbenez_Inn_Cost >= 5000000) goto Glb_Inn_Enough; + close; + + +Glb_Inn_NotEnoughZeny: + mes "[Golbenez]"; + mes "\"You don't have as much as you say you do. Come back when you can give the gold pieces you say you can.\""; + close; + +Glb_noitems: + mes "[Golbenez]"; + mes "\"You don't have as many as you say you do. Come back when you have enough.\""; + close; + +Glb_nvm: + mes "[Golbenez]"; + mes "\"That's too bad.\""; + close; + +Glb_whypresents: + mes "[Golbenez]"; + mes "\"The presents contain some sort of spiritual attachment that aids in the creation of dimensional connections to this plane of existence. The white ones contain the stronger spiritual attachment, followed by the yellow and then green, blue and purple present boxes. But I am not interested in the last three kinds.\""; + close; + +Glb_otheritems: + mes "[Golbenez]"; + mes "\"No you cannot!\""; + next; + mes "\"I will not discuss any further, mortal!\""; + close; + + +L_Needmore: + mes "[Golbenez]"; + mes "\"You brought me the equivalent to " +Golbenez_Inn_Cost+ " Gold Pieces. This is not enough.\""; + next; + mes "\"Keep working. The closer you get to the amount of money I need, the closer you can get to Santa on that big Ice cave.\""; + + if (Golbenez_Inn_Cost >= 500000 && Golbenez_Inn_Cost < 1000000) set Maze, 1; + if (Golbenez_Inn_Cost >= 1000000 && Golbenez_Inn_Cost < 1500000) set Maze, 2; + if (Golbenez_Inn_Cost >= 1500000 && Golbenez_Inn_Cost < 2000000) set Maze, 3; + if (Golbenez_Inn_Cost >= 2000000 && Golbenez_Inn_Cost < 2500000) set Maze, 4; + if (Golbenez_Inn_Cost >= 2500000 && Golbenez_Inn_Cost < 3000000) set Maze, 5; + if (Golbenez_Inn_Cost >= 3000000 && Golbenez_Inn_Cost < 3500000) set Maze, 6; + if (Golbenez_Inn_Cost >= 3500000 && Golbenez_Inn_Cost < 4000000) set Maze, 7; + if (Golbenez_Inn_Cost >= 4000000 && Golbenez_Inn_Cost < 5000000) set Maze, 8; + + close; + +L_Broke: + mes "[Golbenez]"; + mes "\"Then say goodbye to christmas.\""; + close; + +L_Close: + close; + +L_Young: + mes "[Golbenez]"; + mes "\"You are too young, even for mortal standards. You can't do anything to save santa.\""; + close; + +Glb_Inn_Enough: + set Maze, 9; + mes "[Golbenez]"; + mes "\"Ok mortal!\""; + next; + mes "\"I have collected enough for now. You are now able to reach Santa.\""; + next; + mes "\"This will definitely help me finish the place of leisure.\""; + next; + mes "\"Have fun trying to save Santa from that cold maze!\""; + close; +} + + diff --git a/world/map/npc/xmas/2010/santa.txt b/world/map/npc/xmas/2010/santa.txt new file mode 100644 index 00000000..bd82a251 --- /dev/null +++ b/world/map/npc/xmas/2010/santa.txt @@ -0,0 +1,102 @@ +//################################################################################# +//# +//# Santa for Christmas 2010 +//# +//# Authors: alastrim, PjotrOrial +//# +//# reviewed by: +//# +//# This is Santa Claus. +//# He was taken as hostage by golbanez, and now that he is free, he would like to +//# give a reward for those who helped him. +//# +//################################################################################# + + +031-3.gat,122,51,0 script Santa 105,{ + + if (Sex) set @honorific$, "young hero"; + if (Sex) set @gender$, "boy"; + if (!Sex) set @honorific$, "young heroine"; + if (!Sex) set @gender$, "girl"; + if (Xmas2010 == 2) goto L_Returning; + if (Xmas2010 == 3) goto L_Stocking_Prize; + if (Xmas2010 == 4) goto L_Event_Done; + +L_start: + mes "The old man's eyes open wide as he sees you."; + next; + mes "[Santa Claus]"; + mes "\"Ho-Ho-ho! It is so good to see you here " +@honorific$+ "!\""; + next; + menu + "Im " + strcharinfo(0) + " and I am here to save you from Golbenez.",-; + mes "\"I cant believe it... are you really " +strcharinfo(0)+ "? I remember all the comments that... 'Thing' was making about building his way to a 'Leisure Place' and how your donations would really help him.\""; + next; + mes "\"What is his name again? Erh... Golbinos? Galvanis? Ho-hum... All I know is that it was keeping me hostage in this cold labyrinth. And you proved yourself a good " +@gender$+ " by helping me with all those donations!\""; + next; + if (gettime(6) != 12 || gettime(5) >= 25) goto L_Skip_Dialogue; + mes "\"Well, I am really late! In a few hours I have to start my usual present giving routine... But not before I give you a special gift for all you did.\""; + next; +L_Skip_Dialogue: + mes "\"Let me see... From what I can remember, Galvenio said that the only way someone could enter this cave is by giving him at least 5 Million Gold Pieces! It means you really did a good job!\""; + next; + +L_Calculate_Prizes: + getinventorylist; + if (@inventorylist_count == 100) goto L_full; + setarray @prizes, 1216, 629, 630, 634, 1214, 633, 628, 627, 621; + mes "\"You are so generous! I believe I can give you one of the hats from this bag. I know you like these silly hats. Yes, Santa knows this kind of thing... Ho-Ho-Ho! Put your hand here and pick one hat... No, you cant look, it MUST be a surprise...\""; + getitem @prizes[rand(8)], 1; + set Xmas2010, 2; + set Golbenez_Inn_Cost, 0; + next; + +L_Returning: + mes "[Santa Claus]"; + mes "\"I hope you liked your gift.\""; + next; + menu + "Yes Santa, you are the best!",L_Close, + "Ehh, it is not what I expected.",L_Bad, + "I loved it!",-; + +L_Stocking_Prize: + set Xmas2010, 3; + getinventorylist; + if (@inventorylist_count == 100) goto L_full; + mes "[Santa Claus]"; + mes "\"Good to know you liked it! Now I would like to give you a personal item. It is not a hat, but something that will always make you remember how grateful I am.\""; + next; + menu + "Wonderful! Santa, You are great! Is it another hat?",-; + next; + mes "\"No, not a hat. Here, take this. I have been using it for the last three months... It is my favorite and it means a lot to me.\""; + getitem 1207, 1; + set Xmas2010, 4; + close2; + percentheal -20, 0; + message strcharinfo(0), "You suddenly get dizzy... Something is not right with you. Maybe you shouldnt have put the Red Stocking so close to your face!"; + end; + +L_full: + mes "[Santa Claus]"; + mes "\"Your backpack seems to be full. You should get rid of some unused stuff before you get my gifts, or maybe try one super resistant red bag, my personal favorite! Hoh-hoh!\""; + close; + +L_Close: + mes "[Santa Claus]"; + mes "\"Ho, Ho... Ok, see you later " +@honorific$+ "!\""; + close; + +L_Bad: + mes "[Santa Claus]"; + mes "\"Hmm... and I was thinking you were a good " +@gender$+ "! Dont be ungrateful and next time, think before you get a gift.\""; + close; + +L_Event_Done: + mes "[Santa Claus]"; + mes "\"Hello again " +strcharinfo(0)+ "! I cant chat with you right now, because we are really late for Christmas, but, when it is over, you will always be welcome in my house for a hot chocolate.\""; + close; + +} |