summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorEnchilado <pheonixvania@gmail.com>2010-11-19 20:18:34 +1000
committerJared Adams <jaxad0127@gmail.com>2010-12-20 21:05:11 -0700
commit78b00d2d199428e1341236c5a54d0ee9517daa0f (patch)
tree97a5a521b78e05405e7f1a49d6087b5bdd9d2bbb /npc
parentf376ae1a6098449c6ca813583cf48b4cb7e06d2b (diff)
downloadserverdata-78b00d2d199428e1341236c5a54d0ee9517daa0f.tar.gz
serverdata-78b00d2d199428e1341236c5a54d0ee9517daa0f.tar.bz2
serverdata-78b00d2d199428e1341236c5a54d0ee9517daa0f.tar.xz
serverdata-78b00d2d199428e1341236c5a54d0ee9517daa0f.zip
Hallowe'en 2010 Phase 1 Server Data
Some new items, a new monster, temporary spawns for that monster, the event NPC, scripts.conf to make him appear, and a new news entry.
Diffstat (limited to 'npc')
-rw-r--r--npc/007-1_Woodland/_mobs.txt1
-rw-r--r--npc/008-1_Hurnscald_outskirts/_mobs.txt1
-rw-r--r--npc/009-1_Hurnscald/_mobs.txt1
-rw-r--r--npc/010-1_Woodland/_mobs.txt1
-rw-r--r--npc/011-1_Woodland/_mobs.txt1
-rw-r--r--npc/012-1_Woodland_Hills/_mobs.txt1
-rw-r--r--npc/013-1_Woodland_hills/_mobs.txt1
-rw-r--r--npc/014-1_Woodland/_mobs.txt1
-rw-r--r--npc/015-1_Woodland/_mobs.txt1
-rw-r--r--npc/016-1_Woodland/_mobs.txt1
-rw-r--r--npc/017-1_Woodland_hills/_mobs.txt1
-rw-r--r--npc/018-1_Woodland_mining_camp/_mobs.txt1
-rw-r--r--npc/025-1_Woodland_Swamp/_mobs.txt1
-rw-r--r--npc/026-1_Swamp/_mobs.txt1
-rw-r--r--npc/027-1_Graveyard/_mobs.txt1
-rw-r--r--npc/028-1/_mobs.txt1
-rw-r--r--npc/029-1_Candor/_mobs.txt1
-rw-r--r--npc/halloween/2010/gak.txt426
-rw-r--r--npc/scripts.conf4
19 files changed, 446 insertions, 1 deletions
diff --git a/npc/007-1_Woodland/_mobs.txt b/npc/007-1_Woodland/_mobs.txt
index 29ad1105..cb2a8467 100644
--- a/npc/007-1_Woodland/_mobs.txt
+++ b/npc/007-1_Woodland/_mobs.txt
@@ -9,6 +9,7 @@
007-1.gat,0,0,0,0 monster Clover 1037,2,0,1000,Mob007-1::On1037
007-1.gat,0,0,0,0 monster Squirrel 1038,25,30,20,Mob007-1::On1038
007-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob007-1::On1055
+007-1.gat,0,0,0,0 monster Pumpkin 1064,2,30000,20000
007-1.gat,0,0,0 script Mob007-1 -1,{
diff --git a/npc/008-1_Hurnscald_outskirts/_mobs.txt b/npc/008-1_Hurnscald_outskirts/_mobs.txt
index 12147858..9e7880fe 100644
--- a/npc/008-1_Hurnscald_outskirts/_mobs.txt
+++ b/npc/008-1_Hurnscald_outskirts/_mobs.txt
@@ -9,6 +9,7 @@
008-1.gat,0,0,0,0 monster Clover 1037,2,0,1000,Mob008-1::On1037
008-1.gat,0,0,0,0 monster Squirrel 1038,10,30,20,Mob008-1::On1038
008-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob008-1::On1055
+008-1.gat,0,0,0,0 monster Pumpkin 1064,2,40000,40000
008-1.gat,0,0,0 script Mob008-1 -1,{
diff --git a/npc/009-1_Hurnscald/_mobs.txt b/npc/009-1_Hurnscald/_mobs.txt
index 5f1fcf89..c066bac8 100644
--- a/npc/009-1_Hurnscald/_mobs.txt
+++ b/npc/009-1_Hurnscald/_mobs.txt
@@ -5,6 +5,7 @@
009-1.gat,88,51,15,4 monster Squirrel 1038,2,0,5000,Mob009-1::On1038
009-1.gat,80,38,5,5 monster Squirrel 1038,1,0,5000,Mob009-1::On1038
009-1.gat,0,0,0,0 monster Butterfly 1055,5,30,20,Mob009-1::On1055
+009-1.gat,0,0,0,0 monster Pumpkin 1064,1,40000,40000
009-1.gat,0,0,0 script Mob009-1 -1,{
diff --git a/npc/010-1_Woodland/_mobs.txt b/npc/010-1_Woodland/_mobs.txt
index 87140ff3..d86c2641 100644
--- a/npc/010-1_Woodland/_mobs.txt
+++ b/npc/010-1_Woodland/_mobs.txt
@@ -13,6 +13,7 @@
010-1.gat,0,0,0,0 monster Clover 1037,2,0,1000,Mob010-1::On1037
010-1.gat,0,0,0,0 monster Squirrel 1038,25,30,20,Mob010-1::On1038
010-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob010-1::On1055
+010-1.gat,0,0,0,0 monster Pumpkin 1064,3,30000,20000
010-1.gat,0,0,0 script Mob010-1 -1,{
diff --git a/npc/011-1_Woodland/_mobs.txt b/npc/011-1_Woodland/_mobs.txt
index 05ed18ed..3aa95c29 100644
--- a/npc/011-1_Woodland/_mobs.txt
+++ b/npc/011-1_Woodland/_mobs.txt
@@ -11,6 +11,7 @@
011-1.gat,0,0,0,0 monster Clover 1037,2,0,1000,Mob011-1::On1037
011-1.gat,0,0,0,0 monster Squirrel 1038,25,30,20,Mob011-1::On1038
011-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob011-1::On1055
+011-1.gat,0,0,0,0 monster Pumpkin 1064,2,30000,20000
011-1.gat,0,0,0 script Mob011-1 -1,{
diff --git a/npc/012-1_Woodland_Hills/_mobs.txt b/npc/012-1_Woodland_Hills/_mobs.txt
index c081df48..13e21929 100644
--- a/npc/012-1_Woodland_Hills/_mobs.txt
+++ b/npc/012-1_Woodland_Hills/_mobs.txt
@@ -11,6 +11,7 @@
012-1.gat,0,0,0,0 monster Clover 1037,2,0,1000,Mob012-1::On1037
012-1.gat,0,0,0,0 monster Squirrel 1038,25,30,20,Mob012-1::On1038
012-1.gat,0,0,0,0 monster Butterfly 1055,20,30,20,Mob012-1::On1055
+012-1.gat,0,0,0,0 monster Pumpkin 1064,6,40000,30000
012-1.gat,0,0,0 script Mob012-1 -1,{
diff --git a/npc/013-1_Woodland_hills/_mobs.txt b/npc/013-1_Woodland_hills/_mobs.txt
index 04bdf4ce..2086aa5f 100644
--- a/npc/013-1_Woodland_hills/_mobs.txt
+++ b/npc/013-1_Woodland_hills/_mobs.txt
@@ -15,6 +15,7 @@
013-1.gat,0,0,0,0 monster Clover 1037,2,0,1000,Mob013-1::On1037
013-1.gat,0,0,0,0 monster Squirrel 1038,25,30,20,Mob013-1::On1038
013-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob013-1::On1055
+013-1.gat,0,0,0,0 monster Pumpkin 1064,2,50000,45000
013-1.gat,0,0,0 script Mob013-1 -1,{
diff --git a/npc/014-1_Woodland/_mobs.txt b/npc/014-1_Woodland/_mobs.txt
index 6f530db9..fc21e806 100644
--- a/npc/014-1_Woodland/_mobs.txt
+++ b/npc/014-1_Woodland/_mobs.txt
@@ -16,6 +16,7 @@
014-1.gat,0,0,0,0 monster Clover 1037,2,0,1000,Mob014-1::On1037
014-1.gat,0,0,0,0 monster Squirrel 1038,25,30,20,Mob014-1::On1038
014-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob014-1::On1055
+014-1.gat,0,0,0,0 monster Pumpkin 1064,2,40000,40000
014-1.gat,0,0,0 script Mob014-1 -1,{
diff --git a/npc/015-1_Woodland/_mobs.txt b/npc/015-1_Woodland/_mobs.txt
index da42f9d1..ca1e87bf 100644
--- a/npc/015-1_Woodland/_mobs.txt
+++ b/npc/015-1_Woodland/_mobs.txt
@@ -2,6 +2,7 @@
015-1.gat,0,0,0,0 monster Clover 1037,2,100000,1000,Mob015-1::On1037
015-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob015-1::On1055
+015-1.gat,0,0,0,0 monster Pumpkin 1064,1,60000,60000
015-1.gat,0,0,0 script Mob015-1 -1,{
diff --git a/npc/016-1_Woodland/_mobs.txt b/npc/016-1_Woodland/_mobs.txt
index 47df3be4..9bff35fd 100644
--- a/npc/016-1_Woodland/_mobs.txt
+++ b/npc/016-1_Woodland/_mobs.txt
@@ -2,6 +2,7 @@
016-1.gat,0,0,0,0 monster Clover 1037,2,100000,30000,Mob016-1::On1037
016-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob016-1::On1055
+016-1.gat,0,0,0,0 monster Pumpkin 1064,1,60000,60000
016-1.gat,0,0,0 script Mob016-1 -1,{
diff --git a/npc/017-1_Woodland_hills/_mobs.txt b/npc/017-1_Woodland_hills/_mobs.txt
index fd79bb69..f5ead1e7 100644
--- a/npc/017-1_Woodland_hills/_mobs.txt
+++ b/npc/017-1_Woodland_hills/_mobs.txt
@@ -5,6 +5,7 @@
017-1.gat,91,25,76,8 monster Loghead 2027,3,5000,60000,Mob017-1::On2027
017-1.gat,31,48,19,12 monster Loghead 2027,3,5000,60000,Mob017-1::On2027
017-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob017-1::On1055
+017-1.gat,0,0,0,0 monster Pumpkin 1064,3,32000,20000
017-1.gat,0,0,0 script Mob017-1 -1,{
diff --git a/npc/018-1_Woodland_mining_camp/_mobs.txt b/npc/018-1_Woodland_mining_camp/_mobs.txt
index 292e0547..2a2af659 100644
--- a/npc/018-1_Woodland_mining_camp/_mobs.txt
+++ b/npc/018-1_Woodland_mining_camp/_mobs.txt
@@ -26,6 +26,7 @@
018-1.gat,160,31,11,18 monster Red Slime 1008,5,100000,50000,Mob018-1::On1008
018-1.gat,0,0,0,0 monster Clover 1037,2,0,1000,Mob018-1::On1037
018-1.gat,0,0,0,0 monster Butterfly 1055,20,30,20,Mob018-1::On1055
+018-1.gat,0,0,0,0 monster Pumpkin 1064,6,60000,60000
018-1.gat,0,0,0 script Mob018-1 -1,{
diff --git a/npc/025-1_Woodland_Swamp/_mobs.txt b/npc/025-1_Woodland_Swamp/_mobs.txt
index ec980c3c..4aed8361 100644
--- a/npc/025-1_Woodland_Swamp/_mobs.txt
+++ b/npc/025-1_Woodland_Swamp/_mobs.txt
@@ -10,6 +10,7 @@
025-1.gat,73,61,107,82 monster Spiky Mushroom 1019,40,90000,500,Mob025-1::On1019
025-1.gat,101,53,55,65 monster Squirrel 1038,18,60000,9000,Mob025-1::On1038
025-1.gat,26,61,15,85 monster Scorpion 1003,12,100000,50000,Mob025-1::On1003
+025-1.gat,0,0,0,0 monster Pumpkin 1064,5,45000,35000
025-1.gat,0,0,0 script Mob025-1 -1,{
diff --git a/npc/026-1_Swamp/_mobs.txt b/npc/026-1_Swamp/_mobs.txt
index 2885ca7b..5068ba8b 100644
--- a/npc/026-1_Swamp/_mobs.txt
+++ b/npc/026-1_Swamp/_mobs.txt
@@ -8,6 +8,7 @@
026-1.gat,71,57,113,81 monster Skeleton 1043,5,900000,10000,Mob026-1::On1043
026-1.gat,68,61,106,88 monster LadySkeleton 1044,5,900000,20000,Mob026-1::On1044
026-1.gat,68,60,107,87 monster Log Head 1025,8,300000,40000,Mob026-1::On1025
+026-1.gat,0,0,0,0 monster Pumpkin 1064,8,50000,40000
026-1.gat,0,0,0 script Mob026-1 -1,{
diff --git a/npc/027-1_Graveyard/_mobs.txt b/npc/027-1_Graveyard/_mobs.txt
index 372c2833..73641d27 100644
--- a/npc/027-1_Graveyard/_mobs.txt
+++ b/npc/027-1_Graveyard/_mobs.txt
@@ -22,6 +22,7 @@
027-1.gat,37,65,33,22 monster Zombie 1036,3,140000,30000,Mob027-1::On1036
027-1.gat,37,65,33,22 monster Fallen 1045,3,120000,30000,Mob027-1::On1045
027-1.gat,28,67,2,1 monster Jack O 1022,1,265000,200000,Mob027-1::On1022
+027-1.gat,0,0,0,0 monster Pumpkin 1064,9,45000,35000
027-1.gat,0,0,0 script Mob027-1 -1,{
diff --git a/npc/028-1/_mobs.txt b/npc/028-1/_mobs.txt
index 317b10d1..63783af0 100644
--- a/npc/028-1/_mobs.txt
+++ b/npc/028-1/_mobs.txt
@@ -12,6 +12,7 @@
028-1.gat,76,100,93,16 monster Spectre 1042,8,200000,15000,Mob028-1::On1042
028-1.gat,104,114,61,14 monster Poltergeist 1047,8,200000,15000,Mob028-1::On1047
028-1.gat,54,42,1,1 monster Fallen 1045,1,700000,300000,Mob028-1::On1045
+028-1.gat,0,0,0,0 monster Pumpkin 1064,4,40000,40000
028-1.gat,0,0,0 script Mob028-1 -1,{
diff --git a/npc/029-1_Candor/_mobs.txt b/npc/029-1_Candor/_mobs.txt
index 32975e8a..10486a66 100644
--- a/npc/029-1_Candor/_mobs.txt
+++ b/npc/029-1_Candor/_mobs.txt
@@ -6,6 +6,7 @@
029-1.gat,36,59,22,20 monster Spiky Mushroom 1019,5,10000,30000,Mob029-1::On1019
029-1.gat,53,35,17,17 monster Bats 1017,4,25000,30000,Mob029-1::On1017
029-1.gat,59,51,13,9 monster Log heads 1025,2,25000,30000,Mob029-1::On1025
+029-1.gat,0,0,0,0 monster Pumpkin 1064,1,40000,50000
029-1.gat,0,0,0 script Mob029-1 -1,{
diff --git a/npc/halloween/2010/gak.txt b/npc/halloween/2010/gak.txt
new file mode 100644
index 00000000..e15ae464
--- /dev/null
+++ b/npc/halloween/2010/gak.txt
@@ -0,0 +1,426 @@
+010-1.gat,29,48,0 script Gak 187, {
+
+ 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;
+ if (hween10 == 5) goto L_Collecting_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("tondel") < 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 (@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;
+ mes "[Gak]";
+ mes "";
+ mes "\"But I ssstill need more! I'm ssstill HUNGRY!\"";
+ 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;
+
+}
diff --git a/npc/scripts.conf b/npc/scripts.conf
index 660dedb7..b6e53dcc 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -74,5 +74,7 @@ import: npc/_import.txt
// When enabling, some entries in 028-1 would also need to be uncommented, the warp from 028-1 would need to be commented out. The changes to the old woman and some other NPCs weren't able to be preserved, but are recorded in the git repository.
//import: npc/easter/2010/_import.txt
-import: npc/xmas/2010/_import.txt
+// Halloween 2010
+npc: npc/halloween/2010/gak.txt
+import: npc/xmas/2010/_import.txt