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.
| Tool | Effect | Description |
|---|---|---|
codex_apply_default_template | writes | One-shot: pick a preset (bestiary | lore | recipes), emit a canonical CodexSpec, |
codex_export_book_pdf_metadata | writes | Export the spec as a JSON file ready for any external PDF renderer (pdfkit, |
codex_generate_code | writes | Emit LoreEntrySO.cs, CodexController.cs, CodexUI.cs, CollectibleSpawner.cs and |
codex_generate_lore_from_world_scan | writes | Scan the open scene + project asset names for likely lore sources (enemies, items, |
codex_propose_from_prompt | read-only | Build a CodexSpec skeleton from a natural-language brief (e.g. \ |
codex_validate_spec | read-only | Validate a CodexSpec. Returns { ok, errors[] }. Always run this before |