mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5942] Let a game Experience pass player-selected lorebook entries into the experience-generation call #3285
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3285
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kolacheee on GitHub (Sep 8, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5942
Originally assigned to: @kolacheee on GitHub.
Engine half of a Pixelforge feature ruled in by the maintainer: when a player sets up a generated world, they should be able to pick specific lorebook entries to inform the world-writing call — the GM should know about places like the other settlements in an attached lorebook so it can name and detail new settlements consistently with the lore (and never by sending a whole book unselected).
Scope of the Engine change (deliberately minimal; the picker UI lives in the Pixelforge package):
experienceGenerationSchemagainslorebookEntryIds—z.array(z.string()).max(LIMITS.MAX_LOREBOOK_ENTRIES).optional(). Absent or empty is a byte-identical no-op for every existing caller (headline regression property).processLorebookscall modeled on/setup's block: macro context, scope exclusions, the three-part worldInfo join appended to the outbound content, with the selection passed asforcedEntryIds.ignoreProbabilityScanOptions flag read only in the forced-entry gate — every existing caller byte-identical.tokenBudgetparameter; drops follow the existing selection order (constants first, then book position) at whole-entry granularity, and the skipped entries are reported back so the package can tell the player what was omitted.Branch in progress:
feat/experience-lore-entries.@SpicyMarinara commented on GitHub (Sep 8, 2026):
Maintainer follow-up: @SpicyMarinara (Codex) is updating the existing @kolacheee PR #5944 against staging and checking its regression/review gates. Work remains on that PR; no duplicate implementation PR is being opened.