From 3363d32d83c8c5ffc95cca80f282d520029af4fa Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 19 Dec 2018 02:22:00 -0200 Subject: Some Heroes Hold critical files --- npc/018-2-2/_import.txt | 1 + npc/018-2-2/main.txt | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 npc/018-2-2/main.txt (limited to 'npc/018-2-2') diff --git a/npc/018-2-2/_import.txt b/npc/018-2-2/_import.txt index f47185ee5..83e89e8b6 100644 --- a/npc/018-2-2/_import.txt +++ b/npc/018-2-2/_import.txt @@ -1,2 +1,3 @@ // Map 018-2-2: Heroes Hold - Main Dungeon // This file is generated automatically. All manually added changes will be removed when running the Converter. +"npc/018-2-2/main.txt", 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; +} + -- cgit v1.2.3-70-g09d2