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/doors.txt | |
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/doors.txt')
-rw-r--r-- | npc/000-2-2/doors.txt | 10 |
1 files changed, 6 insertions, 4 deletions
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."), -; |