summaryrefslogtreecommitdiff
path: root/npc/001-2-32/doors.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-09 13:33:57 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-09 13:33:57 -0300
commitcf18ce071c79ae37e14ea38943e0b1d88da70a7b (patch)
treef9159c9b60b3018300dd22ffba0d797bc5e828e5 /npc/001-2-32/doors.txt
parent8a4bf716002a017de77fe7df301ef8e4aaf00a2e (diff)
downloadserverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.gz
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.bz2
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.xz
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.zip
Override
Diffstat (limited to 'npc/001-2-32/doors.txt')
-rw-r--r--npc/001-2-32/doors.txt38
1 files changed, 0 insertions, 38 deletions
diff --git a/npc/001-2-32/doors.txt b/npc/001-2-32/doors.txt
deleted file mode 100644
index 828366d2..00000000
--- a/npc/001-2-32/doors.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-// Evol scripts.
-// Author:
-// Reid
-// Jesusalva
-// Description:
-// Doors NPCs.
-
-001-2-32,33,29,0 script ToFightRoom#001-2-32 NPC_HIDDEN,0,0,{
-
-OnTouch:
- if (getq(Artis_Legion_Progress) < 3)
- {
- narrator
- l("You hear some sound behind the door."),
- l("Somebody is probably training, better wait for them to finish.");
- }
- else
- {
- .@q2=getq2(Artis_Legion_Progress);
- .@mapn$="atl2@"+getcharid(0);
- // FIXME This code is extremely unreliable
- if (isinstance(.@q2) && .@q2 >= 0)
- {
- instance_set_timeout(3600, 3600, .@q2);
- warp .@mapn$, 24, 29;
- } else {
- .@inst = instance_create("ATL "+getcharid(0), getcharid(3), IOT_CHAR);
- instance_attachmap("001-2-35", .@inst, false, .@mapn$);
- // Instance lasts one hour
- instance_set_timeout(3600, 3600, .@inst);
- instance_init(.@inst);
- setq2 Artis_Legion_Progress, .@inst;
- }
-
- }
-
- close;
-}