The Codex Extension allows you to create comprehensive discovery logs where players unlock entries through exploration, crafting, or specific actions. It handles tracking, percentage completion, and automatic GUI generation for browsing unlockables.Documentation Index
Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
Use this file to discover all available pages before exploring further.
Features
Discovery Logs
Group items or monsters into categories that unlock as the player encounters them.
Recipe Books
Display custom crafting recipes in a dedicated, navigable UI.
Progression Tracking
Automatically calculates % completion for categories.
Auto-Generated GUIs
Menus are built automatically based on your definitions.
Entries
Definitions
Discovery Category: Define unlocking categories and progression logs.
Recipe Definition: Create custom recipe books and crafting guides.
Recipe Definition: Create custom recipe books and crafting guides.
Actions
Open Codex: Action to open specific codex menus.
Commands
| Command | Description | Aliases |
|---|---|---|
/tw codex open <category> | Open a specific codex category menu. | /tw dcx open |
Placeholders
Global placeholders for tracking progress.| Placeholder | Description |
|---|---|
%discoverycodex_category_<id>_name% | Display name of the category. |
%discoverycodex_category_<id>_unlocked% | Count of discovered entries. |
%discoverycodex_category_<id>_total% | Total entries in the category. |
%discoverycodex_category_<id>_percent% | Completion percentage (0-100). |
%discoverycodex_item_<id>_unlocked% | true/false if specific item is unlocked. |