From bba3e690de390f1576d70f227f76b4721ac3a010 Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 21 Oct 2014 21:03:46 +0200 Subject: Removed use of 'checkquest' from scripts (re folder) Signed-off-by: Haru --- npc/re/quests/eden/26-40.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'npc/re/quests/eden/26-40.txt') diff --git a/npc/re/quests/eden/26-40.txt b/npc/re/quests/eden/26-40.txt index a4f0d5637..3ff9f5213 100644 --- a/npc/re/quests/eden/26-40.txt +++ b/npc/re/quests/eden/26-40.txt @@ -84,7 +84,7 @@ L_Quest: mes "You have declined the "+getarg(2)+" mission."; close; } - if (checkquest(getarg(0)) > -1) mes "You are already doing this mission."; + if (questprogress(getarg(0))) mes "You are already doing this mission."; else { setquest getarg(0); mes "You have accepted the "+getarg(2)+" mission."; @@ -134,8 +134,8 @@ geffen,103,42,5 script Sponiac 4W_M_03,{ end; L_Quest: //QuestID,Quest,BExp,JExp,PotionAmt,Desc - if (checkquest(getarg(0)) == 1) { - if (checkquest(getarg(0),HUNTING) == 2) { + if (questprogress(getarg(0)) == 1) { + if (questprogress(getarg(0),HUNTING) == 2) { mes "[Sponiac]"; mes getarg(1)+"!"; mes "Wow, I didn't expect you would do that mission. I was just about to give up. But you did good job. I appreciate it!"; @@ -209,7 +209,7 @@ moc_ruins,173,55,3 script Dieshin Man 4_M_ORIENT02,{ } end; L_Quest: - if (checkquest(getarg(0)) != 1) { + if (questprogress(getarg(0)) != 1) { mes "[Dieshin Man]"; mes "Huh? Are you sure? Something is wrong..."; next; @@ -281,7 +281,7 @@ pay_fild07,83,89,7 script Zoologist 4_M_ORIENT02,{ mes "Oh, I need an Insecticide to continue the study."; close; } - if (checkquest(8271) != 1) { + if (questprogress(8271) != 1) { mes "[Zoologist]"; mes "Huh?"; mes "You are not Dieshin's delivery man?"; @@ -346,7 +346,7 @@ prt_fild03,30,254,3 script Entomologist 4_M_01,{ mes "Oh, I need Honey to continue the study."; close; } - if (checkquest(8272) != 1) { + if (questprogress(8272) != 1) { mes "[Entomologist]"; mes "Huh?"; mes "You are not Dieshin's delivery man?"; @@ -411,7 +411,7 @@ xmas_fild01,92,57,3 script Biologist 4W_M_01,{ mes "Huh, whatever. But be careful! It's very slippery here."; close; } - if (checkquest(8273) != 1) { + if (questprogress(8273) != 1) { mes "[Biologist]"; mes "Huh?"; mes "You are not Dieshin's delivery man?"; @@ -645,7 +645,7 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{ mes "Anyway, I will be here waiting for you. Please come back when you finish the mission!"; close; L_Quest: - if (checkquest(getarg(0)) != 1) { + if (questprogress(getarg(0)) != 1) { mes "[Dashia]"; mes "Huh? Are you sure? Something is wrong..."; next; -- cgit v1.2.3-70-g09d2