From 86977d79269408a371384e61111c3a9cf6e87b0c Mon Sep 17 00:00:00 2001 From: Asheraf Date: Sun, 28 Aug 2016 17:03:57 +0100 Subject: *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 --- npc/re/quests/eden/121-130.txt | 4 ++-- npc/re/quests/eden/eden_common.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/re/quests/eden') 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; -- cgit v1.2.3-70-g09d2