diff options
Diffstat (limited to 'npc/001-2-34/doors.txt')
-rw-r--r-- | npc/001-2-34/doors.txt | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/npc/001-2-34/doors.txt b/npc/001-2-34/doors.txt deleted file mode 100644 index 6161dfa4..00000000 --- a/npc/001-2-34/doors.txt +++ /dev/null @@ -1,29 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Omatt -// Toams -// Jesus -// Description: -// Doors NPCs. - -001-2-34,23,29,0 script ToTrainingRoom#001-2-34 NPC_HIDDEN,0,0,{ -OnTouch: - - .@q2=getq2(ArtisQuests_TrainingLegion); - // Map name limit: 4 chars (atl1) - .@mapn$="atl1@"+getcharid(0); - if (isinstance(.@q2) && .@q2 > 0) { - warp .@mapn$, 36, 30; - } else { - .@inst = instance_create("Training Room "+getcharid(0), getcharid(3), IOT_CHAR); - instance_attachmap("001-2-36", .@inst, false, .@mapn$); - // 30 minutes (1800s) inside, or 5 minutes (300s) outside - instance_set_timeout(1800, 300, .@inst); - instance_init(.@inst); - setq2 ArtisQuests_TrainingLegion, .@inst; - warp .@mapn$, 36, 30; - } - - end; -} |