diff options
Diffstat (limited to 'npc/018-2-2/main.txt')
-rw-r--r-- | npc/018-2-2/main.txt | 25 |
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; +} + |