summaryrefslogtreecommitdiff
path: root/npc/014-4
diff options
context:
space:
mode:
Diffstat (limited to 'npc/014-4')
-rw-r--r--npc/014-4/kamelot.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/014-4/kamelot.txt b/npc/014-4/kamelot.txt
index 404df254a..7911f31fe 100644
--- a/npc/014-4/kamelot.txt
+++ b/npc/014-4/kamelot.txt
@@ -74,7 +74,7 @@ OnTouch:
if ($KAMELOT_COOLDOWN[.@g] < gettimeparam(GETTIME_WEEKDAY)) {
KamelotCleanup(.@g);
} else {
- dispbottom l("The gates are firmly shut by some weird magical power.");
+ dispbottom l("The gates are firmly shut by some weird magical power. %s", (TUTORIAL ? l("Perhaps we should wait a few days."):""));
end;
}
}
@@ -97,7 +97,7 @@ OnTouch:
instance_attachmap("042-9", .@inst, .@g, "042-9@"+.@g);
instance_attachmap("042-10", .@inst, .@g, "042-10@"+.@g);
instance_attachmap("042-11", .@inst, .@g, "042-11@"+.@g);
- instance_set_timeout(0, 0, .@inst); // FIXME: Bad Idea?
+ instance_set_timeout(21600, 21600, .@inst); // Instance lasts 6 hours
instance_init(.@inst);
$@KAMELOT_ID[.@g] = .@inst;
}
@@ -105,6 +105,8 @@ OnTouch:
// You can enter in every other state
if (is_admin())
warp "042-0@"+.@g, any(59, 60), 80;
+ // Renew the instance clock : 6 hours
+ instance_set_timeout(21600, 21600, $@KAMELOT_ID[.@g]);
end;
// Debug is only allowed if server is in override mode