summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Beller <stefanbeller@googlemail.com>2010-11-21 11:48:16 +0100
committerStefan Beller <stefanbeller@googlemail.com>2010-11-21 22:35:16 +0100
commit252f1193faede4a670125928a568558c21ef5b3a (patch)
tree86df89d501f7d34a66aac2e323b39c6831f8d2a1
parent89b7690cba845d1a480dd5ccacbd6e97c18bd9f6 (diff)
downloadserverdata-252f1193faede4a670125928a568558c21ef5b3a.tar.gz
serverdata-252f1193faede4a670125928a568558c21ef5b3a.tar.bz2
serverdata-252f1193faede4a670125928a568558c21ef5b3a.tar.xz
serverdata-252f1193faede4a670125928a568558c21ef5b3a.zip
nivalis and christmas2010
-rw-r--r--data/019-1.wlkbin17668 -> 17668 bytes
-rw-r--r--data/019-3.wlkbin0 -> 17668 bytes
-rw-r--r--data/020-1.wlkbin18948 -> 18948 bytes
-rw-r--r--data/020-3.wlkbin6404 -> 25604 bytes
-rw-r--r--data/027-3.wlkbin0 -> 13504 bytes
-rw-r--r--data/030-1.wlkbin0 -> 17668 bytes
-rw-r--r--data/031-1.wlkbin0 -> 18948 bytes
-rw-r--r--data/031-3.wlkbin0 -> 102404 bytes
-rw-r--r--data/resnametable.txt5
-rw-r--r--npc/019-1_Snow_field/_warps.txt3
-rw-r--r--npc/019-3_Snow_field/_import.txt3
-rw-r--r--npc/019-3_Snow_field/_mobs.txt7
-rw-r--r--npc/019-3_Snow_field/_warps.txt4
-rw-r--r--npc/020-1_Nivalis/_warps.txt2
-rw-r--r--npc/020-3_Ice_cave/_warps.txt7
-rw-r--r--npc/027-3/_import.txt3
-rw-r--r--npc/027-3/_mobs.txt7
-rw-r--r--npc/027-3/_warps.txt4
-rw-r--r--npc/030-1_Snow_field/_import.txt3
-rw-r--r--npc/030-1_Snow_field/_mobs.txt7
-rw-r--r--npc/030-1_Snow_field/_warps.txt3
-rw-r--r--npc/031-1_NivalisPort/_import.txt3
-rw-r--r--npc/031-1_NivalisPort/_mobs.txt7
-rw-r--r--npc/031-1_NivalisPort/_warps.txt4
-rw-r--r--npc/031-3/_import.txt4
-rw-r--r--npc/031-3/_mobs.txt7
-rw-r--r--npc/031-3/_warps.txt3
-rw-r--r--npc/031-3/labyrinth.txt342
-rw-r--r--npc/_import.txt6
-rw-r--r--npc/scripts.conf3
-rw-r--r--npc/xmas/2010/_import.txt2
-rw-r--r--npc/xmas/2010/golbanez.txt194
-rw-r--r--npc/xmas/2010/santa.txt160
33 files changed, 790 insertions, 3 deletions
diff --git a/data/019-1.wlk b/data/019-1.wlk
index 717ebea9..a77948ac 100644
--- a/data/019-1.wlk
+++ b/data/019-1.wlk
Binary files differ
diff --git a/data/019-3.wlk b/data/019-3.wlk
new file mode 100644
index 00000000..fd9a4262
--- /dev/null
+++ b/data/019-3.wlk
Binary files differ
diff --git a/data/020-1.wlk b/data/020-1.wlk
index a27bbee6..a1a0f9b3 100644
--- a/data/020-1.wlk
+++ b/data/020-1.wlk
Binary files differ
diff --git a/data/020-3.wlk b/data/020-3.wlk
index 49f8a6bc..cfc2ad06 100644
--- a/data/020-3.wlk
+++ b/data/020-3.wlk
Binary files differ
diff --git a/data/027-3.wlk b/data/027-3.wlk
new file mode 100644
index 00000000..4023c354
--- /dev/null
+++ b/data/027-3.wlk
Binary files differ
diff --git a/data/030-1.wlk b/data/030-1.wlk
new file mode 100644
index 00000000..bd0df376
--- /dev/null
+++ b/data/030-1.wlk
Binary files differ
diff --git a/data/031-1.wlk b/data/031-1.wlk
new file mode 100644
index 00000000..45baa48e
--- /dev/null
+++ b/data/031-1.wlk
Binary files differ
diff --git a/data/031-3.wlk b/data/031-3.wlk
new file mode 100644
index 00000000..8d243080
--- /dev/null
+++ b/data/031-3.wlk
Binary files differ
diff --git a/data/resnametable.txt b/data/resnametable.txt
index 3d45f566..7d60c6c8 100644
--- a/data/resnametable.txt
+++ b/data/resnametable.txt
@@ -45,10 +45,10 @@
018-2.gat#018-2.wlk#
018-3.gat#018-3.wlk#
019-1.gat#019-1.wlk#
+019-3.gat#019-3.wlk#
020-1.gat#020-1.wlk#
020-2.gat#020-2.wlk#
020-3.gat#020-3.wlk#
-020-4.gat#020-4.wlk#
021-1.gat#021-1.wlk#
021-2.gat#021-2.wlk#
021-8.gat#021-8.wlk#
@@ -64,4 +64,7 @@
028-3.gat#028-3.wlk#
029-1.gat#029-1.wlk#
029-3.gat#029-3.wlk#
+030-1.gat#030-1.wlk#
+031-1.gat#031-1.wlk#
+031-3.gat#031-3.wlk#
botcheck.gat#botcheck.wlk#
diff --git a/npc/019-1_Snow_field/_warps.txt b/npc/019-1_Snow_field/_warps.txt
index 63b04561..1cc4b7ae 100644
--- a/npc/019-1_Snow_field/_warps.txt
+++ b/npc/019-1_Snow_field/_warps.txt
@@ -1,3 +1,6 @@
// 019-1 Snow field warps
019-1.gat,70,21 warp ToVillage 2,-1,020-1.gat,70,126
+019-1.gat,61,102 warp toRomanticPlace 2,-1,030-1.gat,60,29
+019-1.gat,96,40 warp toCave -1,-1,019-3.gat,98,27
+019-1.gat,38,75 warp toCave2 -1,-1,019-3.gat,40,97
diff --git a/npc/019-3_Snow_field/_import.txt b/npc/019-3_Snow_field/_import.txt
new file mode 100644
index 00000000..3c5b1edc
--- /dev/null
+++ b/npc/019-3_Snow_field/_import.txt
@@ -0,0 +1,3 @@
+map: 019-3.gat
+npc: npc/019-3_Snow_field/_mobs.txt
+npc: npc/019-3_Snow_field/_warps.txt
diff --git a/npc/019-3_Snow_field/_mobs.txt b/npc/019-3_Snow_field/_mobs.txt
new file mode 100644
index 00000000..d5d272ab
--- /dev/null
+++ b/npc/019-3_Snow_field/_mobs.txt
@@ -0,0 +1,7 @@
+// 019-3 Snow field mobs
+
+
+
+019-3.gat,0,0,0 script Mob019-3 -1,{
+ end;
+}
diff --git a/npc/019-3_Snow_field/_warps.txt b/npc/019-3_Snow_field/_warps.txt
new file mode 100644
index 00000000..fb2637a3
--- /dev/null
+++ b/npc/019-3_Snow_field/_warps.txt
@@ -0,0 +1,4 @@
+// 019-3 Snow field warps
+
+019-3.gat,40,99 warp WarpOutside1 -1,-1,019-1.gat,38,73
+019-3.gat,98,25 warp warpOutside2 -1,-1,019-1.gat,96,38
diff --git a/npc/020-1_Nivalis/_warps.txt b/npc/020-1_Nivalis/_warps.txt
index c9578dfc..a8e5b772 100644
--- a/npc/020-1_Nivalis/_warps.txt
+++ b/npc/020-1_Nivalis/_warps.txt
@@ -7,3 +7,5 @@
020-1.gat,64,82 warp toInn -1,-1,020-2.gat,111,31
020-1.gat,86,46 warp toWeaponShop -1,-1,020-2.gat,32,72
020-1.gat,56,90 warp ToPotionsShop -1,-1,020-2.gat,66,25
+020-1.gat,70,127 warp toSnowField 2,-1,019-1.gat,70,22
+020-1.gat,107,55 warp toPort -1,-1,031-1.gat,38,55
diff --git a/npc/020-3_Ice_cave/_warps.txt b/npc/020-3_Ice_cave/_warps.txt
index 51539391..3b4babf7 100644
--- a/npc/020-3_Ice_cave/_warps.txt
+++ b/npc/020-3_Ice_cave/_warps.txt
@@ -1,4 +1,9 @@
// 020-3 Ice cave warps
020-3.gat,31,25 warp toOutside -1,-1,020-1.gat,76,37
-020-3.gat,25,22 warp toIceCave2 -1,-1,020-4.gat,36,34
+020-3.gat,25,22 warp toRightLowerCave -1,-1,020-3.gat,97,101
+020-3.gat,97,99 warp toLeftUpperCave -1,-1,020-3.gat,25,24
+020-3.gat,28,57 warp toLeftLowerCave -1,-1,020-3.gat,33,100
+020-3.gat,49,33 warp ToRightUpperCave -1,-1,020-3.gat,110,55
+020-3.gat,33,98 warp toLeftUpperCave -1,-1,020-3.gat,28,54
+020-3.gat,110,57 warp ToLeftUpperCave -1,-1,020-3.gat,49,35
diff --git a/npc/027-3/_import.txt b/npc/027-3/_import.txt
new file mode 100644
index 00000000..0d6c8819
--- /dev/null
+++ b/npc/027-3/_import.txt
@@ -0,0 +1,3 @@
+map: 027-3.gat
+npc: npc/027-3/_mobs.txt
+npc: npc/027-3/_warps.txt
diff --git a/npc/027-3/_mobs.txt b/npc/027-3/_mobs.txt
new file mode 100644
index 00000000..dcf52c02
--- /dev/null
+++ b/npc/027-3/_mobs.txt
@@ -0,0 +1,7 @@
+// 027-3 mobs
+
+
+
+027-3.gat,0,0,0 script Mob027-3 -1,{
+ end;
+}
diff --git a/npc/027-3/_warps.txt b/npc/027-3/_warps.txt
new file mode 100644
index 00000000..650f6e5a
--- /dev/null
+++ b/npc/027-3/_warps.txt
@@ -0,0 +1,4 @@
+// 027-3 warps
+
+027-3.gat,127,44 warp toCryptLevel2 1,-1,027-4.gat,37,21
+027-3.gat,41,75 warp toGraveyard 2,-1,027-1.gat,28,69
diff --git a/npc/030-1_Snow_field/_import.txt b/npc/030-1_Snow_field/_import.txt
new file mode 100644
index 00000000..97064443
--- /dev/null
+++ b/npc/030-1_Snow_field/_import.txt
@@ -0,0 +1,3 @@
+map: 030-1.gat
+npc: npc/030-1_Snow_field/_mobs.txt
+npc: npc/030-1_Snow_field/_warps.txt
diff --git a/npc/030-1_Snow_field/_mobs.txt b/npc/030-1_Snow_field/_mobs.txt
new file mode 100644
index 00000000..a614f4a2
--- /dev/null
+++ b/npc/030-1_Snow_field/_mobs.txt
@@ -0,0 +1,7 @@
+// 030-1 Snow field mobs
+
+
+
+030-1.gat,0,0,0 script Mob030-1 -1,{
+ end;
+}
diff --git a/npc/030-1_Snow_field/_warps.txt b/npc/030-1_Snow_field/_warps.txt
new file mode 100644
index 00000000..73106d6d
--- /dev/null
+++ b/npc/030-1_Snow_field/_warps.txt
@@ -0,0 +1,3 @@
+// 030-1 Snow field warps
+
+030-1.gat,61,28 warp toSnowfield 0,-1,019-1.gat,61,100
diff --git a/npc/031-1_NivalisPort/_import.txt b/npc/031-1_NivalisPort/_import.txt
new file mode 100644
index 00000000..d256e273
--- /dev/null
+++ b/npc/031-1_NivalisPort/_import.txt
@@ -0,0 +1,3 @@
+map: 031-1.gat
+npc: npc/031-1_NivalisPort/_mobs.txt
+npc: npc/031-1_NivalisPort/_warps.txt
diff --git a/npc/031-1_NivalisPort/_mobs.txt b/npc/031-1_NivalisPort/_mobs.txt
new file mode 100644
index 00000000..dc109dc5
--- /dev/null
+++ b/npc/031-1_NivalisPort/_mobs.txt
@@ -0,0 +1,7 @@
+// 031-1 NivalisPort mobs
+
+
+
+031-1.gat,0,0,0 script Mob031-1 -1,{
+ end;
+}
diff --git a/npc/031-1_NivalisPort/_warps.txt b/npc/031-1_NivalisPort/_warps.txt
new file mode 100644
index 00000000..ca2bdc30
--- /dev/null
+++ b/npc/031-1_NivalisPort/_warps.txt
@@ -0,0 +1,4 @@
+// 031-1 NivalisPort warps
+
+031-1.gat,37,55 warp toNivalis -1,-1,020-1.gat,106,55
+031-1.gat,76,24 warp toLabyrinth -1,-1,031-3.gat,212,298
diff --git a/npc/031-3/_import.txt b/npc/031-3/_import.txt
new file mode 100644
index 00000000..4562f635
--- /dev/null
+++ b/npc/031-3/_import.txt
@@ -0,0 +1,4 @@
+map: 031-3.gat
+npc: npc/031-3/_mobs.txt
+npc: npc/031-3/_warps.txt
+npc: npc/031-3/labyrinth.txt
diff --git a/npc/031-3/_mobs.txt b/npc/031-3/_mobs.txt
new file mode 100644
index 00000000..a86150c7
--- /dev/null
+++ b/npc/031-3/_mobs.txt
@@ -0,0 +1,7 @@
+// 031-3 mobs
+
+
+
+031-3.gat,0,0,0 script Mob031-3 -1,{
+ end;
+}
diff --git a/npc/031-3/_warps.txt b/npc/031-3/_warps.txt
new file mode 100644
index 00000000..a15033a1
--- /dev/null
+++ b/npc/031-3/_warps.txt
@@ -0,0 +1,3 @@
+// 031-3 warps
+
+031-3.gat,212,300 warp toOutside -1,-1,031-1.gat,76,26
diff --git a/npc/031-3/labyrinth.txt b/npc/031-3/labyrinth.txt
new file mode 100644
index 00000000..925127d4
--- /dev/null
+++ b/npc/031-3/labyrinth.txt
@@ -0,0 +1,342 @@
+//#################################################################################
+//#
+//# Warps for the labyrinth on christmas 2010
+//#
+//# Authors: alastrim, PjotrOrial
+//#
+//# reviewed by:
+//#
+//# This is a labyrinth, having lots of warps in there.
+//# These warps are activated on different days.
+//# For each way there are 2 warps: one way and its way back.
+//#
+//#################################################################################
+
+
+// Debug Script
+
+031-3.gat,219,294,0 script Debug 144,{
+ menu
+ "Test a specific date",-,
+ "Clean $Golbenez_Santa_Free",L_Clean;
+ mes "Which date you want to test?";
+ input $Golbenez_Santa_Free;
+ close;
+
+L_Clean:
+ set $Golbenez_Santa_Free, 0;
+ close;
+}
+
+// 16/12 - 1 warp
+031-3.gat,205,264,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 16 ) end;
+ warp "031-3.gat", 149, 260;
+ end;
+}
+
+031-3.gat,149,259,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 16 ) end;
+ warp "031-3.gat", 205, 265;
+ end;
+}
+
+// 17/12 - 3 Warps
+
+// First Warp
+
+031-3.gat,225,282,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 17 ) end;
+ warp "031-3.gat", 274, 299;
+ end;
+}
+
+031-3.gat,274,300,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 17 ) end;
+ warp "031-3.gat", 225, 283;
+ end;
+}
+
+// Second Warp
+
+031-3.gat,283,271,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 17 ) end;
+ warp "031-3.gat", 269, 244;
+ end;
+}
+
+031-3.gat,269,245,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 17 ) end;
+ warp "031-3.gat", 283, 272;
+ end;
+}
+
+// Third Warp
+031-3.gat,139,258,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 17 ) end;
+ warp "031-3.gat", 155, 196;
+ end;
+}
+
+031-3.gat,155,195,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 17 ) end;
+ warp "031-3.gat", 139, 259;
+ end;
+}
+
+// 18/12 - 4 Warps
+
+// First Warp
+031-3.gat,142,301,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 18 ) end;
+ warp "031-3.gat", 97, 300;
+ end;
+}
+
+031-3.gat,97,301,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 18 ) end;
+ warp "031-3.gat", 142, 300;
+ end;
+}
+
+// Second Warp
+031-3.gat,135,196,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 18 ) end;
+ warp "031-3.gat", 106, 231;
+ end;
+}
+
+031-3.gat,106,232,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 18 ) end;
+ warp "031-3.gat", 135, 197;
+ end;
+}
+
+// Third Warp
+031-3.gat,286,190,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 18 ) end;
+ warp "031-3.gat", 227, 241;
+ end;
+}
+
+031-3.gat,227,242,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 18 ) end;
+ warp "031-3.gat", 286, 191;
+ end;
+}
+
+// Fourth Warp
+
+031-3.gat,236,211,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 18 ) end;
+ warp "031-3.gat", 187, 227;
+ end;
+}
+
+031-3.gat,187,228,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 18 ) end;
+ warp "031-3.gat", 236, 212;
+ end;
+}
+
+// 19/12 - 4 Warps
+
+// First Warp
+031-3.gat,94,224,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 19 ) end;
+ warp "031-3.gat", 54, 251;
+ end;
+}
+
+031-3.gat,54,250,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 19 ) end;
+ warp "031-3.gat", 94, 225;
+ end;
+}
+
+// Second Warp
+
+031-3.gat,103,199,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 19 ) end;
+ warp "031-3.gat", 52, 176;
+ end;
+}
+
+031-3.gat,52,177,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 19 ) end;
+ warp "031-3.gat", 103, 200;
+ end;
+}
+
+// Third Warp
+
+031-3.gat,212,193,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 19 ) end;
+ warp "031-3.gat", 207, 167;
+ end;
+}
+
+031-3.gat,207,168,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 19 ) end;
+ warp "031-3.gat", 212, 194;
+ end;
+}
+
+// Fourth Warp
+
+031-3.gat,235,167,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 19 ) end;
+ warp "031-3.gat", 195, 123;
+ end;
+}
+
+031-3.gat,195,122,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 19 ) end;
+ warp "031-3.gat", 235, 166;
+ end;
+}
+
+# // 4 warps on dec 20
+# // first warp
+031-3.gat,296,97,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 20 ) end;
+ warp "031-3.gat", 292, 124;
+ end;
+}
+031-3.gat,292,123,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 20 ) end;
+ warp "031-3.gat", 296, 96;
+ end;
+}
+# // second warp
+031-3.gat,289,164,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 20 ) end;
+ warp "031-3.gat", 228, 122;
+ end;
+}
+031-3.gat,228,121,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 20 ) end;
+ warp "031-3.gat", 289, 163;
+ end;
+}
+# // third warp
+031-3.gat,24,157,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 20 ) end;
+ warp "031-3.gat", 31, 143;
+ end;
+}
+031-3.gat,31,144,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 20 ) end;
+ warp "031-3.gat", 24, 158;
+ end;
+}
+# // forth warp
+031-3.gat,36,249,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 20 ) end;
+ warp "031-3.gat", 35, 225;
+ end;
+}
+031-3.gat,35,226,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 20 ) end;
+ warp "031-3.gat", 36, 250;
+ end;
+}
+
+
+# // 3 warps on dec 21
+# // first warp
+031-3.gat,34,25,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 21 ) end;
+ warp "031-3.gat", 281, 23;
+ end;
+}
+031-3.gat,281,22,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 21 ) end;
+ warp "031-3.gat", 34, 26;
+ end;
+}
+// # second warp
+031-3.gat,283,48,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 21 ) end;
+ warp "031-3.gat", 275, 74;
+ end;
+}
+031-3.gat,275,73,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 21 ) end;
+ warp "031-3.gat", 283, 47;
+ end;
+}
+// # third warp
+031-3.gat,26,178,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 21 ) end;
+ warp "031-3.gat", 36, 201;
+ end;
+}
+031-3.gat,36,200,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 21 ) end;
+ warp "031-3.gat", 26, 177;
+ end;
+}
+
+
+# // 2 warps on dec 22
+# // first warp
+031-3.gat,91,125,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 22 ) end;
+ warp "031-3.gat", 36, 79;
+ end;
+}
+031-3.gat,36,80,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 22 ) end;
+ warp "031-3.gat", 91, 126;
+ end;
+}
+// # second warp
+031-3.gat,52,78,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 22 ) end;
+ warp "031-3.gat", 192, 71;
+ end;
+}
+031-3.gat,192,70,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 22 ) end;
+ warp "031-3.gat", 52, 77;
+ end;
+}
+
+
+# // 2 warps on dec 23
+# // first warp
+031-3.gat,128,135,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 23 ) end;
+ warp "031-3.gat", 148, 151;
+ end;
+}
+031-3.gat,148,150,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 23 ) end;
+ warp "031-3.gat", 128, 134;
+ end;
+}
+// # second warp
+031-3.gat,232,93,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 23 ) end;
+ warp "031-3.gat", 200, 49;
+ end;
+}
+031-3.gat,200,50,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 23 ) end;
+ warp "031-3.gat", 232, 94;
+ end;
+}
+
+
+# // 1 warp on dec 24
+031-3.gat,120,81,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 24 ) end;
+ warp "031-3.gat", 46, 22;
+ end;
+}
+031-3.gat,46,24,0 script #ChristmasBarrier 127,1,1,{
+ if ($Golbenez_Santa_Free < 24 ) end;
+ warp "031-3.gat", 120, 80;
+ end;
+}
diff --git a/npc/_import.txt b/npc/_import.txt
index 4349f76d..09c7de0a 100644
--- a/npc/_import.txt
+++ b/npc/_import.txt
@@ -44,10 +44,10 @@ import: npc/018-1_Woodland_mining_camp/_import.txt
import: npc/018-2_Woodland_mining_camp/_import.txt
import: npc/018-3_Cave/_import.txt
import: npc/019-1_Snow_field/_import.txt
+import: npc/019-3_Snow_field/_import.txt
import: npc/020-1_Nivalis/_import.txt
import: npc/020-2_Nivalis/_import.txt
import: npc/020-3_Ice_cave/_import.txt
-import: npc/020-4_Ice_cave/_import.txt
import: npc/021-1_Tulimshar/_import.txt
import: npc/021-2_Tulimshar/_import.txt
import: npc/022-1_Tulimshar/_import.txt
@@ -57,8 +57,12 @@ import: npc/025-1_Woodland_Swamp/_import.txt
import: npc/026-1_Swamp/_import.txt
import: npc/027-1_Graveyard/_import.txt
import: npc/027-2_Caretakers_House/_import.txt
+import: npc/027-3/_import.txt
import: npc/028-1/_import.txt
import: npc/028-3/_import.txt
import: npc/029-1_Candor/_import.txt
import: npc/029-3_Fight_Cave/_import.txt
+import: npc/030-1_Snow_field/_import.txt
+import: npc/031-1_NivalisPort/_import.txt
+import: npc/031-3/_import.txt
import: npc/botcheck/_import.txt
diff --git a/npc/scripts.conf b/npc/scripts.conf
index acda50a6..660dedb7 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -73,3 +73,6 @@ import: npc/_import.txt
// Easter 2010
// 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
+
diff --git a/npc/xmas/2010/_import.txt b/npc/xmas/2010/_import.txt
new file mode 100644
index 00000000..e68c6992
--- /dev/null
+++ b/npc/xmas/2010/_import.txt
@@ -0,0 +1,2 @@
+npc: npc/xmas/2010/santa.txt
+npc: npc/xmas/2010/golbanez.txt
diff --git a/npc/xmas/2010/golbanez.txt b/npc/xmas/2010/golbanez.txt
new file mode 100644
index 00000000..5ee9999d
--- /dev/null
+++ b/npc/xmas/2010/golbanez.txt
@@ -0,0 +1,194 @@
+//#################################################################################
+//#
+//# Golbanez for Christmas 2010
+//#
+//# Authors: alastrim, PjotrOrial
+//#
+//# reviewed by:
+//#
+//# This is Golbanez, he took Santa Claus as a hostage.
+//# Santa will be freed on Dec24, so players need to pass a labyrinth
+//# if the players bring Golbanez stuff, santa will donate some other stuff to the players.
+//#
+//#################################################################################
+019-1.gat,96,41,0 script Golbenez-Debug 204,{
+
+ mes "What you want to do?";
+ menu
+ "Change $Golbenez_Santa_Free(Date of the Month)",-,
+ "Change Golbenez_Inn_Cost(Your Donations)",_cost,
+ "Clean all variables.",_clean,
+ "Nothing",_end;
+
+ mes "Old Value: " + $Golbenez_Santa_Free;
+ input $Golbenez_Santa_Free;
+ mes "New Value: " + $Golbenez_Santa_Free;
+ close;
+
+_cost:
+ mes "Old Value: " + Golbenez_Inn_Cost;
+ input Golbenez_Inn_Cost;
+ mes "New Value: " + Golbenez_Inn_Cost;
+ close;
+
+_clean:
+ mes "Golbenez_Inn_Cost Old Value: " + Golbenez_Inn_Cost;
+ set Golbenez_Inn_Cost, 0;
+ mes "Golbenez_Inn_Cost New Value: " + Golbenez_Inn_Cost;
+ mes "$Golbenez_Santa_Free Old Value: " + $Golbenez_Santa_Free;
+ set $Golbenez_Santa_Free, 0;
+ mes "$Golbenez_Santa_Free New Value: " + $Golbenez_Santa_Free;
+ close;
+
+_end:
+ close;
+
+}
+
+019-1.gat,93,41,0 script #Golbenez#_M 204,{
+ set $Golbenez_Santa_Free, gettime(5);
+
+ if (gettime(7) > 2010) set $Golbenez_Santa_Free, 25;
+
+ if ($Golbenez_Santa_Free >= 24 || gettime(7) > 2010) goto Glb_Inn_Enough;
+
+ mes "[Golbenez]";
+ mes "\"Mortal! I am Golbenez! I have broken through the barriers of space and time!\"";
+ next;
+ mes "\"Well to let you know, I am taking Santa Claus and rudolph and the fellow rendiers as hostages.\"";
+ next;
+ mes "\"This sounds hard to you maybe... But I need lots of stuff for building the way to the leisure place.";
+ next;
+ mes "\"So if you want to have donations at christmas... we should make a deal: Bring me money or presents.";
+ next;
+ mes "\"Maybe I will release Santa Claus and the rendiers then.\"";
+ next;
+ mes "\"Do you really expect a promise to let him free on christmas?\"";
+ next;
+ mes "\"Uhm well, then you should get away!\"";
+ next;
+ mes "\"So far, you have brought stuff and money in a total value of " + Golbenez_Inn_Cost + " gold pieces. The people of your world have brought me " + $Golbenez_Inn_Cost + " gold pieces. What do you like to give?\"";
+
+ menu
+ "I'd like to spend some money.", Glb_money,
+ "I'd like to give some blue presents.", -,
+ "I'd like to give some green presents.", -,
+ "I'd like to give some pink presents.", -,
+ "Why do you want present boxes?",Glb_whypresents,
+ "Can I bring other items?", Glb_otheritems,
+ "Nevermind.", Glb_nvm;
+
+ // in this array the items should be filled in
+ setarray @menuitem[2], 516, 538, 515;
+ setarray @menuvalue[2], 2000, 5000, 1000;
+
+ mes "\"How many presents do you want to give?\"";
+
+ input @count;
+
+ if (countitem(@menuitem[@menu]) < @count ) goto Glb_noitems;
+ delitem @menuitem[@menu], @count;
+ set @Give, (@count * @menuvalue[@menu]);
+ set @Gave_Presents, 1;
+ goto Glb_checkGlAn;
+
+Glb_money:
+ input @Give;
+
+ set @Give, @Give;
+
+ if (@Give <= 0) close;
+ if (zeny < @Give) goto Glb_Inn_NotEnoughZeny;
+
+Glb_checkGlAn:
+
+ // if the @Give amount is below 30% of the players money, just let him pay
+ if( @Give<10000 || ( 100 * @Give / zeny )<30 ) goto Golbenez_pay;
+
+ set @glob_an$ , "Golbenez: " + strcharinfo(0) + " accounted to free santa";
+
+ // depending on the absolute amount setup another global announcement.
+ if( @Give >1000000 ) goto Golbenez_an_5;
+ if( @Give > 500000 ) goto Golbenez_an_4;
+ if( @Give > 100000 ) goto Golbenez_an_3;
+ if( @Give > 72000 ) goto Golbenez_an_2;
+ if( @Give > 35500 ) goto Golbenez_an_1;
+
+ goto Golbenez_an;
+
+Golbenez_an_1:
+ set @glob_an$, @glob_an$ + " with a great effort.";
+ goto Golbenez_an;
+
+Golbenez_an_2:
+ set @glob_an$, @glob_an$ + " with a honest contribution.";
+ goto Golbenez_an;
+
+Golbenez_an_3:
+ set @glob_an$, @glob_an$ + " with a great effort. Such a generous person.";
+ goto Golbenez_an;
+
+Golbenez_an_4:
+ set @glob_an$, @glob_an$ + " with a remarkable effort. Impressive!";
+ goto Golbenez_an;
+
+Golbenez_an_5:
+ set @glob_an$, @glob_an$ + " with a huge effort. What a honorable donation!";
+ goto Golbenez_an;
+
+Golbenez_an:
+ announce @glob_an$, 0;
+
+Golbenez_pay:
+ set Golbenez_Inn_Cost, Golbenez_Inn_Cost + @Give;
+ set $Golbenez_Inn_Cost, $Golbenez_Inn_Cost + @Give;
+ if (@Gave_Presents == 1) close;
+ set zeny, zeny - @Give;
+ close;
+
+Glb_Inn_NotEnoughZeny:
+ mes "[Golbenez]";
+ mes "\"You don't have as much as you say you do. Come back when you can give the gold pieces you say you can.\"";
+ close;
+
+Glb_noitems:
+ mes "[Golbenez]";
+ mes "\"You don't have as many as you say you do. Come back when you have enough.\"";
+ close;
+
+Glb_nvm:
+ mes "[Golbenez]";
+ mes "\"That's too bad.\"";
+ close;
+
+Glb_whypresents:
+ mes "[Golbenez]";
+ mes "\"The presents contain some sort of spiritual attachment that aids in the creation of dimensional connections to this plane of existence. The green ones contain the stronger spiritual attachment, followed by the blue and then pink present boxes.\"";
+ next;
+ mes "\"Im willing to consider a conversion of each Present Box donated to an amount in Gold Pieces. So, a Green Present is equivalent to 5000 Gold Pieces, a Blue Present, 2000 Gold Pieces and a Pink Present, 1000 Gold Pieces.\"";
+ close;
+
+Glb_otheritems:
+ mes "[Golbenez]";
+ mes "\"No you cannot!\"";
+ next;
+ mes "\"I will not discuss any further, mortal!\"";
+ next;
+ mes "\"So bring me the needed stuff and maybe you get some stuff as a reward, little coward!\"";
+ close;
+
+Glb_Inn_Enough:
+ mes "[Golbenez]";
+ mes "\"Ok mortal!\"";
+ next;
+ mes "\"I have collected enough for now.\"";
+ next;
+ mes "\"This helps me working on the leisure place.\"";
+ next;
+ mes "\"Although I did not promise I let Santa be free again!\"";
+ next;
+ mes "\"He can be found in some cave around here.\"";
+ close;
+}
+
+
diff --git a/npc/xmas/2010/santa.txt b/npc/xmas/2010/santa.txt
new file mode 100644
index 00000000..4b95a142
--- /dev/null
+++ b/npc/xmas/2010/santa.txt
@@ -0,0 +1,160 @@
+//#################################################################################
+//#
+//# Santa for Christmas 2010
+//#
+//# Authors: alastrim, PjotrOrial
+//#
+//# reviewed by:
+//#
+//# This is Santa Claus.
+//# He was taken as hostage by golbanez, and now that he is free, he would like to
+//# give a reward for those who helped him.
+//#
+//#################################################################################
+
+031-3.gat,122,55,0 script Debug 105,{
+
+ mes "What do you want to do?";
+
+ menu
+ "Change Golbenez_Inn_Cost.",-,
+ "Change Xmas2010.",_xmas,
+ "Nothing.",_end;
+
+ mes "Old Value: " + Golbenez_Inn_Cost;
+ input Golbenez_Inn_Cost;
+ mes "New Value: " + Golbenez_Inn_Cost;
+ close;
+_xmas:
+ mes "Old Value: " + Xmas2010;
+ input Xmas2010;
+ mes "New Value: " + Xmas2010;
+ close;
+_end:
+ close;
+}
+
+031-3.gat,122,51,0 script Santa 105,{
+
+ if (Sex) set @honorific$, "young hero";
+ if (Sex) set @gender$, "boy";
+ if (!Sex) set @honorific$, "young heroine";
+ if (!Sex) set @gender$, "girl";
+ if (Xmas2010 == 1) goto L_Returning;
+ if (Xmas2010 == 2) goto L_Elfhat_Prize;
+ if (Xmas2010 == 3) goto L_Stocking_Prize;
+ if (Xmas2010 == 4) goto L_Event_Done;
+ if (Golbenez_Inn_Cost < 50000) goto L_No_Prizes;
+
+L_start:
+ mes "The old man's eyes open wide as he sees you.";
+ next;
+ mes "[Santa Claus]";
+ mes "\"Ho-Ho-ho! It is so good to see you here " +@honorific$+ "!\"";
+ next;
+ menu
+ "Im " + strcharinfo(0) + " and I am here to save you from Golbenez.",-;
+ mes "\"I cant believe it... are you really " +strcharinfo(0)+ "? I remember all the comments that... 'Thing' was making about building his way to a 'Leisure Place' and how your donations would really help him.\"";
+ next;
+ mes "\"What is his name again? Erh... Golbinos? Galvanis? Ho-hum... All I know is that it was keeping me and my fellow rendiers as hostages in this cold labyrinth. And you proved yourself a good " +@gender$+ " by helping me with all those donations!\"";
+ next;
+ if (gettime(6) != 12 || gettime(5) >= 25) goto L_Skip_Dialogue;
+ mes "\"Well, we are really late! In a few hours we have to start our usual present giving routine... But not before I give you a special gift for all you did.\"";
+ next;
+L_Skip_Dialogue:
+ mes "\"Let me see... From what I can remember, Galvenio said a " +@gender$+ " called " +strcharinfo(0)+ " donated a total of " +Golbenez_Inn_Cost+ " Golden Pieces!\"";
+ next;
+
+L_Calculate_Prizes:
+ getinventorylist;
+ if (@inventorylist_count == 100) goto L_full;
+ if (Golbenez_Inn_Cost >= 500000 && Golbenez_Inn_Cost < 1000000) goto L_Elfhat_Prize;
+ if (Golbenez_Inn_Cost >= 50000 && Golbenez_Inn_Cost < 500000) goto L_Stocking_Prize;
+ setarray @prizes[1], 1206, 1216, 629, 630, 634, 1214, 633, 628, 627, 621;
+ setarray @prizesnames$[1], "Santa Beard Hat", "Mouboo Head", "Mush Hat", "Shroom Hat", "Face Mask", "Bunny Ears", "Christmas Elf Hat", "Funky Hat", "Top Hat", "Eyepatch";
+ mes "\"You are so generous! I believe I can give you one of the hats from this bag. I know you like these silly hats. Yes, Santa knows this kind of thing... Ho-Ho-Ho! Which one would you like to get?\"";
+
+L_Menu_Choices:
+ menu
+ @prizesnames$[1],-,
+ @prizesnames$[2],-,
+ @prizesnames$[3],-,
+ @prizesnames$[4],-,
+ @prizesnames$[5],-,
+ @prizesnames$[6],-,
+ @prizesnames$[7],-,
+ @prizesnames$[8],-,
+ @prizesnames$[9],-,
+ @prizesnames$[10],-;
+
+ getitem @prizes[@menu], 1;
+ set Xmas2010, 1;
+ set Golbenez_Inn_Cost, 0;
+ next;
+
+L_Returning:
+ mes "[Santa Claus]";
+ mes "\"I hope you liked your gift.\"";
+ next;
+ menu
+ "Yes Santa, you are the best!",L_Close,
+ "Ehh, it is not what I expected.",L_Bad,
+ "I loved it! Can I have one more, please, please?",-;
+
+ mes "[Santa Claus]";
+ mes "\"Hmm... Why not? It would be terrible to deny a request from such a generous person.\"";
+ next;
+ set Xmas2010, 3;
+ goto L_Stocking_Prize;
+
+L_Elfhat_Prize:
+ set Xmas2010, 2;
+ getinventorylist;
+ if (@inventorylist_count == 100) goto L_full;
+ mes "[Santa Claus]";
+ mes "\"You worked really hard to help us... So, here, take this hat. It belongs to one of my assistants. No, no... No problem at all, I am sure he will be happy to know such a great person is going to use it.\"";
+ getitem 633, 1;
+ set Golbenez_Inn_Cost, 0;
+ set Xmas2010, 3;
+ next;
+
+L_Stocking_Prize:
+ getinventorylist;
+ if (@inventorylist_count == 100) goto L_full;
+ mes "[Santa Claus]";
+ mes "\"I would like to give you a personal item. It is not a hat, but something that will always make you remember how grateful I am.\"";
+ next;
+ mes "\"Here, take this. I have been using it for the last three months... It means a lot to me.\"";
+ getitem 1207, 1;
+ set Golbenez_Inn_Cost, 0;
+ set Xmas2010, 4;
+ close2;
+ percentheal -20, 0;
+ message strcharinfo(0), "You suddenly get dizzy... Something is not right with you. Maybe you shouldnt have put the Red Stocking so close to your face!";
+ end;
+
+L_Full:
+ mes "[Santa Claus]";
+ mes "\"Your backpack seems to be full. You should get rid of some unused stuff before you get my gifts, or maybe try one super resistant red bag, my personal favorite! Hoh-hoh!\"";
+ close;
+
+L_Close:
+ mes "[Santa Claus]";
+ mes "\"Ho, Ho... Ok, see you later " +@honorific$+ "!\"";
+ close;
+
+L_Bad:
+ mes "[Santa Claus]";
+ mes "\"Hmm... and I was thinking you were a good " +@gender$+ "! Dont be ungrateful and next time, think before you get a gift.\"";
+ close;
+
+L_Event_Done:
+ mes "[Santa Claus]";
+ mes "\"Hello again " +strcharinfo(0)+ "! I cant chat with you right now, because we are really late for Christmas, but, when it is over, you will always be welcome in my house for a hot chocolate.\"";
+ close;
+
+L_No_Prizes:
+ mes "[Santa Claus]";
+ mes "\"Hi " +strcharinfo(0)+ "... Looks like you did not work really hard to set me free...\"";
+ close;
+}