From c1d1f553d8483924177a17cb6e67f2be12d2b5a7 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 19 Jun 2019 10:54:19 -0300 Subject: Notebook is so important, you may use @homunculus to read it (once main story ok) --- npc/023-3-2/logic.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'npc') 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; } -- cgit v1.2.3-60-g2f50