Feature: implement room entry flow with encounter resolution and logging

This commit is contained in:
Keith Solomon
2026-03-15 13:26:59 -05:00
parent 39703ce6b0
commit 4dde4bff99
3 changed files with 282 additions and 1 deletions

View File

@@ -136,7 +136,9 @@ export function createRoomStateFromTemplate(
},
encounter: undefined,
objects: [],
notes: [template.text ?? template.title].filter(Boolean),
notes: [template.text ?? template.title, template.encounterText].filter(
(note): note is string => Boolean(note),
),
flags: [
`table:${template.tableCode}`,
`entry:${template.tableEntryKey}`,