summaryrefslogtreecommitdiff
path: root/npc/000-2-2
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-04 20:23:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-04 22:56:41 +0300
commitd6b5551bff867250edcdc36455ef32844ee2b935 (patch)
tree16acaf1c9a81b58ceb21bc4524a087c14f23735f /npc/000-2-2
parent905dada713af49bb610177c4842685628a1c0a97 (diff)
downloadserverdata-d6b5551bff867250edcdc36455ef32844ee2b935.tar.gz
serverdata-d6b5551bff867250edcdc36455ef32844ee2b935.tar.bz2
serverdata-d6b5551bff867250edcdc36455ef32844ee2b935.tar.xz
serverdata-d6b5551bff867250edcdc36455ef32844ee2b935.zip
convert server data for using with hercules.
Diffstat (limited to 'npc/000-2-2')
-rw-r--r--npc/000-2-2/_import.txt1
-rw-r--r--npc/000-2-2/doors.txt10
-rw-r--r--npc/000-2-2/mapflags.txt2
-rw-r--r--npc/000-2-2/ratto.txt3
4 files changed, 9 insertions, 7 deletions
diff --git a/npc/000-2-2/_import.txt b/npc/000-2-2/_import.txt
index 81eca12ef..5dcd9f0d3 100644
--- a/npc/000-2-2/_import.txt
+++ b/npc/000-2-2/_import.txt
@@ -1,5 +1,4 @@
// Map 000-2-2: La Johanne, Hold
-map: 000-2-2.gat
npc: npc/000-2-2/doors.txt
npc: npc/000-2-2/mapflags.txt
npc: npc/000-2-2/ratto.txt
diff --git a/npc/000-2-2/doors.txt b/npc/000-2-2/doors.txt
index 0cb554168..dab5c6b1c 100644
--- a/npc/000-2-2/doors.txt
+++ b/npc/000-2-2/doors.txt
@@ -6,10 +6,11 @@
// Description:
// Doors NPCs.
-000-2-2.gat,48,29,0,1 script DoorUpwards 0,0,0,{
+// Gender = 1
+000-2-2,48,29,0 script DoorUpwards 32767,0,0,{
OnTouch:
- if (getmapmobs("000-2-2.gat") > 0) goto L_Warn;
+ if (mobcount("000-2-2.gat","all") > 0) goto L_Warn;
goto L_Warp;
@@ -35,7 +36,8 @@ L_Warp:
close;
}
-000-2-2.gat,24,31,0,1 script LeftDoor 0,0,0,{
+// Gender = 1
+000-2-2,24,31,0 script LeftDoor 32767,0,0,{
OnTouch:
mesn "Narrator";
@@ -45,7 +47,7 @@ OnTouch:
next;
menu
- rif(countitem("JohanneKey") > 0, l("Use the key.")), L_Warp,
+ rif(countitemcolor("JohanneKey") > 0, l("Use the key.")), L_Warp,
l("Break the door."), L_Break,
l("Go away."), -;
diff --git a/npc/000-2-2/mapflags.txt b/npc/000-2-2/mapflags.txt
index 94dd619e7..7c2293e9a 100644
--- a/npc/000-2-2/mapflags.txt
+++ b/npc/000-2-2/mapflags.txt
@@ -1 +1 @@
-000-2-2.gat mapflag nosave 000-2-1,61,36
+000-2-2 mapflag nosave 000-2-1,61,36
diff --git a/npc/000-2-2/ratto.txt b/npc/000-2-2/ratto.txt
index c950f28b1..1daca2e43 100644
--- a/npc/000-2-2/ratto.txt
+++ b/npc/000-2-2/ratto.txt
@@ -17,7 +17,8 @@
// [8] = Shows how many seconds passed since ratto number 4 died.
// [9] = Shows how many seconds passed since the player started the quest.
-000-2-2.gat,47,30,0,1 script RattosControl 32767,{
+// Gender = 1
+000-2-2,47,30,0 script RattosControl 32767,{
OnSpawn:
areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto1Death";