Skip to main content

CodexCollectibles

6 tools in this family (folder Editor/Tools/CodexCollectibles/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
codex_apply_default_templatewritesOne-shot: pick a preset (bestiary | lore | recipes), emit a canonical CodexSpec,
codex_export_book_pdf_metadatawritesExport the spec as a JSON file ready for any external PDF renderer (pdfkit,
codex_generate_codewritesEmit LoreEntrySO.cs, CodexController.cs, CodexUI.cs, CollectibleSpawner.cs and
codex_generate_lore_from_world_scanwritesScan the open scene + project asset names for likely lore sources (enemies, items,
codex_propose_from_promptread-onlyBuild a CodexSpec skeleton from a natural-language brief (e.g. \
codex_validate_specread-onlyValidate a CodexSpec. Returns { ok, errors[] }. Always run this before