From 11ae24341220403175a535e9bf971fbe3a850e47 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 8 Jun 2018 01:31:21 -0300 Subject: compareandsetq HurnscaldQuest_Celestia so you can't warp around ignoring the quest. --- npc/001-6/warp.txt | 4 ++-- npc/soren/main.txt | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/npc/001-6/warp.txt b/npc/001-6/warp.txt index ceb19c8d8..b0e387911 100644 --- a/npc/001-6/warp.txt +++ b/npc/001-6/warp.txt @@ -18,8 +18,8 @@ OnTouch: OnWarper: @SorenWarpOnline=0; - if (isin("001-6", 159, 157, 159, 157)) { - if (!ispcdead()) + if (isin("001-6", 159, 157, 159, 157) && !ispcdead()) { + compareandsetq HurnscaldQuest_Celestia, 2, 3; warp "soren", 179, 76; } else { dispbottom l("Failed to warp to Soren Village."); diff --git a/npc/soren/main.txt b/npc/soren/main.txt index e7eb63f93..8934f33b4 100644 --- a/npc/soren/main.txt +++ b/npc/soren/main.txt @@ -21,6 +21,12 @@ // This way, I could use @cast_places to control stuff. // // Obviously NPC variables was more sane. +// +// The use of compareandsetq HurnscaldQuest_Celestia, 2, 3; +// Ensures you're NOT capable of skipping to final stage in order to finish +// the quest. Nice attempt, but that won't work. The scripts will advance, +// but you'll stay at the same quest state, and when it's checked, you will +// be with bound hands. soren,105,57,0 script Soren's House NPC_NO_SPRITE,0,0,{ end; -- cgit v1.2.3-60-g2f50