summaryrefslogtreecommitdiff
path: root/npc/015-8-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-03 11:15:26 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-03 11:15:26 -0300
commitc7d4ef9c35ca26dcde9da07dd6346f68714f5a18 (patch)
tree55b8555430a4fb247922cbdbfedb5fc10db9e5a9 /npc/015-8-1
parentbd1ac7157a01414946e69431b887934dcfea27fe (diff)
downloadserverdata-c7d4ef9c35ca26dcde9da07dd6346f68714f5a18.tar.gz
serverdata-c7d4ef9c35ca26dcde9da07dd6346f68714f5a18.tar.bz2
serverdata-c7d4ef9c35ca26dcde9da07dd6346f68714f5a18.tar.xz
serverdata-c7d4ef9c35ca26dcde9da07dd6346f68714f5a18.zip
Okay, for now, this will be enough
Diffstat (limited to 'npc/015-8-1')
-rw-r--r--npc/015-8-1/campaign.txt19
1 files changed, 15 insertions, 4 deletions
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;
}
+