summaryrefslogtreecommitdiff
path: root/npc/018-2-2/main.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-19 02:22:00 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-19 02:22:00 -0200
commit3363d32d83c8c5ffc95cca80f282d520029af4fa (patch)
treeed59781a5d385c7317d2e622bb12fbea52c46623 /npc/018-2-2/main.txt
parent643f1a9701751de282cd4bb17a90ac6583fec91d (diff)
downloadserverdata-3363d32d83c8c5ffc95cca80f282d520029af4fa.tar.gz
serverdata-3363d32d83c8c5ffc95cca80f282d520029af4fa.tar.bz2
serverdata-3363d32d83c8c5ffc95cca80f282d520029af4fa.tar.xz
serverdata-3363d32d83c8c5ffc95cca80f282d520029af4fa.zip
Some Heroes Hold critical files
Diffstat (limited to 'npc/018-2-2/main.txt')
-rw-r--r--npc/018-2-2/main.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/npc/018-2-2/main.txt b/npc/018-2-2/main.txt
new file mode 100644
index 000000000..05d73e89d
--- /dev/null
+++ b/npc/018-2-2/main.txt
@@ -0,0 +1,25 @@
+// TMW2/LoF scripts.
+// Authors:
+// TMW-LoF Team
+// Jesusalva
+// Description:
+// Controls the four first levels from Heroes Hold
+
+018-2-2,0,0,0 script #HH_CONTROLLER01 NPC_HIDDEN,{
+ end;
+
+OnPlayerCycle:
+ @HH_TIMER+=1;
+ // 20 minutes have passed. This should be 40 minutes, but the HH is not finished yet
+ if (@HH_TIMER >= 2400) {
+ warp "018-2-1", 0, 0;
+ dispbottom l("You were rescued by DUSTMAN.");
+ end;
+ }
+ // TODO: Handle traps (We'll use isin() command because you can give 3~4 steps each counter)
+
+ // Continue the execution
+ addtimer(500, "#HH_CONTROLLER01::OnPlayerCycle");
+ end;
+}
+