// TMW2 scripts.
// Author:
// Jesusalva
// Description:
// The Impregnable Fortress Control Files
// Quest: General_Fortress
// (MaxFloor+2, internal, internal)
// This script must set 026-5 up on init, and refresh it when needed
// This one also contains a blackbox
- script Impregnable#B5F NPC_HIDDEN,{
end;
// On Tuesday, the map changes
//OnTue0000:
OnMon2358:
if (!.InstId) end;
// TODO: Reload .InstId
killmonsterall("026-5");
MazeMobs(145, false, 7, "026-5"); // Initiate Lv 145 mobs
end;
// Initialize the dungeon
OnInit:
.InstId = false;
sleep(7000); // Delay 7s before initialization
.InstId = CreateMaze(IOT_NONE, MAZE_SIZE_A, "026-5");
instance_set_timeout(0, 0, .InstId);
instance_init(.InstId);
debugmes "Impregnable Fortress B5F (%d): Init OK", .InstId;
MazeMobs(145, false, 7, "026-5"); // Initiate Lv 145 mobs
setmapflag("026-5", mf_zone, "SuperMMO");
// TODO: Add the utilities
end;
}