summaryrefslogtreecommitdiff
path: root/npc/re/warps/cities
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2016-08-28 17:03:57 +0100
committerhemagx <ibrahem.h.basyone@gmail.com>2016-08-29 01:03:42 +0200
commit86977d79269408a371384e61111c3a9cf6e87b0c (patch)
tree4f2a9b1f9a3ee6436a0b857d05caa2be7e99a877 /npc/re/warps/cities
parent16f998c8a79153ed9f6721c36e129b6080fa59d2 (diff)
downloadhercules-86977d79269408a371384e61111c3a9cf6e87b0c.tar.gz
hercules-86977d79269408a371384e61111c3a9cf6e87b0c.tar.bz2
hercules-86977d79269408a371384e61111c3a9cf6e87b0c.tar.xz
hercules-86977d79269408a371384e61111c3a9cf6e87b0c.zip
*strnpcinfo now uses constants
- NPC_NAME for the whole npc name including hidden part - NPC_NAME_VISIBLE for the visible part of the npc name - NPC_NAME_HIDDEN for the hidden part of the npc name - NPC_NAME_UNIQUE for the npc unique name - NPC_MAP for npc map
Diffstat (limited to 'npc/re/warps/cities')
-rw-r--r--npc/re/warps/cities/dicastes.txt2
-rw-r--r--npc/re/warps/cities/izlude.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/re/warps/cities/dicastes.txt b/npc/re/warps/cities/dicastes.txt
index e9b90614c..862765d9a 100644
--- a/npc/re/warps/cities/dicastes.txt
+++ b/npc/re/warps/cities/dicastes.txt
@@ -66,7 +66,7 @@ dic_in01,242,182,0 script #eldicastes0016 CLEAR_NPC,{
// Elevators
- script Elevator#main FAKE_NPC,{
- .@n = atoi(strnpcinfo(2));
+ .@n = atoi(strnpcinfo(NPC_NAME_HIDDEN));
.@eq = (isequipped(2782))?1:0;
if (.@n <= 4) {
.@m$ = (.@eq)?"Civil Services:Archive Room:Situation Room:Administrative Office":"¢³¡ð¡Ð:¡ñ¡ñ¡ò:¡ø¡ø¡ð:¡÷¡ú¡ð";
diff --git a/npc/re/warps/cities/izlude.txt b/npc/re/warps/cities/izlude.txt
index a6229d25b..a8062d578 100644
--- a/npc/re/warps/cities/izlude.txt
+++ b/npc/re/warps/cities/izlude.txt
@@ -87,7 +87,7 @@ iz_int,96,73,0 script iz_int_iz WARPNPC,2,2,{
OnTouch:
savepoint "izlude", 128, 98;
- warp "izlude"+strnpcinfo(2)+"", 195, 209;
+ warp "izlude"+strnpcinfo(NPC_NAME_HIDDEN)+"", 195, 209;
end;
}