summaryrefslogtreecommitdiff
path: root/npc/re/quests/eden
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/quests/eden
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/quests/eden')
-rw-r--r--npc/re/quests/eden/121-130.txt4
-rw-r--r--npc/re/quests/eden/eden_common.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/npc/re/quests/eden/121-130.txt b/npc/re/quests/eden/121-130.txt
index 77b7c26b2..32fbdeb26 100644
--- a/npc/re/quests/eden/121-130.txt
+++ b/npc/re/quests/eden/121-130.txt
@@ -779,8 +779,8 @@ S_Erasequest2:
}
- script Trace of an adventurer FAKE_NPC,{
- .@quest = 13106 + atoi(strnpcinfo(2));
- .@delay = 13110 + atoi(strnpcinfo(2));
+ .@quest = 13106 + atoi(strnpcinfo(NPC_NAME_HIDDEN));
+ .@delay = 13110 + atoi(strnpcinfo(NPC_NAME_HIDDEN));
if (questprogress(.@quest) == 1) {
mes "I found traces of someone who was here but I cannot find a clue. Lets go back and report to Aigu.";
erasequest .@quest;
diff --git a/npc/re/quests/eden/eden_common.txt b/npc/re/quests/eden/eden_common.txt
index 9100e74bc..2e37eeb6f 100644
--- a/npc/re/quests/eden/eden_common.txt
+++ b/npc/re/quests/eden/eden_common.txt
@@ -218,7 +218,7 @@ moc_para01,27,35,5 script Secretary Lime Evenor 4_F_EDEN_OFFICER,{
case 1:
mes "[Eden Teleport Officer]";
mes "Let's go to our secret base!";
- nak_warp = strnpcinfo(2);
+ nak_warp = strnpcinfo(NPC_NAME_HIDDEN);
close2;
warp "moc_para01",31,14;
end;