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/halloween | |
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/halloween')
25 files changed, 6423 insertions, 0 deletions
diff --git a/world/map/npc/halloween/2006/halloween1.txt b/world/map/npc/halloween/2006/halloween1.txt new file mode 100644 index 00000000..3d36a02b --- /dev/null +++ b/world/map/npc/halloween/2006/halloween1.txt @@ -0,0 +1,213 @@ +011-1.gat,119,78,0 script Halloween1 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST1 == 1) goto L_only_once; + set HWQUEST1,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP == 6) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween10.txt b/world/map/npc/halloween/2006/halloween10.txt new file mode 100644 index 00000000..7f17c860 --- /dev/null +++ b/world/map/npc/halloween/2006/halloween10.txt @@ -0,0 +1,213 @@ +002-4.gat,88,99,0 script Halloween10 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST10 == 1) goto L_only_once; + set HWQUEST10,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP < 7) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween11.txt b/world/map/npc/halloween/2006/halloween11.txt new file mode 100644 index 00000000..adb25c88 --- /dev/null +++ b/world/map/npc/halloween/2006/halloween11.txt @@ -0,0 +1,213 @@ +001-3.gat,71,70,0 script Halloween11 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST11 == 1) goto L_only_once; + set HWQUEST11,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP > 3) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween12.txt b/world/map/npc/halloween/2006/halloween12.txt new file mode 100644 index 00000000..e9dfb3f8 --- /dev/null +++ b/world/map/npc/halloween/2006/halloween12.txt @@ -0,0 +1,213 @@ +005-1.gat,121,69,0 script Halloween12 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST12 == 1) goto L_only_once; + set HWQUEST12,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP > 8) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween13.txt b/world/map/npc/halloween/2006/halloween13.txt new file mode 100644 index 00000000..1d6825f1 --- /dev/null +++ b/world/map/npc/halloween/2006/halloween13.txt @@ -0,0 +1,213 @@ +001-2.gat,38,65,0 script Halloween13 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST13 == 1) goto L_only_once; + set HWQUEST13,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP > 5) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween14.txt b/world/map/npc/halloween/2006/halloween14.txt new file mode 100644 index 00000000..de1bcbd1 --- /dev/null +++ b/world/map/npc/halloween/2006/halloween14.txt @@ -0,0 +1,213 @@ +019-1.gat,56,61,0 script Halloween14 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST14 == 1) goto L_only_once; + set HWQUEST14,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP > 8) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween15.txt b/world/map/npc/halloween/2006/halloween15.txt new file mode 100644 index 00000000..86ae037c --- /dev/null +++ b/world/map/npc/halloween/2006/halloween15.txt @@ -0,0 +1,213 @@ +020-1.gat,51,49,0 script Halloween15 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST15 == 1) goto L_only_once; + set HWQUEST15,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP > 3) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween16.txt b/world/map/npc/halloween/2006/halloween16.txt new file mode 100644 index 00000000..c1ce2a0f --- /dev/null +++ b/world/map/npc/halloween/2006/halloween16.txt @@ -0,0 +1,213 @@ +020-3.gat,35,44,0 script Halloween16 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST16 == 1) goto L_only_once; + set HWQUEST16,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP > 6) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween17.txt b/world/map/npc/halloween/2006/halloween17.txt new file mode 100644 index 00000000..68fa53fc --- /dev/null +++ b/world/map/npc/halloween/2006/halloween17.txt @@ -0,0 +1,213 @@ +020-2.gat,74,27,0 script Halloween17 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST17 == 1) goto L_only_once; + set HWQUEST17,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP > 2) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween18.txt b/world/map/npc/halloween/2006/halloween18.txt new file mode 100644 index 00000000..4fe1c98a --- /dev/null +++ b/world/map/npc/halloween/2006/halloween18.txt @@ -0,0 +1,213 @@ +003-1.gat,130,9,0 script Halloween18 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST18 == 1) goto L_only_once; + set HWQUEST18,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP > 4) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween19.txt b/world/map/npc/halloween/2006/halloween19.txt new file mode 100644 index 00000000..5899781e --- /dev/null +++ b/world/map/npc/halloween/2006/halloween19.txt @@ -0,0 +1,213 @@ +007-1.gat,113,71,0 script Halloween19 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST19 == 1) goto L_only_once; + set HWQUEST19,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP > 8) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween2.txt b/world/map/npc/halloween/2006/halloween2.txt new file mode 100644 index 00000000..d4415452 --- /dev/null +++ b/world/map/npc/halloween/2006/halloween2.txt @@ -0,0 +1,213 @@ +011-1.gat,48,58,0 script Halloween2 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST2 == 1) goto L_only_once; + set HWQUEST2,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP > 8) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween20.txt b/world/map/npc/halloween/2006/halloween20.txt new file mode 100644 index 00000000..bb7c2a0b --- /dev/null +++ b/world/map/npc/halloween/2006/halloween20.txt @@ -0,0 +1,213 @@ +001-1.gat,143,20,0 script Halloween20 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST20 == 1) goto L_only_once; + set HWQUEST20,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP < 2) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween3.txt b/world/map/npc/halloween/2006/halloween3.txt new file mode 100644 index 00000000..c640522e --- /dev/null +++ b/world/map/npc/halloween/2006/halloween3.txt @@ -0,0 +1,213 @@ +011-1.gat,45,85,0 script Halloween3 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST3 == 1) goto L_only_once; + set HWQUEST3,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP < 7) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween4.txt b/world/map/npc/halloween/2006/halloween4.txt new file mode 100644 index 00000000..94f4cc2a --- /dev/null +++ b/world/map/npc/halloween/2006/halloween4.txt @@ -0,0 +1,213 @@ +011-4.gat,11,57,0 script Halloween4 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST4 == 1) goto L_only_once; + set HWQUEST4,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP < 7) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween5.txt b/world/map/npc/halloween/2006/halloween5.txt new file mode 100644 index 00000000..187b59c5 --- /dev/null +++ b/world/map/npc/halloween/2006/halloween5.txt @@ -0,0 +1,213 @@ +011-3.gat,17,30,0 script Halloween5 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST5 == 1) goto L_only_once; + set HWQUEST5,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP == 7) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween6.txt b/world/map/npc/halloween/2006/halloween6.txt new file mode 100644 index 00000000..bd991810 --- /dev/null +++ b/world/map/npc/halloween/2006/halloween6.txt @@ -0,0 +1,213 @@ +010-2.gat,28,48,0 script Halloween6 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST6 == 1) goto L_only_once; + set HWQUEST6,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP == 7) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween7.txt b/world/map/npc/halloween/2006/halloween7.txt new file mode 100644 index 00000000..2e8993aa --- /dev/null +++ b/world/map/npc/halloween/2006/halloween7.txt @@ -0,0 +1,213 @@ +002-2.gat,103,102,0 script Halloween7 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST7 == 1) goto L_only_once; + set HWQUEST7,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP == 7) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween8.txt b/world/map/npc/halloween/2006/halloween8.txt new file mode 100644 index 00000000..257ca0e0 --- /dev/null +++ b/world/map/npc/halloween/2006/halloween8.txt @@ -0,0 +1,213 @@ +002-3.gat,43,67,0 script Halloween8 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST8 == 1) goto L_only_once; + set HWQUEST8,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP == 7) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/halloween9.txt b/world/map/npc/halloween/2006/halloween9.txt new file mode 100644 index 00000000..3b97ecac --- /dev/null +++ b/world/map/npc/halloween/2006/halloween9.txt @@ -0,0 +1,213 @@ +001-1.gat,121,33,0 script Halloween9 103,{ + mes "[Halloweenist]"; + mes "It's Halloween."; + mes "The time for tricks and treats."; + next; + + mes "[Halloweenist]"; + mes "You get one of either from me."; + next; + + menu "Trick or treat.",L_tricktreat,"No thanks.",L_no; + +L_tricktreat: + if(HWQUEST9 == 1) goto L_only_once; + set HWQUEST9,1; + mes "[Halloweenist]"; + mes "Now you will get a..."; + next; + set @TEMP,rand(9); + if(@TEMP > 7) goto L_treat; + goto L_trick; + +L_treat: + mes "[Halloweenist]"; + mes "...Treat!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_treat_0; + if(@TEMP == 1) goto L_treat_1; + if(@TEMP == 2) goto L_treat_2; + if(@TEMP == 3) goto L_treat_3; + if(@TEMP == 4) goto L_treat_4; + if(@TEMP == 5) goto L_treat_5; + if(@TEMP == 6) goto L_treat_6; + if(@TEMP == 7) goto L_treat_7; + if(@TEMP == 8) goto L_treat_8; + if(@TEMP == 9) goto L_treat_9; + +L_trick: + mes "[Halloweenist]"; + mes "...Trick!"; + set @TEMP,rand(9); + next; + if(@TEMP == 0) goto L_trick_0; + if(@TEMP == 1) goto L_trick_1; + if(@TEMP == 2) goto L_trick_2; + if(@TEMP == 3) goto L_trick_3; + if(@TEMP == 4) goto L_trick_4; + if(@TEMP == 5) goto L_trick_5; + if(@TEMP == 6) goto L_trick_6; + if(@TEMP == 7) goto L_trick_7; + if(@TEMP == 8) goto L_trick_8; + if(@TEMP == 9) goto L_trick_9; + +L_trick_0: + mes "[Halloweenist]"; + mes "Mwahahaha!"; + mes "I stole some of your money!"; + set Zeny,Zeny-rand(500,1500); + close; + +L_trick_1: + mes "[Halloweenist]"; + mes "You will now die."; + next; + mes "[Halloweenist]"; + mes "Have a nice halloween as a corpse!"; + gmcommand "@die "; + close; + +L_trick_2: + mes "[Halloweenist]"; + mes "May all of your disgusting stats and skills be gone!"; + next; + mes "[Halloweenist]"; + mes "Abracadabra!"; + gmcommand "@charstreset "+strcharinfo(0); + gmcommand "@charskreset "+strcharinfo(0); + close; + +L_trick_3: + mes "[Halloweenist]"; + mes "You will now get randomly warped!"; + next; + gmcommand "@jump "; + mes "[Halloweenist]"; + mes "Happy Halloween!"; + close; + +L_trick_4: + mes "[Halloweenist]"; + mes "You will now drop all of your items!"; + next; + mes "[Halloweenist]"; + mes "Better luck with my collegues..."; + gmcommand "@dropall "; + close; + +L_trick_5: + mes "[Halloweenist]"; + mes "Your sex will now change!"; + next; + mes "[Halloweenist]"; + mes "Bwahahaha!"; + gmcommand "@charchangesex "+strcharinfo(0); + close; + +L_trick_6: + mes "[Halloweenist]"; + mes "I'll now kill all monsters on this map."; + next; + mes "[Halloweenist]"; + mes "Done!"; + gmcommand "@killmonster2 "; + close; + +L_trick_7: + mes "[Halloweenist]"; + mes "I'll summon maggots!"; + next; + mes "[Halloweenist]"; + mes "Mwahahaha!"; + gmcommand "@spawn 1002 50 "; + close; + +L_trick_8: + mes "[Halloweenist]"; + mes "I'll summon some Fire Skulls now!"; + next; + mes "[Halloweenist]"; + mes "Mwahahahaha!"; + gmcommand "@spawn 1023 5 "; + close; + +L_trick_9: + mes "[Halloweenist]"; + mes "I'll diss you around the server."; + next; + mes "[Halloweenist]"; + mes "Mwahahahah!"; + gmcommand "@kami "+strcharinfo(0)+" is getting tricked!"; + close; + +L_treat_0: + mes "[Halloweenist]"; + mes "You just won some money."; + set Zeny,Zeny+rand(500,15000); + close; + +L_treat_1: + mes "[Halloweenist]"; + mes "You just won a Pumpkin Helmet!"; + getitem 615,1; + close; + +L_treat_2: + mes "[Halloweenist]"; + mes "You just won an Axe Hat!"; + getitem 616,1; + close; + +L_treat_3: + mes "[Halloweenist]"; + mes "You just won a Pirate Hat!"; + getitem 617,1; + close; + +L_treat_4: + mes "[Halloweenist]"; + mes "You just won Goggles!"; + getitem 618,1; + close; + +L_treat_5: + mes "[Halloweenist]"; + mes "You just won Leather Goggles!"; + getitem 619,1; + close; + +L_treat_6: + mes "[Halloweenist]"; + mes "You just won a Circlet!"; + getitem 620,1; + close; + +L_treat_7: + mes "[Halloweenist]"; + mes "You just won an Eyepatch!"; + getitem 621,1; + close; + +L_treat_8: + mes "[Halloweenist]"; + mes "You just won a Bandana!"; + getitem 622,1; + close; + +L_treat_9: + mes "[Halloweenist]"; + mes "You just won 500 exp!"; + getexp 500,0; + close; + +L_only_once: + mes "[Halloweenist]"; + mes "You already got one from me."; + close; + +L_no: + mes "[Halloweenist]"; + mes "You a chicken or something?"; + close; +} diff --git a/world/map/npc/halloween/2006/monsters.txt b/world/map/npc/halloween/2006/monsters.txt new file mode 100644 index 00000000..e64799f4 --- /dev/null +++ b/world/map/npc/halloween/2006/monsters.txt @@ -0,0 +1,9 @@ +002-2.gat,0,0,0,0 monster Jack 1022,20,0,0,0 +001-1.gat,0,0,0,0 monster Fire_Skull 1023,20,0,0,0 +005-1.gat,0,0,0,0 monster Poison_Skull 1024,20,0,0,0 +011-1.gat,0,0,0,0 monster Jack 1022,20,0,0,0 +019-1.gat,0,0,0,0 monster Fire_Skull 1023,20,0,0,0 +020-1.gat,0,0,0,0 monster Poison_Skull 1024,20,0,0,0 +010-2.gat,0,0,0,0 monster Jack 1022,20,0,0,0 +003-1.gat,0,0,0,0 monster Fire_Skull 1023,20,0,0,0 +007-1.gat,0,0,0,0 monster Poison_Skull 1024,20,0,0,0 diff --git a/world/map/npc/halloween/2008/monsters.txt b/world/map/npc/halloween/2008/monsters.txt new file mode 100644 index 00000000..a0f32222 --- /dev/null +++ b/world/map/npc/halloween/2008/monsters.txt @@ -0,0 +1,137 @@ +// + +011-3.gat,0,0,0,0 monster JackO 1022,1,3600000,1800000,Mob4H + +011-3.gat,0,0,0 script Mob4H -1,{ + set @mobID, 1022; + callfunc "MobPoints"; + break; +} + +001-3.gat,0,0,0,0 monster JackO 1022,5,180000,170000,Mob6H + +001-3.gat,0,0,0 script Mob6H -1,{ + set @mobID, 1022; + callfunc "MobPoints"; + break; +} + +001-2.gat,132,25,0,0 monster JackO 1022,1,3600000,1800000,Mob8H + +001-2.gat,0,0,0 script Mob8H -1,{ + set @mobID, 1022; + callfunc "MobPoints"; + break; +} + +020-2.gat,77,64,20,10 monster JackO 1022,1,3600000,1800000,Mob13H + +020-2.gat,0,0,0 script Mob13H -1,{ + set @mobID, 1022; + callfunc "MobPoints"; + break; +} + +003-1.gat,0,0,0,0 monster JackO 1022,1,3600000,1800000,Mob15H + +003-1.gat,0,0,0 script Mob15H -1,{ + set @mobID, 1022; + callfunc "MobPoints"; + break; +} + +011-4.gat,76,79,6,1 monster JackO 1022,1,3600000,1800000,Mob17H + +011-4.gat,0,0,0 script Mob17H -1,{ + set @mobID, 1022; + callfunc "MobPoints"; + break; +} + +009-2.gat,113,47,24,6 monster JackO 1022,1,3600000,1800000,Mob20H + +009-2.gat,0,0,0 script Mob20H -1,{ + set @mobID, 1022; + callfunc "MobPoints"; + break; +} + +020-4.gat,0,0,0,0 monster JackO 1022,1,3600000,1800000,Mob21H + +020-4.gat,0,0,0 script Mob21H -1,{ + set @mobID, 1022; + callfunc "MobPoints"; + break; +} + +05-3.gat,86,34,0,0 monster JackO 1022,2,1800000,900000,Mob22H + +05-3.gat,0,0,0 script Mob22H -1,{ + set @mobID, 1022; + callfunc "MobPoints"; + break; +} + +010-2.gat,26,88,0,0 monster JackO 1022,1,3600000,1800000,Mob23H + +010-2.gat,0,0,0 script Mob23H -1,{ + set @mobID, 1022; + callfunc "MobPoints"; + break; +} + +006-1.gat,115,121,0,0 monster JackO 1022,1,3600000,1800000,Mob24H + +006-1.gat,0,0,0 script Mob24H -1,{ + set @mobID, 1022; + callfunc "MobPoints"; + break; +} + +006-3.gat,30,125,0,0 monster JackO 1022,1,3600000,1800000,Mob25H + +006-3.gat,0,0,0 script Mob25H -1,{ + set @mobID, 1022; + callfunc "MobPoints"; + break; +} + +12-1.gat,19,54,0,0 monster JackO 1022,1,3600000,1800000,Mob26H + +12-1.gat,0,0,0 script Mob26H -1,{ + set @mobID, 1022; + callfunc "MobPoints"; + break; +} + +012-3.gat,54,130,0,0 monster JackO 1022,1,3600000,1800000,Mob27H + +012-3.gat,0,0,0 script Mob27H -1,{ + set @mobID, 1022; + callfunc "MobPoints"; + break; +} + +004-1.gat,68,20,0,0 monster JackO 1022,1,3600000,1800000,Mob34H + +004-1.gat,0,0,0 script Mob34H -1,{ + set @mobID, 1022; + callfunc "MobPoints"; + break; +} + +009-3.gat,26,103,0,0 monster JackO 1022,1,3600000,1800000,Mob35H + +009-3.gat,0,0,0 script Mob35H -1,{ + set @mobID, 1022; + callfunc "MobPoints"; + break; +} + +018-2.gat,121,46,0,0 monster JackO 1022,1,3600000,1800000,Mob38H + +018-2.gat,0,0,0 script Mob38H -1,{ + set @mobID, 1022; + callfunc "MobPoints"; + break; +} diff --git a/world/map/npc/halloween/2008/prize_master.txt b/world/map/npc/halloween/2008/prize_master.txt new file mode 100644 index 00000000..2b0cf642 --- /dev/null +++ b/world/map/npc/halloween/2008/prize_master.txt @@ -0,0 +1,455 @@ +// + +010-2.gat,43,32,0 script Prize Master 150,{ + if (Halloween08 == 65535) goto L_Finished; + + if (Halloween08 == 0) callsub S_Explain; + + // Get detailed info about equipment + callfunc "ProcessEquip"; + + if (@head == 647) goto L_DevControl; + if (@head == 615) goto L_Pumpkin; + if (@head == 616) goto L_Axe; + if (@head == 617) goto L_Pirate; + if (@head == 621) goto L_Eyepatch; + if (@head == 622) goto L_Bandana; + if (@head == 634) goto L_FaceMask; + if (@head == 675) goto L_GradCap; + if (@head == 678) goto L_NohMask; + if (@head == 679) goto L_DemonMask; + if (@head == 656) goto L_SerfHat; + if (@head == 1214) goto L_Bunny; + if (@head == 643) goto L_WCowboy; + if (@head == 644) goto L_BCowboy; + if (@head == 1204) goto L_Antler; + + if (Halloween08 & 1) goto L_Random_Done; + mes "[Prize Master]"; + mes "A lovely costume, here is your candy."; + set Halloween08, Halloween08 | 1; + set @temp, rand(5) + 1; + getitem 510, @temp; + close; + +L_Random_Done: + mes "[Prize Master]"; + mes "\"I don't like that one.\""; + close; + + + + + +L_Pumpkin: + if (Halloween08 & 2) goto L_Pumpkin_Done; + if (@torso != 720) goto L_Pumpkin_Bad; + set Halloween08, Halloween08 | 2; + set @temp, pow(1080, BaseLevel) * 100; + getexp @temp, 0; + mes "[" + @temp + " experience points]"; + close; + +L_Pumpkin_Bad: + mes "[Prize Master]"; + mes "\"You aren't convincing me. That doesn't look like a Jack O at all.\""; + close; + +L_Pumpkin_Done: + mes "[Prize Master]"; + mes "\"I think I've seen this Jack O before.\""; + close; + + + + + +L_Axe: + if (Halloween08 & 4) goto L_Axe_Done; + mes "[Prize Master]"; + mes "\"You look like you need some help!\""; + set Halloween08, Halloween08 | 4; + getitem 686, 1; + close; + +L_Axe_Done: + mes "[Prize Master]"; + mes "\"You've pulled the axe on me already.\""; + close; + + + + + +L_Pirate: + if (Halloween08 & 8) goto L_Pirate_Done; + if (@torso != 2060) goto L_Pirate_BadTorso; + if (Sex == 0 && !(@legsB == 632 || @legsB == 586)) goto L_Pirate_BadLegs_Female; + if (Sex == 1 && !(@legsB == 610 || @legsB == 586)) goto L_Pirate_BadLegs_Male; + mes "[Prize Master]"; + mes "\"A lovely pirate, but ye be missing this.\""; + set Halloween08, Halloween08 | 8; + getitem 1215, 1; + close; + +L_Pirate_BadTorso: + if (@torsoC != cRed) goto L_Pirate_BadColor; + mes "[Prize Master]"; + mes "\"That shirt won't work.\""; + close; + +L_Pirate_BadColor: + mes "[Prize Master]"; + mes "\"Not quite what I'm looking for. Do you remember the story of the brave pirate captain who always wore a certain color before battle?\""; + close; + +L_Pirate_BadLegs_Male: + mes "[Prize Master]"; + if (@legsB == 632) mes "\"A skirt on a man? Not for the captain!\""; + if (@legsB != 632) mes "\"Those pants don't convince me.\""; + close; + +L_Pirate_BadLegs_Female: + mes "[Prize Master]"; + if (@legsB == 610) mes "\"Jeans don't befit a woman captain.\""; + if (@legsB != 632) mes "\"Those pants don't convince me.\""; + close; + +L_Pirate_Done: + mes "[Prize Master]"; + mes "\"Yarr, ye look familiar.\""; + close; + + + + +L_Eyepatch: + if (Halloween08 & 16) goto L_Pirate_Done; + if (@torso != 2060) goto L_Pirate_BadTorso; + if (Sex == 0 && !(@legsB == 632 || @legsB == 586)) goto L_Pirate_BadLegs_Female; + if (Sex == 1 && !(@legsB == 610 || @legsB == 586)) goto L_Pirate_BadLegs_Male; + mes "[Prize Master]"; + mes "\"Maybe you can use this to replace your eye.\""; + set Halloween08, Halloween08 | 16; + set @temp, rand(2) + 1; + getitem 700, @temp; + close; + + + + +L_Bandana: + if (Halloween08 & 32) goto L_Pirate_Done; + if (@torsoC != cWhite) goto L_Bandana_Bad; + mes "[Prize Master]"; + mes "\"Here's a clue for you.\""; + set Halloween08, Halloween08 | 32; + set @temp, rand(10) + 551; + getitem @temp, 1; + close; + +L_Bandana_Bad: + mes "[Prize Master]"; + mes "\"That shirt doesn't befit a pirate swabie.\""; + close; + + + + +L_FaceMask: + if (Halloween08 & 64) goto L_FaceMask_Done; + if (!(@torso == 2081 || @torso == 2089) && ((@torsoC != cGreen && @torsoC != cDarkGreen) || (@legsC != cGreen && @legsC != cDarkGreen))) goto L_FaceMask_Bad; + mes "[Prize Master]"; + mes "\"A lovely swamp thing.\""; + set Halloween08, Halloween08 | 64; + set @temp, rand(5) + 1; + getitem 569, @temp; + close; + +L_FaceMask_Bad: + mes "[Prize Master]"; + mes "\"That mask makes me think of green. Try again.\""; + close; + +L_FaceMask_Done: + mes "[Prize Master]"; + mes "\"Another swamp thing? Next.\""; + close; + + + + +L_GradCap: + if (Halloween08 & 128) goto L_GradCap_Done; + if (@torso != 2086) goto L_GradCap_Bad; + mes "[Prize Master]"; + mes "\"Here, professor, maybe you can figure this out.\""; + set Halloween08, Halloween08 | 128; + getitem 585, 1; + close; + +L_GradCap_Bad: + mes "[Prize Master]"; + mes "\"That doesn't work at all.\""; + close; + +L_GradCap_Done: + mes "[Prize Master]"; + mes "\"Sorry, professor, but I've already seen you.\""; + close; + + + + + +L_NohMask: + if (Halloween08 & 256) goto L_NohMask_Done; + if (@torsoC != cBlack || @legsC != cBlack) goto L_NohMask_Bad; + mes "[Prize Master]"; + mes "\"Ah, a thief. Just take these.\""; + set Halloween08, Halloween08 | 256; + set @temp, rand(10) + 1; + getitem 503, @temp; + close; + +L_NohMask_Bad: + mes "[Prize Master]"; + mes "\"That's rather bright for a thief.\""; + close; + +L_NohMask_Done: + mes "[Prize Master]"; + mes "\"I've caught you trying to get another prize for the same mask.\""; + close; + + + + + +L_DemonMask: + if (Halloween08 & 512) goto L_DemonMask_Done; + if (@torsoC != cRed || @legsC != cRed) goto L_DemonMask_Bad; + mes "[Prize Master]"; + mes "\"I hope this reminds you of home.\""; + set Halloween08, Halloween08 | 512; + set @temp, rand(3) + 1; + getitem 701, @temp; + close; + +L_DemonMask_Bad: + mes "[Prize Master]"; + mes "\"That just clashes.\""; + close; + +L_DemonMask_Done: + mes "[Prize Master]"; + mes "\"A bit too many ghouls, don't you think?\""; + close; + + + + +L_SerfHat: + if (Halloween08 & 1024) goto L_SerfHat_Done; + if (@torsoB != 1202) goto L_SerfHat_BadTorso; + if (@legsB != 586 && @legsB != 632) goto L_SerfHat_BadLegs; + mes "[Prize Master]"; + mes "It doesn't look like you can even afford a costume. Have this anyways."; + set Halloween08, Halloween08 | 1024; + getitem 657, 1; + close; + +L_SerfHat_BadTorso: + mes "[Prize Master]"; + mes "\"Your shirt is too fancy for that hat.\""; + close; + +L_SerfHat_BadLegs: + mes "[Prize Master]"; + mes "\"Your pants are too fancy for that hat.\""; + close; + +L_SerfHat_Done: + mes "[Prize Master]"; + mes "\"You've got your prize. Maybe you can sell it to get a better costume.\""; + close; + + + + +L_Bunny: + if (Halloween08 & 6144 == 6144) goto L_Bunny_Done; + if (@torsoC == cBlack && @legsC == cBlack) goto L_Bunny_Black; + if (@torsoC == cWhite && @legsC == cWhite) goto L_Bunny_White; + mes "[Prize Master]"; + mes "\"That doesn't look very much like a bunny to be.\""; + close; + +L_Bunny_Done: + mes "[Prize Master]"; + mes "\"I've seen enough bunnies from you.\""; + close; + +L_Bunny_Black: + if (Halloween08 & 2048) goto L_Bunny_Black_Done; + mes "[Prize Master]"; + mes "\"A prize for the lovely bunny.\""; + set Halloween08, Halloween08 | 2048; + getitem 1211, 1; + getitem 1212, 1; + getitem 1213, 1; + close; + +L_Bunny_Black_Done: + mes "[Prize Master]"; + mes "\"Another one?\""; + close; + +L_Bunny_White: + if (Halloween08 & 4096) goto L_Bunny_White_Done; + mes "[Prize Master]"; + mes "\"I think you missed some eggs.\""; + set Halloween08, Halloween08 | 4096; + getitem 1208, 1; + getitem 1209, 1; + getitem 1210, 1; + close; + +L_Bunny_White_Done: + mes "[Prize Master]"; + mes "\"Another one?\""; // TODO + close; + + + + +L_WCowboy: + if (Halloween08 & 8192) goto L_Cowboy_Done; + if (@torsoC != cWhite) goto L_WCowboy_BadTorso; + if (@legs != 642) goto L_Cowboy_BadLegs; + mes "[Prize Master]"; + mes "\"This should help out on the trail.\""; + set Halloween08, Halloween08 | 8192; + getitem 562, 1; + close; + +L_WCowboy_BadTorso: + mes "[Prize Master]"; + mes "\"That shirt isn't quite a white at that hat.\""; + close; + +L_Cowboy_BadLegs: + mes "[Prize Master]"; + if (@legsB == 632) mes "\"How can you stand to ride a horse in that skirt?\""; + if (@legsB != 632) mes "\"How can you stand to ride a horse in those pants?\""; + close; + +L_Cowboy_Done: + mes "[Prize Master]"; + mes "\"I've already seen you, partner. Move along.\""; + close; + + + + +L_BCowboy: + if (Halloween08 & 16384) goto L_Cowboy_Done; + if (@torsoC != cBlack) goto L_BCowboy_BadTorso; + if (@legs != 642) goto L_Cowboy_BadLegs; + mes "[Prize Master]"; + mes "\"These will help out on the trail.\""; + set Halloween08, Halloween08 | 16384; + getitem 533, 3; + close; + +L_BCowboy_BadTorso: + mes "[Prize Master]"; + mes "\"Fashion doesn't seem to be your forte. Try to match that hat better.\""; + close; + + + + + +L_Antler: + if (Halloween08 & 32768) goto L_Antler_Done; + if (@torso != -1 && @legs != -1) goto L_Antler_Bad; + mes "[Prize Master]"; + mes "\"You're a brave deer. Have an apple.\""; + set Halloween08, Halloween08 | 32768; + set @temp, rand(50) + 1; + getitem 535, @temp; + close; + +L_Antler_Bad: + mes "[Prize Master]"; + mes "\"Antlers AND clothing? I don't think so.\""; + close; + +L_Antler_Done: + mes "[Prize Master]"; + mes "\"This buck looks familiar.\""; + close; + + + + +L_Finished: + mes "[Prize Master]"; + mes "\"It seems you've received your 16 prizes.\""; + close; + +L_DevControl: + menu + "Announce Open", L_Dev_Announce_Open, + "Announce Remind", L_Dev_Announce_Remind, + "Announce Close", L_Dev_Announce_Close, + "Spawn Jack O", L_Dev_Spawn_JackO, + "Spawn Jack O 2", L_Dev_Spawn_JackO_2, + "Spawn Jack O in Tulimshar", L_Dev_Spawn_JackO_Tulimshar, + "Spawn Jack O in Hurnscald", L_Dev_Spawn_JackO_Hurnscald, + "Spawn Skulls", L_Dev_Spawn_Skulls; + close; + +L_Dev_Announce_Open: + announce "A costume party has started at Dimond's Cove. Everyone is invited!", 0; + close; + +L_Dev_Announce_Remind: + announce "The costume party at Dimond's Cove is still going. Please stop by for prizes!", 0; + close; + +L_Dev_Announce_Close: + announce "The costume party Dimond's Cove will be ending soon. Thank you for participating!", 0; + close; + +L_Dev_Spawn_JackO: + monster "this", 34, 34, "Jack O", 1022, 1; + close; + +L_Dev_Spawn_JackO_2: + monster "this", 38, 41, "Jack O", 1022, 1; + close; + +L_Dev_Spawn_JackO_Tulimshar: + monster "001-1.gat", 44, 70, "Jack O", 1022, 1; + announce "A ghost in Tulimshar!", 0; + close; + +L_Dev_Spawn_JackO_Hurnscald: + monster "010-2.gat", 52, 40, "Jack O", 1022, 1; + announce "A ghost in Hurnscald!", 0; + close; + +L_Dev_Spawn_Skulls: + monster "this", 32, 39, "Fire Skull", 1023, 1; + monster "this", 36, 39, "Poison Skull", 1024, 1; + close; + +S_Explain: + mes "[Prize Master]"; + mes "\"We're holding a costume party to celebrate Halloween. Each accepted costume gets a prize. Each participant is allowed up to 16 prizes.\""; + next; + + return; +} diff --git a/world/map/npc/halloween/2009/Candyman.txt b/world/map/npc/halloween/2009/Candyman.txt new file mode 100644 index 00000000..517e94b3 --- /dev/null +++ b/world/map/npc/halloween/2009/Candyman.txt @@ -0,0 +1,306 @@ +//################################################################################# +//# This script contains files for Halloween 2009. # +//# Courtesy of: Ceros [scripting], Salmondine [drops], skipy & lien [Candyman], # +//# Freeyorp [the real scripting + PvP quest [[I wish I could have his babies]], # +//# Beelzebub for the Skull mask, Jaxad [for ... and implementation help] # +//# Remoitnane, for putting up with Freeyorp's mistakes during playtesting # +//# Needed: 50 Candy, 50 Chocolate Bars, 50 Caramel Apples, ~60 of any Lollipop # +//# Reward: Skull Mask # +//################################################################################# + +// The Candy Man +009-1.gat,90,27,0 script The Candy Man 183, { + + set @STATE_KNOWS_CANDYMAN, 1; + set @STATE_FETCH_QUEST, 2; + set @STATE_FETCH_DONE, 3; + set @STATE_PVP_QUEST, 4; + set @LAST_KILL_STATE, 10; + set @STATE_FINISHED, 11; + + if ((strcharinfo(0) == "xxMOIKANOXX")) goto L_DIE_IN_A_FIRE; + if (rand(7) > 4) goto L_Malus_PC; + if (Candyman == 0 && BaseLevel <= 30) goto L_Candy_Too_Young; + if (Candyman == @STATE_KNOWS_CANDYMAN) goto L_Candy_Mean_Bastard; + if (Candyman == @STATE_FETCH_QUEST) goto L_Candy_Check; + if (Candyman == @STATE_FETCH_DONE) goto L_Candy_Done; + if (Candyman >= @STATE_PVP_QUEST && Candyman < @LAST_KILL_STATE) goto L_Kill_Someone; + if (Candyman == @LAST_KILL_STATE) goto L_PvP_Done; + if (Candyman == @STATE_FINISHED) goto L_Finished; + if (Candyman == 0) goto L_Candy_Start; + close; + +L_Candy_Start: + if (Sex) + set @honorific$, "boy"; + if (!Sex) + set @honorific$, "girl"; + mes "[The Candy Man]"; + mes "\"Hello little " + @honorific$ + "... want some candy?\""; + next; + menu + "... uh... sure?", L_Candy_Is_A_Girls_Best_Friend, + "No way, creepo! My mom told me about people like you!", -; + close; + +L_Candy_Is_A_Girls_Best_Friend: + mes "[The Candy Man]"; + mes "\"Well too bad! I want it all!\""; + set Candyman, @STATE_KNOWS_CANDYMAN; + close; + +L_Candy_Mean_Bastard: + mes "[The Candy Man]"; + mes "\"What do you wan-- wait. I'm sorry, maybe you could give me a hand, perhaps? There'd be something in it for you, I promise.\""; + next; + menu + "With what - and what would be in it for me?", L_Candy_More_Info, + "Sorry, no time for the likes of you.", close, + "[Clap loudly]", L_Candy_Insult; + close; + +L_Candy_Insult: + callsub S_Taunt_PC; + itemheal -Hp, 0; + misceffect sfx_magic_war; + misceffect sfx_magic_war, strcharinfo(0); + close; + + L_Candy_More_Info: + mes "[The Candy Man]"; + mes "\"You see.. I need some candy for a.. party that I am going to tonight. But, alas, I didn't bring enough candy for everyone. If you bring me the candy I need, I'll give you something to remind you of me and scare others. How's that sound?\""; + next; + menu + "Sorry, I don't like the sound of this..", -, + "Hmm.. OK..", L_Candy_Accept; + close; + +L_Candy_Accept: + set Candyman, @STATE_FETCH_QUEST; + close; + +L_Candy_Check: + mes "[The Candy Man]"; + mes "\"So what have you brought me, fleshy one?\""; + next; + + if (countitem("ChocolateBar") < 50 || countitem("Candy") < 50 || countitem("LollipopColor1") + countitem("LollipopColor2") + countitem("LollipopColor3") < 60 || countitem("CaramelApple") < 50 ) goto L_Check_Not_Enough; + +//L_Sugar_Daddy: OK, so it isn't needed but it is still funny + + mes "[The Candy Man]"; + mes "\"Hmm.. yes, yes.. it seems you do have enough candy. And I guess a promise is a promise and all that happy... stuff. Very well, here is this mask. It's a striking resemblance, isn't it?\""; + + set @LollipopTotal, countItem("LollipopColor1") + countItem("LollipopColor2") + countItem("LollipopColor3"); + + delitem "LollipopColor1", 60 * countItem("LollipopColor1") / @LollipopTotal; // FIXME: Rounding errors? + delitem "LollipopColor2", 60 * countItem("LollipopColor2") / @LollipopTotal; + delitem "LollipopColor3", 60 * countItem("LollipopColor3") / @LollipopTotal; + delitem "ChocolateBar", 50; + delitem "Candy", 50; + delitem "CaramelApple", 50; + + set Candyman, @STATE_FETCH_DONE; + mes "[The Candy Man gives you a Skull Mask.]"; + getitem 1221, 1; + mes "[12,000 experience points]"; + getexp 12000, 0; + + set $CandyOpsComplete, $CandyOpsComplete + 1; + + next; + + mes "[The Candy Man]"; + mes "\"Oh screw it, this is just no fun.\""; + callsub S_Taunt_PC; + misceffect sfx_magic_war; + misceffect sfx_magic_war, strcharinfo(0); + itemheal -Hp, 0; + close; + +L_Check_Not_Enough: + mes "[The Candy Man]"; + mes "\"No, not enough candy, I need more!\""; + mes "\"Yes...\""; + if (countItem("ChocolateBar") < 50) mes "\"Chocolate is always delicious, I need some more from you before I will consider your offerings complete...\""; + if (countItem("Candy") < 50) mes "\"There is the candy, wrapped up and full of energy so good.\""; + if (countItem("CaramelApple") < 50) mes "\"I have seen many caramel apples go by. I will not rest until I have them!\""; + if (countitem("LollipopColor1") + countitem("LollipopColor2") + countitem("LollipopColor3") < 60) mes "\"Lollipops. Any combination, I care not about which types you bring.\""; + mes "\"Come back when you have enough!\""; + close; + +L_Candyman_Trick: + mes "[The Candy Man]"; + mapannounce "009-1", "Mwahahahaha!", 0; + mapannounce "009-2", "Mwahahahaha!", 0; + misceffect sfx_magic_astral; + misceffect sfx_magic_war, strcharinfo(0); + areamonster "this", 88, 25, 92, 29, "", 1022, 1 + rand($CandyOpsComplete) / (5 + rand(rand($CandyOpsComplete))); + close; + +L_Candy_Done: + mes "[The Candy Man]"; + mes "\"Sorry chum, you already got your mask and I already got my candy.\""; + + next; + menu + "Oookay...", -, + "You're sure?", L_Asking_For_It; + close; + +L_Asking_For_It: + mes "[The Candy Man]"; + mes "\"Oooh, we have an eager one here, it seems. Weeeell, I might have something more for you, if you can do something amusing...\""; + next; + menu + "What did you have in mind?", L_PvP_Intro, + "[Carefully back away...]", -; + close; + +L_PvP_Intro: + mes "[The Candy Man]"; + mes "\"Mhm, mhmhmm. Well, there is nothing quite as utterly delightful as watching you little people run around and kill each other. If, say, you manage to kill enough worthy opponents in an amusing manner, I may well have something... special... for you.\""; + next; + set Candyman, @STATE_PVP_QUEST; + menu + "Sure. Mhm. Mhm.", L_PvP_Accept, + "Oooer. That doesn't sound nice at all!", -; + + mes "[The Candy Man]"; + mes "\"How unfortunate. Because I wasn't asking!\""; + goto L_PvP_Warp; + +L_PvP_Accept: + mes "[The Candy Man]"; + mes "\"Good. Because I wasn't asking! Mhm. Mhm. Ahaha, bwuhahahahah!\""; + goto L_PvP_Warp; + +L_PvP_Warp: + misceffect sfx_magic_astral; + misceffect 20, strcharinfo(0); // Teleportation cloud; + warp "001-3", 0, 0; + close; + +L_Kill_Someone: + mes "[The Candy Man]"; + mes "\"Mm? What are you doing back here, get into it!\""; + goto L_PvP_Warp; + +OnPCKilledEvent: + if (Candyman >= 4 && Candyman < 10) goto L_kill_target_recruit; + message strcharinfo(0), "As everything fades, you hear distant laughter..."; + attachrid(@killerrid); + if (Candyman >= 10) close; + if (Candyman >= 4) goto L_killer_check; + close; + +L_kill_target_recruit: + message strcharinfo(0), "Tut tut. Seems you were too hasty."; + if (Candyman > 5 && Candyman < 11) set Candyman, Candyman - 1; + attachrid(@killerrid); + if (Candyman >= 10) close; + if (Candyman >= 4) goto L_killer_check; + setarray @messages$, "Ouch, I felt that you silly person! That 'weakling' you killed gave me some nice candy... now you will suffer...", "Oooh, a good kill... do you want to work for meee for that? Come and see me...", "Exquisite, a perfect kill... can you do it again? Come see me, I'll make it worth your while...", "Awwwww, that was no fun, you couldn't even see the fool's face. Nevermind, he has failed me, he will pay...", "Hmph, you just _know_ you can do better than that..."; + set @pos, rand(getarraysize(@messages$)); + message strcharinfo(0), @messages$[@pos]; + if (@pos == 0) itemheal -Hp / 2 - 40, -Sp / 2 - 40; + close; + +L_killer_check: + if (BaseLevel > @victimlvl) + goto L_kill_boring; + goto L_kill_worthy; + +L_kill_boring: + setarray @messages$, "Bah, not strong enough! Try someone more interesting, and crush them!", "That was no fun. Killing weaklings is only fun when _I_ do it.", "Too fast, that was over just too fast. Kill someone stronger!", "Boooorring. Crush a worthy foe already!"; + message strcharinfo(0), @messages$[rand(getarraysize(@messages$))]; + close; + +L_kill_worthy: + set Candyman, Candyman + 1; + if (Candyman == 10) goto L_final_kill; + setarray @messages$, "Yes! Yes! More! You must kill more of them!", "Get another one. Destroy them! Make it as good as this one!", "Utterly delightful, go smite another one!", "Mhm, mhm. Yes... simply sublime."; + message strcharinfo(0), @messages$[rand(getarraysize(@messages$))]; + getexp 1000 + rand(@victimlvl, @victimlvl * @victimlvl), 0; + close; + +L_final_kill: + message strcharinfo(0), "Yes! YES! _YES!_ Perfect, just perfect. Well, I think it may well be time for a reward, don't you think? Mhm, mhm. Come to see me, and claim your prize..."; + getexp 15000, 0; + close; + +L_PvP_Done: + mes "[The Candy Man]"; + mes "\"Aha, that was good, yes, very good, mhm.\""; + mes "\"And now, your reward...\""; + mes "\"You have your treat...\""; + mes ""; + mes "[20 000 experience points!]"; + mes "[20 000 gp!]"; + getexp 20000, 0; + set zeny, zeny + 20000; + set Candyman, @STATE_FINISHED; + + mes ""; + mes "\"Now, your trick! Mhm, mhmmhmhmhehhm!\""; + goto L_Candyman_Trick; + + +L_Finished: + mes "[The Candy Man]"; + mes "\"Just you wait to see what happens when someone else gives me all that I need, mhm, mhm.\""; + close; + +L_Candy_Too_Young: + + mes "[The Candy Man]"; + mes "\"I don't think you have enough experience to get what I want..\""; + close; + +L_DIE_IN_A_FIRE: + + mes "[The Candy Man]"; + mes "Hi "+strcharinfo(0)+", I heard you were buying up all the candy before I got here..."; + next; + menu + "Whut?",-, + "Uh...",-; + + mes "Very, very bad to steal info out of #tmw-content. No candy for you!"; + callsub S_Taunt_PC; + misceffect sfx_magic_war; + misceffect sfx_magic_war, strcharinfo(0); + itemheal -Hp, 0; + close; + +S_Taunt_PC: + setarray @taunts$, "Die, " + strcharinfo(0) + "!", "Ahah. Aheh. Ahehmwahehehah!", strcharinfo(0) + ", you bore me...", "Rocks fall, everybody dies!", "Why so glum, chum? Everybody has to DIE SOMETIME!", "Why so SERIOUS?", "Do you know how I got this smile, " + strcharinfo(0) + "?", "What, you said you wanted an ivory complexion like mine?", "Tick, tock, tick, tock, BOOM", "BOOM HEADSHOT", "Jigga whut?"; + npctalk @taunts$[rand(getarraysize(@taunts$))]; + return; + +L_Malus_PC: + set @effect, rand(6); + if (@effect == 0) mes "\"Time for you to visit some of my friends...\""; + if (@effect == 0) misceffect sfx_magic_astral; + if (@effect == 0) misceffect 20, strcharinfo(0); + if (@effect == 0) warp "027-1", 0, 0; + if (@effect == 1) mes "\"Misplaced something?\""; + if (@effect == 1) unequipbyid rand(11); + if (@effect == 1) unequipbyid rand(11); + if (@effect == 2) mes "\"Time to cool off, mhm, mhmm.\""; + if (@effect == 2) misceffect sfx_magic_astral; + if (@effect == 2) misceffect 20, strcharinfo(0); + if (@effect == 2) warp "020-1", 0, 0; + if (@effect == 3) mes "\"Ahahehah. Is it me, or is it breezy in here? Mhm.\""; + if (@effect == 3) nude; + if (@effect == 4) mes "\"How delightedly fancy, but I think I can do better for you... aha, aha.\""; + if (@effect == 4) misceffect sfx_magic_astral; + if (@effect == 4) setlook 1, 1+rand(6); + if (@effect == 4) setlook 6, 1+rand(9); + if (@effect == 5) mes "\"...are you still here? Well, not for long...\""; + if (@effect == 5) misceffect sfx_magic_astral; + if (@effect == 5) misceffect 20, strcharinfo(0); + if (@effect == 5) warp "005-3", 0, 0; + close; + +} diff --git a/world/map/npc/halloween/2010/gak.txt b/world/map/npc/halloween/2010/gak.txt new file mode 100644 index 00000000..92d559d8 --- /dev/null +++ b/world/map/npc/halloween/2010/gak.txt @@ -0,0 +1,1256 @@ +010-1.gat,29,48,0 script Gak 188, { + + if ($hween10 == 2) goto L_Event_Over; + + if (hween10 > 4 && hween10 < 9) goto L_Collecting_Sweets; + if (hween10 == 9) goto L_Hunger_Sated; + if (hween10 == 10) goto L_Reward_Returning; + if (hween10 == 11) goto L_Miscount_Bugfix; + if (hween10 == 12) goto L_Gaks_Little_Shop; + + if ($hween10 == 1) goto L_Event_Over_2; + + if (hween10 == 1) goto L_Knows_Gak; + if (hween10 == 2) goto L_Gak_Has_Tongue; + if (hween10 == 3) goto L_Bones_Check; + if (hween10 == 4) goto L_Request_Sweets; + + mes "[Broken Skeleton]"; + set hween10, 1; + mes ""; + mes "\"Gak... gak, gak! Gak gak gak gak!\""; + close; + +L_Knows_Gak: + if (countitem("Tongue") > 0) goto L_Has_Tongue; + mes "[Gak]"; + mes ""; + mes "\"Gak gak! Gak gak, gak gak gak!\""; + close; + +L_Has_Tongue: + mes "[Gak]"; + mes ""; + mes "The skeleton notices a slimy, dead tongue you have with you, and eyes it eagerly."; + next; + mes "[Gak]"; + mes ""; + mes "At least, you assume he is eager. \"Gak gak gak! Gak gak gak gak GAK GAK!\""; + next; + menu + "Give the tongue to him", L_Give_Tongue, + "Taunt him by showing him the tongue, but not giving it", L_Give_Tongue_Die, + "Walk away", -; + close; + +L_Give_Tongue: + if (countitem("Tongue") < 1) goto L_Tongue_Gone_Die; + delitem "Tongue", 1; + set hween10, 2; + mes "[Gak]"; + mes ""; + mes "The skeleton grabs the tongue from you and shoves it into his mouth. After stretching his jaw for some moments, he grins at you unpleasantly."; + next; + mes "[Gak]"; + mes ""; + mes "\"Ssso! What bringsss you here, mortal?\""; + next; + menu + "I just chanced upon you here, and figured you could use a tongue.", L_Thanks, + "The Hallowe'en event is FINALLY here, of course I'm going to play it.", L_Whut, + "Nothing.", -; + close; + +L_Tongue_Gone_Die: + mes "[Gak]"; + mes ""; + mes "He reaches out for the tongue, but then realises you don't have it. With an angry a look on his face as a skeleton can have, he slashes at you with his remaining arm."; + goto L_Die; + +L_Give_Tongue_Die: + mes "[Gak]"; + mes ""; + mes "Angrily, the skeleton reaches out and claws you with his remaining arm."; + if (countitem("Tongue") < 1) goto L_Die; + next; + delitem "Tongue", 1; + mes "[Gak]"; + mes ""; + mes "As you fall, he takes the tongue from you anyway."; + set hween10, 2; + goto L_Die; + +L_Die: + close2; + itemheal -Hp -1, 0; + end; + +L_Thanks: + mes "[Gak]"; + mes ""; + mes "\"Well, that wasss mighty thoughtful of you, friend... I wonder if perhapsss you could do me another favour?\""; + next; + menu + "Sure! Anything you want.", L_Sure, + "I'll be right, thanks.", -; + close; + +L_Whut: + mes "[Gak]"; + mes ""; + mes "\"What?\""; + close; + +L_Gak_Has_Tongue: + mes "[Gak]"; + mes ""; + mes "\"Hello again, little friend. Could you posssibly do me another favour?\""; + next; + menu + "I sure can, what is it?", L_Sure, + "Uh, no thanks.", -; + close; + +L_Sure: + mes "[Gak]"; + mes ""; + mes "\"It wasss nice if you to bring me thisss tongue, but asss you can sssee I still have a few things missing.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Maybe you could bring me a few bonesss so I could patch myssself up?\""; + next; + menu + "I'm on it!", L_Bones, + "Nah, that sounds a bit boring.", -; + close; + +L_Bones: + set hween10, 3; + mes "[Gak]"; + mes ""; + mes "\"Wonderful! I can't wait until I can properly walk around attacking thingsss again.\""; + close; + +L_Bones_Check: + mes "[Gak]"; + mes ""; + mes "\"Hallo again. Have you brought me any bonesss?\""; + next; + setarray @menuitems$, "", "", "", "", ""; + set @c, 0; + + if (countitem("Bone") < 5) goto L_bones_four; + set @menuitems$[@c], "Take five bones."; + set @menuid[@c], 0; + set @c, @c + 1; + +L_bones_four: + if (countitem("Bone") < 4) goto L_bones_three; + set @menuitems$[@c], "Take four bones."; + set @menuid[@c], 1; + set @c, @c + 1; + +L_bones_three: + if (countitem("Bone") < 3) goto L_bones_two; + set @menuitems$[@c], "Take three bones."; + set @menuid[@c], 2; + set @c, @c + 1; + +L_bones_two: + if (countitem("Bone") < 2) goto L_bones_one; + set @menuitems$[@c], "Take two bones."; + set @menuid[@c], 3; + set @c, @c + 1; + +L_bones_one: + if (countitem("Bone") < 1) goto L_bones_menu; + set @menuitems$[@c], "Take one bone."; + set @menuid[@c], 4; + set @c, @c + 1; + +L_bones_menu: + set @menuitems$[@c], "I don't have any bones."; + set @menuid[@c], 5; + set @c, @c + 1; + menu + @menuitems$[0], -, + @menuitems$[1], -, + @menuitems$[2], -, + @menuitems$[3], -, + @menuitems$[4], -, + @menuitems$[5], -, + @menuitems$[6], -; + set @menu, @menu -1; + if (@menu >= @c) close; + if (@menuid[@menu] == 5) goto L_offer_no_items; + mes "[Gak]"; + mes ""; + mes "Ssso many? Jussst what I needed. Let me sssee if they are sssuitable..."; + next; + + if (@menuid[@menu] == 0) set @bonecount, 5; + if (@menuid[@menu] == 1) set @bonecount, 4; + if (@menuid[@menu] == 2) set @bonecount, 3; + if (@menuid[@menu] == 3) set @bonecount, 2; + if (@menuid[@menu] == 4) set @bonecount, 1; + if (countitem("Bone") < @bonecount) goto L_Not_Enough_Bones; + + delitem "Bone", @bonecount; + set @bonecount, @bonecount + 1; + set @hween10_givebones, 0; + +// in a rush, raising and then lowering is the best thing I can think of to make the loop work properly. + +L_Bone_Loop: + set @bonecount, @bonecount - 1; + if @bonecount < 1 goto L_Bones_Feedback; + set @temp1, rand(@bonecount + 5); + if @temp1 > @bonecount goto L_Bone_Loop; + set @hween10_givebones, @hween10_givebones + 1; + goto L_Bone_Loop; + +L_Not_Enough_Bones: + mes "[Gak]"; + mes ""; + mes "\"Hey... you don't have that many bonesss!\""; + close; + +L_offer_no_items: + mes "[Gak]"; + mes ""; + mes "\"Sssucch a pity...\""; + close; + +L_Bones_Feedback: + if (@hween10_givebones == 0) goto L_Bones_Feedback_None; + mes "[Gak]"; + mes ""; + mes "\"Hmm... I think I can ussse " + @hween10_givebones + " of thessse bonesss.\""; + next; + set hween10_bonecount, hween10_bonecount + @hween10_givebones; + if (hween10_bonecount > 7) goto L_Enough_Bones; + mes "[Gak]"; + mes ""; + mes "\"But I ssstill need more! Pleassse bring them to me.\""; + close; + +L_Bones_Feedback_None: + mes "[Gak]"; + mes ""; + mes "\"I can't ussse any of theesse boness. I need more!\""; + close; + +L_Enough_Bones: + set hween10, 4; + mes "[Gak]"; + mes ""; + mes "\"And that should be enough for my dark purposssesss.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Now... I wonder...\" He flicks his tongue around his dry and ancient teeth. \"I wonder if you could get me sssomething to eat?\""; + next; + mes "[Gak]"; + mes ""; + mes "\"All thisss hard work gathering bonesss hasss made me...\""; + next; + mes "[Gak]"; + mes ""; + mes "\"HUNGRY!\""; + next; + menu + "Uh, what would you like to eat?", L_Request_Sweets, + "This is a burial site, I'm sure there are plenty of worms around.", L_Worms, + "Me too, actually. I gotta eat. Bye!", -; + close; + +L_Worms: + mes "[Gak]"; + mes ""; + mes "\"True... but they are sssmall, and not asss sssweet asss what I'd like!\""; + next; + +L_Request_Sweets: + mes "[Gak]"; + mes ""; + mes "\"Asss I'm sssure you know, it wasss Hallowe'en recently. I'll bet you had great time collecting sssweetsss with your friendsss, hm?\""; + next; + menu + "The guy organising that was too lazy - it never happened.", L_Time_Management, + "Well, what's it to you?", L_Leftover_Sweets, + "You're creeping me out.", -; + close; + +L_Time_Management: + mes "[Gak]"; + mes ""; + mes "\"That'sss jussst too bad. People with poor time management shouldn't be put in charge of important thingsss like that.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"But never mind. Even if you didn't get to go trick-or-treating, there will ssstill be plenty of dropped sssweets lying around.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"People are ssso carelesss! To my benefit, of courssse. Ssso what do you sssay? Can you bring me asss many sssweetsss as you can find?\""; + menu + "I guess so.", L_Confirm_Sweethunting, + "No, I'd rather eat 'em myself.", -; + close; + +L_Leftover_Sweets: + mes "[Gak]"; + mes ""; + mes "\"Each year at Hallowe'en, all you little girlsss and boysss run about begging for candy. And each year, ssso much of it is dropped, and wasssted!\""; + next; + mes "[Gak]"; + mes ""; + mes "\"But I don't mind eating sssweetsss just becaussse they're a couple of weeksss old! Bring me lotsss, and you shall have a reward.\""; + next; + menu + "Well, okay then.", L_Confirm_Sweethunting, + "Wait, free sweets!? Why did no one tell me?", -; + close; + +L_Confirm_Sweethunting: + set hween10, 5; + mes "[Gak]"; + mes ""; + mes "\"My ssstomach groansss with anticipa - uh, well, my bonesss creak with anticipation. Tell all your little friendsss to bring my any sssweetsss they find, too: I really am VERY hungry!\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Remember, though, and thisss isss important: the more sssweetsss YOU PERSSSONALLY bring me, the better YOUR reward will be!\""; + close; + +L_Collecting_Sweets: + mes "[Gak]"; + mes ""; + mes "\"Ssso, do you have any sssweetsss for me?\""; + next; + setarray @menuitems$, "", "", "", "", ""; + set @c, 0; + + if (countitem("TonoriDelight") < 1) goto L_Sweets_Marshmallow; + set @menuitems$[@c], "Tonori Delight."; + set @menuid[@c], 0; + set @c, @c + 1; + +L_Sweets_Marshmallow: + if (countitem("Marshmallow") < 1) goto L_Sweets_JellySkull; + set @menuitems$[@c], "Marshmallow."; + set @menuid[@c], 1; + set @c, @c + 1; + +L_Sweets_JellySkull: + if (countitem("JellySkull") < 1) goto L_Sweets_CandyPumpkin; + set @menuitems$[@c], "Jelly Skull."; + set @menuid[@c], 2; + set @c, @c + 1; + +L_Sweets_CandyPumpkin: + if (countitem("CandyPumpkin") < 1) goto L_Sweets_Menu; + set @menuitems$[@c], "Candy Pumpkin."; + set @menuid[@c], 3; + set @c, @c + 1; + +L_Sweets_Menu: + set @menuitems$[@c], "I don't have any sweets."; + set @menuid[@c], 4; + set @c, @c + 1; + menu + @menuitems$[0], -, + @menuitems$[1], -, + @menuitems$[2], -, + @menuitems$[3], -, + @menuitems$[4], -, + @menuitems$[5], -; + set @menu, @menu -1; + if (@menu >= @c) close; + + if (@menuid[@menu] == 0) set @giveitem$, "TonoriDelight"; + if (@menuid[@menu] == 1) set @giveitem$, "Marshmallow"; + if (@menuid[@menu] == 2) set @giveitem$, "JellySkull"; + if (@menuid[@menu] == 3) set @giveitem$, "CandyPumpkin"; + // We need something to handle what happens when we select that the character does not have any sweets + if (@menuid[@menu] == 4) goto L_offer_no_items; + + mes "[Gak]"; + mes ""; + mes "\"How many of those do you have for me?\""; + next; + menu + "Take all of them.", -, + "One hundred of them.", -, + "Fifty of them.", -, + "Ten of them.", -, + "Five of them.", -, + "One of them.", -, + "This many...", -; + set @menu, @menu - 1; + + if (@menu == 0) set @givecounter, countitem(@giveitem$); + if (@menu == 1) set @givecounter, 100; + if (@menu == 2) set @givecounter, 50; + if (@menu == 3) set @givecounter, 10; + if (@menu == 4) set @givecounter, 5; + if (@menu == 5) set @givecounter, 1; + if (@menu == 6) input @givecounter; + if (@menu > 6) close; + if (countitem(@giveitem$) < @givecounter) goto L_Not_Enough_Sweeties; + delitem @giveitem$, @givecounter; + if ($hween10 == 1) set hween10, hween10 + 1; + if (@giveitem$ == "TonoriDelight") set $hween10_tondel, $hween10_tondel + @givecounter; + if (@giveitem$ == "Marshmallow") set $hween10_mmallow, $hween10_mmallow + @givecounter; + if (@giveitem$ == "JellySkull") set $hween10_jelskul, $hween10_jelskul + @givecounter; + if (@giveitem$ == "CandyPumpkin") set $hween10_canpump, $hween10_canpump + @givecounter; + if (@giveitem$ == "TonoriDelight") set hween10_collect_tondel, hween10_collect_tondel + @givecounter; + if (@giveitem$ == "Marshmallow") set hween10_collect_mmallow, hween10_collect_mmallow + @givecounter; + if (@giveitem$ == "JellySkull") set hween10_collect_jelskul, hween10_collect_jelskul + @givecounter; + if (@giveitem$ == "CandyPumpkin") set hween10_collect_canpump, hween10_collect_canpump + @givecounter; + + set hween10_collect, hween10_collect + @givecounter; + + mes "[Gak]"; + mes ""; + mes "\"Thank you for your generousss donation to my caussse. Ssso far, you and your friendsss have brought me " + $hween10_tondel + " Tonori Delightsss, " + $hween10_mmallow + " Marshmallowsss, " + $hween10_jelskul + " Jelly Ssskullsss, and " + $hween10_canpump + " Candy Pumpkinsss.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"You persssonally have brought me " + hween10_collect + " sssweetsss.\""; + next; + if (hween10 > 8) goto L_Hunger_Sated; + mes "[Gak]"; + mes ""; + if (hween10 == 5) mes "\"But I ssstill need more! I'm ssstill HUNGRY!\""; + if (hween10 == 6) mes "\"I ssstill need a few more, however... I'm ssstill HUNGRY!\""; + if (hween10 == 7) mes "\"I'd like more, though. I'm ssstill hungry.\""; + if (hween10 == 8) mes "\"Hmm... what a meal! Although, jussst a couple more sssweetsss wouldn't hurt. I'm ssstill a bit peckish.\""; + close; + +L_Not_Enough_Sweeties: + mes "[Gak]"; + mes ""; + mes "\"Hey! Don't teassse me; you know very well that you don't have that many sssweetsss.\""; + close; + +L_Hunger_Sated: + set hween10, 10; + mes "[Gak]"; + mes ""; + mes "The last of the sweets falls out the bottom of the skeleton's skull, bouncing down between his ribs before tumbling out to join the countless thousands that lie in a vast mound of them beside him."; + next; + mes "[Gak]"; + mes ""; + mes "\"Buuurp!\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Now that, my friend, was a DELICIOUSSS meal, if I do sssay ssso myssself. It'sss not every day I get to feassst upon sssuch delectable treatsss.\""; + next; + menu + "Okay, whatever. Now how about my reward?", L_Reward, + "I'm pleased to hear it. Now... a reward, perhaps?", L_Polite_Request, + "It was my pleasure.", L_My_Pleasure; + close; + +L_Reward_Returning: + mes "[Gak]"; + mes ""; + mes "\"Hello again, friend.\""; + next; + menu + "Can I have a reward now?", L_Reward, + "Hello.", -; + close; + +L_Polite_Request: + mes "[Gak]"; + mes "\"Of courssse a reward! Jussst who do you think I am, not to giving rewardsss to people who were kind enough to give me a bit of a hand?\""; + next; + goto L_Reward; + +L_My_Pleasure: + mes "[Gak]"; + mes ""; + mes "\"Good, good!\""; + close; + +L_Reward: + mes "[Gak]"; + mes ""; + // took out here a lot + mes "\"Well, you DID bring me an awful lot of sssweetsss. I have with me a sssmall collection of preciousss itemsss, thingsss I've acquired in variousss waysss.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"I can let you have sssome thingsss out of thisss collection. You brought me " + hween10_collect + " sssweetsss, ssso I will give you itemsss worth twice that amount of gold piecesss.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"For example, if you had given me 1,000 sssweetsss I would give you 2,000GP worth of itemsss. Except actually, I don't like marshmallowsss that much. Thossse are equivalent to jussst 1GP each.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Not to say that I'm sure of your currencccy here... but it sssshould give you an idea, yessss?\""; + next; + set hween10, 12; + set hween10_credits, hween10_collect_tondel + hween10_collect_jelskul + hween10_collect_canpump; + set hween10_credits, hween10_credits * 2; + set hween10_credits, hween10_credits + hween10_collect_mmallow; + mes "[Gak]"; + mes ""; + mes "\"Looksss like you have " + hween10_credits + " ... 'creditsss', shall we call them? Now, let'ss have a look at my waresss.\""; + next; + goto L_Shop_Inventory; + +L_Gaks_Little_Shop: + mes "[Gak]"; + mes ""; + mes "\"You have " + hween10_credits + " creditsss. Tell me what you'd like to buy - or asssk me about it. Sssome of thessse itemsss have very interesssting ssstories attached to them.\""; + next; + +L_Shop_Inventory: + menu + "Opera Mask (9,000 credits)", L_Buy_OperaMask, + "Tell me about the Opera Mask.", L_Info_OperaMask, + "Jester Mask (7,000 credits)", L_Buy_JesterMask, + "Tell me about the Jester Mask.", L_Info_JesterMask, + "Witch's Hat (4,500 credits)", L_Buy_WitchsHat, + "Tell me about the Witch's Hat.", L_Info_WitchsHat, + "Goblin Mask (2,500 credits)", L_Buy_GoblinMask, + "Tell me about the Goblin Mask.", L_Info_GoblinMask, + "Guy Fawkes Mask (800 credits)", L_Buy_GuyFawkesMask, + "Tell me about the Guy Fawkes Mask.", L_Info_GuyFawkesMask, + "Scissors (500 credits)", L_Buy_Scissors, + "Tell me about the Scissors.", L_Info_Scissors, + "Shock Sweet (200 credits)", L_Buy_ShockSweet, + "Tell me about Shock Sweets.", L_Info_ShockSweet, + "Bone Arrow (1 credit)", L_Buy_BoneArrow, + "Tell me about Bone Arrows.", L_Info_BoneArrow, + "Nothing today, thanks.", -; + close; + +L_Buy_OperaMask: + if (hween10_credits < 9000) goto L_Too_Few_Credits; + mes "[Gak]"; + mes ""; + mes "\"Ah, yesss! A friend of mine usssed to wear that masssk. He wasss very famousss in hisss time - had quite a fandom.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Are you sssure you want to buy the Opera Masssk?\""; + next; + menu + "Yes.", -, + "No.", L_Gaks_Little_Shop; + getinventorylist; + if (@inventorylist_count == 100) goto L_Full_Inventory; + if (hween10_credits < 9000) goto L_Too_Few_Credits; + set hween10_credits, hween10_credits - 9000; + set hween10_paid, hween10_paid + 9000; + getitem "OperaMask", 1; + mes "[Gak]"; + mes ""; + mes "\"Enjoy it!\""; + next; + goto L_Gaks_Little_Shop; + +L_Buy_JesterMask: + if (hween10_credits < 7000) goto L_Too_Few_Credits; + mes "[Gak]"; + mes ""; + mes "\"I'm sssure you'll have fun with thisss masssk. 'Fun', get it?\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Are you sssure you want to buy the Jessster Masssk?\""; + next; + menu + "Yes.", -, + "No.", L_Gaks_Little_Shop; + getinventorylist; + if (@inventorylist_count == 100) goto L_Full_Inventory; + if (hween10_credits < 7000) goto L_Too_Few_Credits; + set hween10_credits, hween10_credits - 7000; + set hween10_paid, hween10_paid + 7000; + getitem "JesterMask", 1; + mes "[Gak]"; + mes ""; + mes "\"Enjoy it!\""; + next; + goto L_Gaks_Little_Shop; + +L_Buy_WitchsHat: + if (hween10_credits < 4500) goto L_Too_Few_Credits; + mes "[Gak]"; + mes ""; + mes "\"I was wondering witch one you would take.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Are you sssure you want to buy the Witch'sss Hat?\""; + next; + menu + "Yes.", -, + "No.", L_Gaks_Little_Shop; + getinventorylist; + if (@inventorylist_count == 100) goto L_Full_Inventory; + if (hween10_credits < 4500) goto L_Too_Few_Credits; + set hween10_credits, hween10_credits - 4500; + set hween10_paid, hween10_paid + 4500; + getitem "WitchHat", 1; + mes "[Gak]"; + mes ""; + mes "\"Enjoy it!\""; + next; + goto L_Gaks_Little_Shop; + +L_Buy_GoblinMask: + if (hween10_credits < 2500) goto L_Too_Few_Credits; + mes "[Gak]"; + mes ""; + mes "\"Hmm, I never much liked that one myssself.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Are you sssure you want to buy the Goblin Masssk?\""; + next; + menu + "Yes.", -, + "No.", L_Gaks_Little_Shop; + getinventorylist; + if (@inventorylist_count == 100) goto L_Full_Inventory; + if (hween10_credits < 2500) goto L_Too_Few_Credits; + set hween10_credits, hween10_credits - 2500; + set hween10_paid, hween10_paid + 2500; + getitem "GoblinMask", 1; + mes "[Gak]"; + mes ""; + mes "\"Enjoy it!\""; + next; + goto L_Gaks_Little_Shop; + +L_Buy_GuyFawkesMask: + if (hween10_credits < 800) goto L_Too_Few_Credits; + mes "[Gak]"; + mes ""; + mes "\"Cheap, huh? Barely more than a penny for thisss guy.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Are you sssure you want to buy the Guy Fawkesss Masssk?\""; + next; + menu + "Yes.", -, + "No.", L_Gaks_Little_Shop; + getinventorylist; + if (@inventorylist_count == 100) goto L_Full_Inventory; + if (hween10_credits < 800) goto L_Too_Few_Credits; + set hween10_credits, hween10_credits - 800; + set hween10_paid, hween10_paid + 800; + getitem "GuyFawkesMask", 1; + mes "[Gak]"; + mes ""; + mes "\"Enjoy it!\""; + next; + goto L_Gaks_Little_Shop; + +L_Buy_Scissors: + if (hween10_credits < 500) goto L_Too_Few_Credits; + mes "[Gak]"; + mes ""; + mes "\"My own pair of ssscissssorsss! But I haven't been needing them lately asss much asss I usssed to.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Are you sssure you want to buy the Scissors?\""; + next; + menu + "Yes.", -, + "No.", L_Gaks_Little_Shop; + getinventorylist; + if (@inventorylist_count == 100) goto L_Full_Inventory; + if (hween10_credits < 500) goto L_Too_Few_Credits; + set hween10_credits, hween10_credits - 500; + set hween10_paid, hween10_paid + 500; + getitem "Scissors", 1; + mes "[Gak]"; + mes ""; + mes "\"Enjoy it!\""; + next; + goto L_Gaks_Little_Shop; + +L_Buy_ShockSweet: + if (hween10_credits < 200) goto L_Too_Few_Credits; + mes "[Gak]"; + mes ""; + mes "\"I'll be glad to be rid of sssome of thessse terrifying sssweetsss...\""; + next; + mes "[Gak]"; + mes ""; + mes "\"How many would you like to buy?\""; + next; + menu + "1", -, + "2", -, + "3", -, + "4", -, + "5", -, + "None", -; + + if (@menu < 0 || @menu > 6) close; + if (@menu == 6) goto L_Gaks_Little_Shop; + set @shocksweets, @menu; + set @cost, @shocksweets * 200; + if (hween10_credits < @cost) goto L_Too_Few_Credits; + getinventorylist; + if (@inventorylist_count == 100 && countitem("ShockSweet") < 1) goto L_Full_Inventory; + set hween10_credits, hween10_credits - @cost; + set hween10_paid, hween10_paid + @cost; + getitem "ShockSweet", @shocksweets; + mes "[Gak]"; + mes ""; + mes "\"I would sssay 'enjoy them', but I doubt you will.\""; + next; + goto L_Gaks_Little_Shop; + +L_Buy_BoneArrow: + if (hween10_credits < 1) goto L_Too_Few_Credits; + mes "[Gak]"; + mes ""; + mes "\"Deadly, but nearly weightlessss. A good choice!\""; + next; + mes "[Gak]"; + mes ""; + mes "\"How many would you like to buy?\""; + next; + menu + "1", -, + "5", -, + "10", -, + "50", -, + "100", -, + "500", -, + "1000", -, + "None", -; + + if (@menu < 1 || @menu > 8) close; + if (@menu == 1) set @bonearrows, 1; + if (@menu == 2) set @bonearrows, 5; + if (@menu == 3) set @bonearrows, 10; + if (@menu == 4) set @bonearrows, 50; + if (@menu == 5) set @bonearrows, 100; + if (@menu == 6) set @bonearrows, 500; + if (@menu == 7) set @bonearrows, 1000; + if (@menu == 8) goto L_Gaks_Little_Shop; + if (hween10_credits < @bonearrows) goto L_Too_Few_Credits; + getinventorylist; + if (@inventorylist_count == 100 && countitem("BoneArrows") < 1) goto L_Full_Inventory; + set hween10_credits, hween10_credits - @bonearrows; + set hween10_paid, hween10_paid + @bonearrows; + getitem "BoneArrows", @bonearrows; + mes "[Gak]"; + mes ""; + mes "\"Usse them wisssely. They're hard to come by.\""; + next; + goto L_Gaks_Little_Shop; + +L_Too_Few_Credits: + mes "[Gak]"; + mes ""; + mes "\"Are you trying to kid me? You haven't enough creditsss for that!\""; + next; + goto L_Gaks_Little_Shop; + +L_Info_OperaMask: + mes "[Gak]"; + mes ""; + mes "\"Ah, yesss. My Opera Masssk. There'sss quite a ssstory sssurrounding thisss one...\""; + next; + mes "[Gak]"; + mes ""; + mes "\"One day in Tonori, many yearsss ago, the Princessss Azura mysssteriousssly vanished. The King'sss men sssearched high and low, but found no trace of her.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"It wasss assssumed - correctly - that she mussst have been kidnapped. Ssso the King put a hefty reward on her safe return - a hundred thousssand gold piecesss.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"However, the Princessss wasss not returned. One year after she had disssappeared, the King raisssed the reward by fifty thousssand gold - and each year after, too, for ssstill the Princessss wasss not returned.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Asss time went by, the King became more and more sssure that hisss daughter mussst be dead. He wasss, however, wrong...\""; + next; + mes "[Gak]"; + mes ""; + mes "\"At that very moment, a pirate galleon wasss sssailing merrily along the Rivalry Coassst. Itsss crew sssang ssea-shantiesss and bounced around the rigging.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Sssuddenly, though, the pirate captain ssspied sssomething terrible ahead of them. Water ssswirled around and around like a giant bathtub being emptied....\""; + next; + mes "[Gak]"; + mes ""; + mes "\"A maelssstrom!\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The captain tried to tell hisss crew to turn the ship around, but they couldn't hear him over their sssinging. They were ssswept, ssspiraling, into the cavernousss hole in the sssea.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The piratesss realisssed, then, what was happening, and ssstopped sssinging at once. The captain ordered them to remove the sssailsss and tie them down like parachutesss.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The plan worked. Asss they fell, the air caught under the sssailsss and ssslowed the falling of the ship. Sssoon they landed gently on the bottom of the ocean.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Peering around in the gloom, the pirate captain sssaw a prone figure on a rock nearby. He climbed out of the ship and hurried over.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"But before he could reach them, a jet of flame ssstreaked passst above him, and a great ssslimy creature emerged from the sssea in front of him...\""; + next; + mes "[Gak]"; + mes ""; + mes "\"A dragon!\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The captain jumped out of the way asss the dragon once again breathed fire. The captain turned to sssee hisss ship in flamesss.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The dragon sssmiled evilly and opened itsss mouth to eat the captain. But when it had ssset the ship on fire it had accidentally lit the fusssesss of the cannonsss, and at thisss moment they fired.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Cannonball after cannonball thudded into the dragon, sssending it reeling back into the sssea. The captain picked up the figure from the rock, and looked about to sssee how he might essscape.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"And asss he did, it grew very dark; looking above him, he sssaw that the maelssstorm wasss collapsssing. He held the figure tightly to keep them sssafe, and braced himssself.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The water hit them from either ssside asss though Triton, the god of the sssea, had clapped hisss handsss upon them. They were lifted from the bottom and carried with great ssspeed to the sssurface.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"They rossse bessside a ship of the King'sss navy, aboard it a mage - who had closssed the maelssstorm - and the King himssself, who had come to watch.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"And asss both he and the pirate captain looked down to the figure whom the latter had found on the bottom of the sssea, they gasssped at who it wasss...\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The Princessss!\""; + next; + mes "[Gak]"; + mes ""; + mes "\"In return for finding her, the pirate captain was given sssix hundred thousssand gold piecesss, a Royal Pardon for Piracy, a Pirate Permit and the Princessss'sss hand in marriage.\""; + next; + mes "[Gak]"; + mes ""; + mes "The skeleton pausssesss for a moment to sssigh in rememberance. \"It wasss a very good opera,\" he continues."; + next; + mes "[Gak]"; + mes ""; + mes "\"After it had ended, I went backssstage and bought an opera masssk sssigned by the lead actor, and alssso a nice cossstume that I needed for work.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Thisss isss, of courssse, that very masssk. It'sss worth a lot becausssse of the autograph.\""; + next; + goto L_Gaks_Little_Shop; + +L_Info_JesterMask: + next; + mes "[Gak]"; + mes ""; + mes "\"Ah, yesss. Quite a ssscary little thing, isssn't it? And it hasss quite a hissstory, too.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Back in the lassst daysss of the Tonorian King Efeniunkanduiti Khan there were many plotsss to remove him from the throne, and the biggessst sssource of thessse plotsss wasss the Bell Sssociety.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The King wasss quite worried about all thisss, asss you would imagine, ssso he hired a jessster to make light of any misssfortune.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The jessster wasss undoubtedly funny, and the ssscary yet sssilly cossstume he wore ssseemed to emphasssissse the hilarity of him. The King cheered consssiderably with the jessster juggling, doing sssomersssaults and telling punsss in hisss court.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"But there wasss one man who didn't like the jessster at all: Prince Akhendo-Al Mosssesssmuchasssdad Khan. The jessster'sss masssk concealed hisss experessssion, which disssconcerted Akhendo-Al greatly.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"He tried to explain hisss feelingsss to hisss father, but the King wasssn't paying attention. He wasss too busssy laughing at the joke the jessster had jussst made about Akhendo-Al'sss sssour face.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"But the King should have lissstened before it wasss too late. One night a piercing ssscream woke the palace, and ssservants came hurrying to the King'sss chamber: but he wasss already dead. A long, wicked knife had been thrussst into hisss heart.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Akhendo-Al looked around at the gathered ssservantsss and guardsss, and ssaw what he had sssussspected from the firssst: the jessster wasss gone!\""; + next; + mes "[Gak]"; + mes ""; + mes "\"He raced back the way he had come, and down to the entrance hall. Asss he reached the main doorsss, a voice behind him laughed. He turned to sssee the jessster at the top of the ssstairsss he had jussst dessscended!\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The chassse wasss on. Akhendo-Al ran asss fassst asss he could back up the ssstairsss, and down a passssage which the jessster had disssappeared down. Laughter echoed around him asss he ran through the palace, occassssionally catching a glimpssse of the jessster ahead.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Sssoon, Akhendo-Al found himssself at the top of the palace'sss bell tower. On the other ssside of the great bellsss he sssaw the jessster, sssilhouetted againssst the moon, and sssmiling cruelly.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"'There's no escape for you now,' Akhendo-Al told him, and drew hisss sssabre. 'Try to run, and I shall cut you down.'\""; + next; + mes "[Gak]"; + mes ""; + mes "\"But the jessster sssmiled, and turned to ssstand at the edge of the tower, looking down at the moat that lay far below.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Akhendo-Al ssstared asss the jessster opened hisss armsss wide...\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Then the jessster turned, and shrugged. 'But I've already accomplished my tasssk. The tyrant king isss dead.'\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The Prince tied the jessster'sss handsss with sssome ssspare bell-rope, and took him down to a group of palace guards. Together, they led the jessster to the dungeonsss and sssecured him. Angrily, the Prince removed the man'sss masssk. Then he and the guardsss gasssped in sssurprissse.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The man wasss Gorrik, captain of the palace guard!\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Gorrik gave a mossst long-winded explanation of why he wasss dressssed asss a jessster, and assssurred Akhendo-Al that he had certainly not killed the king. But the prince wasss now king, and he knew that Gorrik wasss the murderer. He sssentenced the man to execution.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"To hisss disssapointment, the old guard captain essscaped and fled the country. He came here, and thisss isss the very jessster masssk he wore.\""; + next; + goto L_Gaks_Little_Shop; + +L_Info_WitchsHat: + next; + mes "[Gak]"; + mes ""; + mes "\"Which? Ah, yesss, that one. Hmm. Well, many yearsss ago thessse foressstsss usssed to be home to witchesss.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"I came upon one myssself sssoon after I arrived in Argaes, many yearsss ago, while I wasss alive. I had recently been forced to leave my mother country, where we had not many treesss - the vassst foressstsss were very ssstrange to me.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"I wasss ssstranded far to the Sssouth of here - that area isss ssstill wildernesss today. For daysss I travelled through the thick foressstsss, looking for civilation or - at leassst - sssomething to eat.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Eventually I came upon a sssmall cottage in a clearing. Overcome with hunger, I thought I might knock and asssk if they had anything to eat. But asss I approached, I noticed sssomething very ssstrange...\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The entire houssse wasss made of sssweeetsss! The walls were bricksss of tonori delight, the wallsss were translucent jelly ssskullsss sssquished into a pane, the roof wasss thatched with marshmallow and the ground wasss paved with flattened candy pumpkinsss.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"I quickly forgot about asssking for food and ssset about eating the houssse. I took great handfulsss from the wallsss and jammed them into my mouth. It lessss than a minute my face wasss sssmeared all over, and my handsss ssso covered in sssticky sssweetsss that you couldn't sssee any ssskin.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Then the door sssuddenly opened, and out ssstepped what I knew at once wasss a witch. The long black cloak, the pointy black hat, and the broomssstick she clutched in one hand aided me in thisss deduction.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Well, there'sss really only one thing you can do when a witch catchesss you eating her wallsss. You run for it. But I barely had time to move before she cassst an evil ssspell. I fell forward on my face, and felt myssself being dragged back toward her by invisssible forcesss.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Thessse sssame forcesss then flipped me over onto my back. The witch looked furiousssly angry. 'Why,' she sssaid, 'are you eating my wall?'\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The anssswer 'Becaussse I wasss hungry' ssseemed a fairly obviousss one to me, but you don't act sssmart to a witch. I told her I had been unaware that the cottage wasss inhabited.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Well, that ssset her glaring even more. 'You didn't see the smoke coming from the chimney? You didn't stop to consider that sweets left lying around in a wood are hardly likely to be so clean and fresh and... well... there?'\""; + next; + mes "[Gak]"; + mes ""; + mes "\"I complimented her on how fine her sssweetsss were. She sssighed wearily.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"'But you've no idea,' she told me, 'how tiresome it is to keep them looking like that. I'm always cooking up more sweets for repairs, which I need to do constantly because my walls are always getting eaten by vermin.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"'I have a large store of sweets underneath my house, to which I add and from which I take every morning. Patching holes, shaving away layers of sweets that have grown mouldy and replacing with a thin layer of new sweets... and when it rains! You wouldn't believe!'\""; + next; + mes "[Gak]"; + mes ""; + mes "\"She glanced up at the roof of her houssse. 'I have a huge big sheet of waterproof canvas,' she went on. 'And as soon as it looks like rain I have to rush out here and tie it over my roof - if this house gets rained on, that's the end of it, I tell you. I'd have to rebuild from scratch.'\""; + next; + mes "[Gak]"; + mes ""; + mes "\"I hadn't realisssed what hard work the upkeep for a houssse made from sssweetsss wasss. I wasss now very sssorry for eating ssso much of her houssse without even asssking, and I told her ssso. But she glared again.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"'Never you mind MY worries,' she told me. 'You should be more concerned about your own!'\""; + next; + mes "[Gak]"; + mes ""; + mes "\"I remember ssswallowing nervousssly. 'My worriesss?'\""; + next; + mes "[Gak]"; + mes ""; + mes "\"'I hope you don't think you're leaving here,' sssaid the witch. 'You're staying and working for me until you've repaid what you ate.'\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Thisss wasssn't ssso bad asss I'd firssst thought it would be. I had three mealssss a day of the witch'sss cooking - not sssweetsss, but real mealsss and they were ever ssso much nicer. The work wasss hard, but I had many interesssting conversssationsss with the witch.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"It took sssome time to repay my debt, but finally I had worked enough. The witch - whossse name wasss Alissssa - gave me a bag of sssweetsss to take with me when I left. But I didn't want to go - what wasss there for me in the North?\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Ssso I ssstayed, in fact. We ate that bag of sssweetsss together, and from then on we did half the choresss each. Thossse were great daysss.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"But it wasss dangerousss, living down there in the Sssouth, back then. One night were were attacked by a tribe of goblinsss.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"I tried to protect Alissssa, but I wasss killed. I don't know what happened to her, becaussse it wasss many yearsss before I returned from the dead.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"When I did, I found myssself lying in a clearing in the foressst. The bracken wasss thickly growing and there were many young treesss, but sssearching around I dissscovered a trapdoor leading into a cellar. I wasss in the remainsss of our houssse.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"When I returned from the cellar, I ssspotted sssomething black lying in the grassss. It wasss Alissssa's pointy hat - unharmed by the yearsss becaussse of itsss magic.\""; + next; + mes "[Gak]"; + mes ""; + mes "The skeleton sighs as well as he can without lungs. \"Thisss witch'sss hat isss, of courssse, that very one. I've hung on to it for sssuch a long time - you couldn't imagine how long. I think it'sss time to let it go. If you truly want it, you can have it.\""; + next; + goto L_Gaks_Little_Shop; + +L_Info_GoblinMask: + mes "[Gak]"; + mes ""; + mes "\"Aha, yesss. There usssed to be a village far to the Sssouth where they wore thossse.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"In thossse daysss there were many goblin tribesss down there, who would regularly attack human villagesss. No one really knew why, it wasss jussst what goblinsss did.\" He looks sad for a moment. \"Well, in thisss village - which wasss called Turnap - they devisssed a clever ssscheme to protect themssselvesss from the goblinsss...\""; + next; + mes "[Gak]"; + mes ""; + mes "\"They made themssselvesss masssksss, like thisss one, to look like goblinsss. They figured the goblinsss wouldn't attack them if they did thisss.\" He grins like only a skeleton can. "; + next; + mes "[Gak]"; + mes ""; + mes "\"Of courssse, thossse goblinsss jussst thought the people of Turnap were another tribe that wasss invading there territory. They attacked and killed everyone.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"I had lived nearby for sssome time, and had been given thisss masssk to protect myssself on one of my visssitsss there. It did me asss much good asss it did them...\""; + next; + mes "[Gak]"; + mes ""; + mes "\"You can have it, if you want, but jussst remember: it won't protect you from the goblinsss!\""; + next; + goto L_Gaks_Little_Shop; + +L_Info_GuyFawkesMask: + mes "[Gak]"; + mes ""; + mes "\"Over in Tonori there isss a traditional celebration known asss 'Guy Fawkesss Day'. Sssee, many yearsss ago there wasss a guy named Fawkesss.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"He wasss a member of a sssecret sssociety. The Bell Sssociety, it wasss called. Their aim wasss to rid Tonori of itsss king, Efeniunkanduiti Khan.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Now, Fawkesss was a pretty exciteable guy. He had thessse visssionsss of blowing up the entire palace. The other membersss of the sssociety thought thisss wasss unnecessssary, but would neverthelessss be pretty cool.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Ssso, over time, they acquired enough explosssivesss to put Fawkesss' plansss into action. One dark night in late Autumn they gained entry to the palace, and placed great barrelsss of explosssivesss in ssstrategic locationsss.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Then came the time to light the fussse. The othersss went outssside to watch the show, and Fawkesss crept back down the cellarsss, where the ten-minute fussse lay waiting to be lit.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Unfortunately, it wasss at that moment that sssome of the Palace Guard showed up. They were a disssobient pair - they rarely lissstened to the commandsss of their ssseniorsss, and were currently sssneaking down to the cellarsss to sssteal themssselves sssome wine.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Of courssse, when they sssaw Fawkesss about to light the fussse they quickly ssseized him and tied him to a possst. After they had poured themssselvesss a drink, they ssstarted to interrogate him.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"But dessspite their tauntsss and no matter how many timesss they hit him, Fawkesss sssaid nothing. He wasss a brave guy.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Eventually, the guardsss told him that even if he didn't ssspeak, they could sssee that he had been trying to blow up the palace. They were completely drunk by thisss time, and sssaid that once they had gone to relieve themssselvesss they would hang him right there in the cellar.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Asss it isss tradional to do before executing sssomeone, the guardsss gave Fawkesss a pipe for hisss lassst sssmoke. They then left to ussse the toilet.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"It'sss rather obviousss what happened next. Once he wasss sssure they had gone, Fawkesss rolled himssself over in hisss bondsss and pressssed the sssmoking pipe againssst the fussse.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The ressst of the Bell Sssociety, ssstanding outssside the palace, had a magnificent view asss the centre of the palace was blown into the sssky and the wallsss crumpled outwardsss. Asss Fawkesss had not returned, they guessssed that he mussst not have been able to essscape.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The two palace guardsss, unfortunately, sssurvived. Asss the wall collapsssed they crashed into the moat along with the ressst of the rubble, but managed to free themssselves.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The Bell Sssociety essscaped, sssad for their lossss of Fawkesss but jubilant that they had sssuccesssfully killed the King. Unfortunately, the newssspaper next day revealed that he had not even been in the palace at the time! He wasss not even hurt!\""; + next; + mes "[Gak]"; + mes ""; + mes "\"The people of Tulimshar thought it very funny that sssuch a lot of effort had come to nothing. The palace was of courssse dessstroyed, but the Bell Sssociety had failed. Now we celebrate Guy Fawkesss day, in a lasssting jessst at the wasssted effort of the Bell Society.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Thisss masssk is meant to look like Fawkesss, but it doesssn't really. He wasssn't sssuch a smiley guy.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"I don't like Guy Fawkesss Day myssself, ssso I'm ssselling it cheaply.\""; + next; + goto L_Gaks_Little_Shop; + +L_Info_Scissors: + mes "[Gak]"; + mes ""; + mes "\"Yesss, my old ssscissssorsss. I had to cut my own hair with them once, to disssguissse myssself - which I had to do to essscape the country unnoticed.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"It'sss rather a long ssstory, but... well, I wasss in fact running from my execution. I came to Argaesss ssso that I didn't have to lossse my head.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"But that'sss long in the passst. Here and now, they're very good for changing your hairssstyle without bothering to go all the way to the barber.\""; + next; + goto L_Gaks_Little_Shop; + +L_Info_ShockSweet: + mes "[Gak]"; + mes ""; + mes "\"Thossse? Shocking thingsss...\""; + next; + goto L_Gaks_Little_Shop; + + +L_Info_BoneArrow: + mes "[Gak]"; + mes ""; + mes "\"Ahh, yessss. I happen to have sssso many leftover bonesss from what people have been giving me. I couldn't take them all, of courssse... there were very few that were responsssive enough for I needed, and now, I have the bessst.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Would be ssssssuch a pity to wassste the leftoverss though... I've been enchanting the ressst for usse as weaponssss. Nothing too ssspecial, but they are verry light.\""; + next; + goto L_Gaks_Little_Shop; + +L_Event_Over: + if (hween10 < 5) goto L_Event_Over_1; + if (hween10 < 13) goto L_Event_Over_2; + mes "[Gak]"; + mes ""; + mes "\"Well, it'sss been very nice meeting you, friend, but I think I'll be heading off sssoon. I hear the Northern farmsss are pleasssant at this time of year.\""; + close; + +L_Event_Over_1: + mes "[Gak]"; + mes ""; + mes "\"Hmm, hello. And goodbye.\""; + close; + +L_Event_Over_2: + mes "[Gak]"; + mes ""; + mes "\"Thank you for thossse sssweetsss, they were quite deliciousss. But I think I'll be leaving sssoon.\""; + close; + +L_Full_Inventory: + mes "[Gak]"; + mes ""; + mes "\"Ssseems you don't have room for thisss.\""; + close; + +L_Miscount_Bugfix: + if (hween10_collect_canpump != 0) goto L_Do_Miscount_Bugfix; + set hween10, 12; + goto L_Gaks_Little_Shop; + +L_Do_Miscount_Bugfix: + + mes "[Gak]"; + mes ""; + mes "\"Er.\" While his expression is as stony as ever, he sounds quite embarrassed."; + next; + mes "[Gak]"; + mes ""; + mes "\"Seems I forgot some thingsss earlier... you should actually have " + (hween10_collect_canpump << 1) + " more creditsss than I calculated before.\""; + next; + mes "[Gak]"; + mes ""; + mes "\"Sssorry.\""; + next; + + menu + "\"Hmph. Well, you can correct that now, right?", -; + + mes "[Gak]"; + mes ""; + mes "\"Of courssse. It is done. Sssorry about that\""; + set hween10_credits, hween10_credits + (hween10_collect_canpump << 1); + set hween10, 12; + next; + goto L_Gaks_Little_Shop; + +} + |