summaryrefslogtreecommitdiff
path: root/npc/006-1_Desert_mountains
diff options
context:
space:
mode:
authortoni <toni@toni-EP45-UD3L.(none)>2011-01-18 23:48:12 -0200
committertoni <toni@toni-EP45-UD3L.(none)>2011-01-18 23:48:12 -0200
commit4d25d8787690193036661cdb877c45241b4a9441 (patch)
treefed9e3ffa4eb5c5eba6992c242c0cd68bca77e1c /npc/006-1_Desert_mountains
parentfb430bbd33fedc55ab5a642a0efb8df164c4ac8a (diff)
downloadserverdata-4d25d8787690193036661cdb877c45241b4a9441.tar.gz
serverdata-4d25d8787690193036661cdb877c45241b4a9441.tar.bz2
serverdata-4d25d8787690193036661cdb877c45241b4a9441.tar.xz
serverdata-4d25d8787690193036661cdb877c45241b4a9441.zip
Add a Check to see if the player have used the magic house warp.
Correcting a critical bug. If the player fails in the run, he is presented with the initial menu again, since there is no conditional for QUEST_MIRIAM == 5.
Diffstat (limited to 'npc/006-1_Desert_mountains')
-rw-r--r--npc/006-1_Desert_mountains/pachua.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/006-1_Desert_mountains/pachua.txt b/npc/006-1_Desert_mountains/pachua.txt
index 9fa6ad14..25e961d3 100644
--- a/npc/006-1_Desert_mountains/pachua.txt
+++ b/npc/006-1_Desert_mountains/pachua.txt
@@ -4,8 +4,10 @@
set @wants_leather_patch, QUEST_Forestbow_state & NIBBLE_4_MASK;
+ if (QUEST_MIRIAM_cheat != 0) goto L_warp_cheat;
if (QUEST_MIRIAM_start != 0) goto L_smoke;
+L_Begin:
mes "[Chief Pachua]";
mes "\"How!\"";
next;
@@ -203,4 +205,10 @@ L_smoke:
set QUEST_MIRIAM_run, gettimetick(1) - QUEST_MIRIAM_start;
set QUEST_MIRIAM_start, 0;
end;
+
+L_warp_cheat:
+ if (@warp_cheat == 1) goto L_Begin;
+ message strcharinfo(0), "Pachua releases a ring of smoke towards the sky! But, by the look on his face, you can tell he is suspicious about your methods...";
+ set @warp_cheat, 1;
+ end;
}