blob: 05d73e89db5f34a42fbd50a8ab243be5948d8970 (
plain) (
tree)
|
|
// 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;
}
|