From c7d4ef9c35ca26dcde9da07dd6346f68714f5a18 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 3 Jun 2019 11:15:26 -0300 Subject: Okay, for now, this will be enough --- npc/015-8-1/campaign.txt | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'npc/015-8-1/campaign.txt') diff --git a/npc/015-8-1/campaign.txt b/npc/015-8-1/campaign.txt index 87a660324..dff631386 100644 --- a/npc/015-8-1/campaign.txt +++ b/npc/015-8-1/campaign.txt @@ -2,7 +2,7 @@ // Authors: // Jesusalva // Description: -// Sagratha Quest +// Sagratha Quest (field 3) 015-8-1,49,38,0 script #SaggyDungeonCore NPC_HIDDEN,{ // Not in instance, we don't care. @@ -13,17 +13,28 @@ // There is no instance init OnBegin: - // We're in an instance, ofc. But without player attached - initnpctimer; + setq3 HurnscaldQuest_Sagratha, 1; + // We're in an instance, ofc. Here we still have player attached. + npctalk3 l("Open your eyes"); + initnpctimer; // Maybe addtimer() would be better? end; OnTimer1000: + debugmes "Error"; end; } // Dummy NPC to fire #SaggyDungeonCore when you get close to battle scene 015-8-1,49,38,0 script #SaggyDungeonFire NPC_HIDDEN,0,0,{ -end; + end; +OnTouch: + if (instance_id() < 0) + end; + + if (!getq3(HurnscaldQuest_Sagratha)) + doevent "#SaggyDungeonCore::OnBegin"; + end; } + -- cgit v1.2.3-60-g2f50