summaryrefslogtreecommitdiff
path: root/npc/081-1/dungeon.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-11-23 11:33:54 -0300
committerJesusaves <cpntb1@ymail.com>2021-11-23 11:33:54 -0300
commitd40e9205d28d96061f8fa91d619805aa66c7e173 (patch)
tree19e49e318cbef30e7026fba006c7ca473102a35e /npc/081-1/dungeon.txt
parentb281a13b600cf97078d381327e042516fc7d83d2 (diff)
downloadserverdata-d40e9205d28d96061f8fa91d619805aa66c7e173.tar.gz
serverdata-d40e9205d28d96061f8fa91d619805aa66c7e173.tar.bz2
serverdata-d40e9205d28d96061f8fa91d619805aa66c7e173.tar.xz
serverdata-d40e9205d28d96061f8fa91d619805aa66c7e173.zip
Add 080-3 Peaceful Glade Entrance and Exit controls
Diffstat (limited to 'npc/081-1/dungeon.txt')
-rw-r--r--npc/081-1/dungeon.txt15
1 files changed, 2 insertions, 13 deletions
diff --git a/npc/081-1/dungeon.txt b/npc/081-1/dungeon.txt
index d5b97eb5..0e697cf9 100644
--- a/npc/081-1/dungeon.txt
+++ b/npc/081-1/dungeon.txt
@@ -8,22 +8,11 @@
end;
OnTouch:
if (!isChristmas21()) end;
- .@id = X21ID();
/* We need to determine if instance exists and is needed */
- .@t = X21TYPE();
- .@mapa$="0812@"+X21ID2();
- .@mapn$="0813@"+X21ID2();
- .@inst = instance_create("Northen Lights", .@id, .@t);
- // Instance must be created
- if (.@inst >= 0) {
- // We... Could use base name, actually, but whatever
- instance_attachmap("081-2", .@inst, false, .@mapa$);
- instance_attachmap("081-3", .@inst, false, .@mapn$);
- instance_set_timeout(1800, 1800, .@inst);
- instance_init(.@inst);
- }
+ X21INIT();
+ .@mapa$="0812@"+X21ID2();
warp .@mapa$, 90, 298;
end;
}