From 412d02f14c6ca1f903f75ba14b04422114a02fad Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 3 Jun 2019 09:53:22 -0300 Subject: Rewrite how saggy instance are built so they are unified --- npc/015-8/sealedshrine.txt | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'npc/015-8/sealedshrine.txt') diff --git a/npc/015-8/sealedshrine.txt b/npc/015-8/sealedshrine.txt index c892163f1..c0ba73350 100644 --- a/npc/015-8/sealedshrine.txt +++ b/npc/015-8/sealedshrine.txt @@ -633,20 +633,7 @@ OnInit: if (askyesno() == ASK_YES) { closeclientdialog; - .@q2=getq2(HurnscaldQuest_Sagratha); - // Map name limit: 4 chars (sgt1) - .@mapn$="sgt1@"+getcharid(0); - .@map2$="sgt2@"+getcharid(0); - if (!(isinstance(.@q2) && .@q2 != 0)) { - .@inst = instance_create("Sagratha House "+getcharid(0), getcharid(3), IOT_CHAR); - instance_attachmap("014-5-1", .@inst, false, .@mapn$); - //instance_attachmap("015-8", .@inst, false, .@mapn$); - instance_attachmap("015-8-1", .@inst, false, .@map2$); - // 40 minutes (2400s) inside, or 5 minutes (300s) outside - instance_set_timeout(2400, 300, .@inst); - instance_init(.@inst); - setq2 HurnscaldQuest_Sagratha, .@inst; - } + .@map2$=SaggyInstCheck(false); warp .@map2$, 50, 78; end; } -- cgit v1.2.3-60-g2f50