summaryrefslogtreecommitdiff
path: root/npc/023-3-2
diff options
context:
space:
mode:
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;
}