summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2025-01-12 00:03:48 -0300
committerJesusaves <cpntb1@ymail.com>2025-01-12 00:03:48 -0300
commit47647a8adfaeaac96e958f3a0d342c454a5b66e2 (patch)
treed2876f6b2eba51b17ba9796882eef02295bdfa18
parent0cf427812ff7d79fed6ed7af171861f540164007 (diff)
downloadserverdata-47647a8adfaeaac96e958f3a0d342c454a5b66e2.tar.gz
serverdata-47647a8adfaeaac96e958f3a0d342c454a5b66e2.tar.bz2
serverdata-47647a8adfaeaac96e958f3a0d342c454a5b66e2.tar.xz
serverdata-47647a8adfaeaac96e958f3a0d342c454a5b66e2.zip
If the Assassin reaches the Professor, he's adequately assassinated.
-rw-r--r--npc/003-0/mainquest.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/npc/003-0/mainquest.txt b/npc/003-0/mainquest.txt
index 1a8a97ac7..dfc8f2763 100644
--- a/npc/003-0/mainquest.txt
+++ b/npc/003-0/mainquest.txt
@@ -148,13 +148,20 @@ OnInstanceInit:
end;
}
-003-0,49,24,4 script Professor#003-0 NPC_PLAYER,{
+003-0,49,24,4 script Professor#003-0 NPC_PLAYER,0,0,{
npctalkonce l("I wonder if it'll take too long for the ship to arrive...");
end;
+OnTouch:
+ end;
+
+// You fail if a monster touches the Professor.
OnTouchNPC:
- npctalk l("An error happened: professor_was_assasinated() error");
- npctalk ("SCRIPT ERROR (OnTouch Game Over)");
+ if (@ASSASSIN > 0)
+ delcells "MQ2Wall"+getcharid(0);
+ killmonsterall(getmap());
+ warp "003-9", 36, 47;
+ dispbottom l("You wake up in a jolt. The Professor was definitely assassinated on your nightmare.");
end;
OnInit: