summaryrefslogtreecommitdiff
path: root/npc/quests/quests_alberta.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-20 04:20:29 +0200
committerHaru <haru@dotalux.com>2014-10-28 00:27:54 +0100
commit32169c383f2658192b6b8cb02d7f818a361dda03 (patch)
treeff1f1d902920d922b74eb879070e8c9973daa0dd /npc/quests/quests_alberta.txt
parent3e395756f10befe9aa0707169d8af7897706eb93 (diff)
downloadhercules-32169c383f2658192b6b8cb02d7f818a361dda03.tar.gz
hercules-32169c383f2658192b6b8cb02d7f818a361dda03.tar.bz2
hercules-32169c383f2658192b6b8cb02d7f818a361dda03.tar.xz
hercules-32169c383f2658192b6b8cb02d7f818a361dda03.zip
Removed use of 'checkquest' from scripts (common folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/quests/quests_alberta.txt')
-rw-r--r--npc/quests/quests_alberta.txt11
1 files changed, 4 insertions, 7 deletions
diff --git a/npc/quests/quests_alberta.txt b/npc/quests/quests_alberta.txt
index 1d2e61da3..a26c9c5f0 100644
--- a/npc/quests/quests_alberta.txt
+++ b/npc/quests/quests_alberta.txt
@@ -2493,8 +2493,7 @@ alberta_in,131,95,5 script Iromo#ep3_2 4_M_KID1,{
close;
}
if (ep13_2_hiki == 10) {
- set .@cooltime,checkquest(10087,PLAYTIME);
- if (.@cooltime == 2) {
+ if (questprogress(10087,PLAYTIME) == 2) {
mes "[Iromo]";
mes "...You really are annoying...";
mes "What exactly do you want from me...?";
@@ -2581,8 +2580,7 @@ alberta_in,131,95,5 script Iromo#ep3_2 4_M_KID1,{
close;
}
if ((ep13_2_hiki == 8) || (ep13_2_hiki == 9)) {
- set .@cooltime,checkquest(10085,PLAYTIME);
- if (.@cooltime == 2) {
+ if (questprogress(10085,PLAYTIME) == 2) {
mes "[Iromo]";
mes "You never give up, don't you?";
mes "What are you trying to say?";
@@ -2620,8 +2618,7 @@ alberta_in,131,95,5 script Iromo#ep3_2 4_M_KID1,{
close;
}
if (ep13_2_hiki == 7) {
- set .@goyang,checkquest(10084,HUNTING);
- if (.@goyang == 2) {
+ if (questprogress(10084,HUNTING) == 2) {
mes "[Iromo]";
mes "Oh, you made the furious cat";
mes "go away from the village?";
@@ -2831,7 +2828,7 @@ alberta_in,120,93,3 script Iromo's Mother#ep3_2 1_M_INNKEEPER,{
mes "But, somehow...";
mes "he doesn't go out anymore.";
next;
- if (BaseLevel > 40 && checkquest(10079) == -1) {
+ if (BaseLevel > 40 && !questprogress(10079)) {
set ep13_2_hiki,1;
setquest 10079;
}