summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-08 01:31:21 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-08 01:31:21 -0300
commit11ae24341220403175a535e9bf971fbe3a850e47 (patch)
tree5b25bdf09be1600bdeec9b2669c60d5e2254970a /npc
parentc8197a3dcd207b01a083e4c3052117c08e62f3ad (diff)
downloadserverdata-11ae24341220403175a535e9bf971fbe3a850e47.tar.gz
serverdata-11ae24341220403175a535e9bf971fbe3a850e47.tar.bz2
serverdata-11ae24341220403175a535e9bf971fbe3a850e47.tar.xz
serverdata-11ae24341220403175a535e9bf971fbe3a850e47.zip
compareandsetq HurnscaldQuest_Celestia so you can't warp around ignoring the quest.
Diffstat (limited to 'npc')
-rw-r--r--npc/001-6/warp.txt4
-rw-r--r--npc/soren/main.txt6
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;