From 88929e74e284e649eb32b2a923f819c35ecccbf6 Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 20 Oct 2014 04:33:58 +0200 Subject: Removed use of 'checkquest' from scripts (pre-re folder) Signed-off-by: Haru --- npc/pre-re/quests/collection/quest_goat.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'npc/pre-re/quests/collection/quest_goat.txt') diff --git a/npc/pre-re/quests/collection/quest_goat.txt b/npc/pre-re/quests/collection/quest_goat.txt index 292a38459..ee5c33f54 100644 --- a/npc/pre-re/quests/collection/quest_goat.txt +++ b/npc/pre-re/quests/collection/quest_goat.txt @@ -13,8 +13,8 @@ //============================================================ ein_fild06,82,171,0 script Vegetable Farmer#Goat 4_F_SHABBY,{ - if (checkquest(60137) != -1) { - if (checkquest(60137,HUNTING) != 2 ) { + if (questprogress(60137)) { + if (questprogress(60137,HUNTING) != 2) { mes "[Vegetable Farmer]"; mes "Have you finished hunting the 50 Goats?"; next; @@ -53,8 +53,8 @@ ein_fild06,82,171,0 script Vegetable Farmer#Goat 4_F_SHABBY,{ close; } } - if (checkquest(60138) != -1) { - if (checkquest(60138,HUNTING) != 2) { + if (questprogress(60138)) { + if (questprogress(60138,HUNTING) != 2) { mes "[Vegetable Farmer]"; mes "Have you finished hunting the 100 Goats?"; next; @@ -94,8 +94,8 @@ ein_fild06,82,171,0 script Vegetable Farmer#Goat 4_F_SHABBY,{ close; } } - if (checkquest(60139) != -1) { - if (checkquest(60139,HUNTING) != 2) { + if (questprogress(60139)) { + if (questprogress(60139,HUNTING) != 2) { mes "[Vegetable Farmer]"; mes "Have you finished hunting the 150 Goats?"; next; -- cgit v1.2.3-70-g09d2