summaryrefslogtreecommitdiff
path: root/npc/023-3-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-19 10:54:19 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-19 10:54:19 -0300
commitc1d1f553d8483924177a17cb6e67f2be12d2b5a7 (patch)
tree7e2f63dffa73eb1e9d60cbae26695b1a7218419a /npc/023-3-2
parentd4083e1809a769413a690ab1570d9569d42a9f77 (diff)
downloadserverdata-c1d1f553d8483924177a17cb6e67f2be12d2b5a7.tar.gz
serverdata-c1d1f553d8483924177a17cb6e67f2be12d2b5a7.tar.bz2
serverdata-c1d1f553d8483924177a17cb6e67f2be12d2b5a7.tar.xz
serverdata-c1d1f553d8483924177a17cb6e67f2be12d2b5a7.zip
Notebook is so important, you may use @homunculus to read it (once main story ok)
Diffstat (limited to 'npc/023-3-2')
-rw-r--r--npc/023-3-2/logic.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/023-3-2/logic.txt b/npc/023-3-2/logic.txt
index ab8d94fd6..ab8974c4e 100644
--- a/npc/023-3-2/logic.txt
+++ b/npc/023-3-2/logic.txt
@@ -59,14 +59,26 @@ OnInit:
mesc l("Keep exploring the Study Room and certify it is safe first.");
close;
}
+
+// Implict fallthrough
+L_BookRead:
mesn;
mesc l("Insert here lore information");
+
if (!(.@q & .hcID))
setq3 FrostiaQuest_Homunculus, .@q|.hcID;
close;
+
+OnBookRead:
+ .@q=getq(General_Narrator);
+ if (.@q < 16) end;
+ .@q=.hcID;
+ goto L_BookRead;
+
OnInit:
.hcID=1;
.distance=2;
+ bindatcmd "homunculus", "Notebook#MKHB::OnBookRead", 0, 100, 0;
end;
}