From d6b5551bff867250edcdc36455ef32844ee2b935 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 4 Nov 2014 20:23:22 +0300 Subject: convert server data for using with hercules. --- npc/000-2-2/_import.txt | 1 - npc/000-2-2/doors.txt | 10 ++++++---- npc/000-2-2/mapflags.txt | 2 +- npc/000-2-2/ratto.txt | 3 ++- 4 files changed, 9 insertions(+), 7 deletions(-) (limited to 'npc/000-2-2') 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"; -- cgit v1.2.3-70-g09d2