summaryrefslogtreecommitdiff
path: root/npc/002-3/doors.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-05 01:20:44 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-05 01:20:44 -0300
commitffd4b2f879843aad88c7d5aa31ac1ee583ee3036 (patch)
treeecbb1c244d7cb6ce3954083606784b53e977886b /npc/002-3/doors.txt
parent5a6cac82e58ee14c58ad27483a38c1cb6b11a127 (diff)
downloadserverdata-ffd4b2f879843aad88c7d5aa31ac1ee583ee3036.tar.gz
serverdata-ffd4b2f879843aad88c7d5aa31ac1ee583ee3036.tar.bz2
serverdata-ffd4b2f879843aad88c7d5aa31ac1ee583ee3036.tar.xz
serverdata-ffd4b2f879843aad88c7d5aa31ac1ee583ee3036.zip
Warn players below level 30 that disembarking at Tulimshar during a siege might
be a bad idea. Nard's ship only.
Diffstat (limited to 'npc/002-3/doors.txt')
-rw-r--r--npc/002-3/doors.txt18
1 files changed, 17 insertions, 1 deletions
diff --git a/npc/002-3/doors.txt b/npc/002-3/doors.txt
index d6f6b5135..08f7fa94a 100644
--- a/npc/002-3/doors.txt
+++ b/npc/002-3/doors.txt
@@ -24,10 +24,26 @@ OnTouch:
close;
}
if (LOCATION$ == "Tulim") {
+ if ($@MK_SCENE == MK_SIEGE_TULIM && BaseLevel < 30) {
+ showavatar NPC_NARD;
+ setcamnpc "Nard";
+ mesn l("Nard");
+ mesc l("The Monster Army is currently sieging Tulimshar. There are hundreds of dangerous monsters out there right now."), 1;
+ next;
+ mesn l("Nard");
+ mesc l("I would advise you to remain here in the ship, they should leave in a few minutes, but I will not force you."), 1;
+ next;
+ mesn l("Nard");
+ mesc l("Just beware that if you leave, you might get killed really quickly. No death penalty, though."), 1;
+ next;
+ mesc l("Leave the ship? The town have no death penalty and is under a global event."), 1;
+ if (askyesno() == ASK_NO)
+ close;
+ }
warp "003-1", 81, 68;
close;
}
- debugmes "Script error: 002-3 door";
+ Exception("Script error: 002-3 door");
close;