diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-04 20:23:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-04 22:56:41 +0300 |
commit | d6b5551bff867250edcdc36455ef32844ee2b935 (patch) | |
tree | 16acaf1c9a81b58ceb21bc4524a087c14f23735f /npc/000-2-2 | |
parent | 905dada713af49bb610177c4842685628a1c0a97 (diff) | |
download | serverdata-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.txt | 1 | ||||
-rw-r--r-- | npc/000-2-2/doors.txt | 10 | ||||
-rw-r--r-- | npc/000-2-2/mapflags.txt | 2 | ||||
-rw-r--r-- | npc/000-2-2/ratto.txt | 3 |
4 files changed, 9 insertions, 7 deletions
diff --git a/npc/000-2-2/_import.txt b/npc/000-2-2/_import.txt index 81eca12e..5dcd9f0d 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 0cb55416..dab5c6b1 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 94dd619e..7c2293e9 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 c950f28b..1daca2e4 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"; |