Treasure Hunt Definition
A treasure hunt with progressive hints and compass guidance
Champs
| Champ | Type | Par défaut | Description |
|---|---|---|---|
treasureId | Var<String> | — | Unique treasure hunt identifier. |
hints | List<String> | empty | Progressive hints (from vague to precise). Supports color codes.PlaceholdersCouleursMultiligne |
solutionLocation | Var<Position> | ORIGIN | The final treasure location. |
activationRadius | Var<Int> | 3 | Activation radius around the solution location. |
compassTarget | Optional<Var<Position>> | — | Optional compass target (usually the solution area). |
requiredFragmentGroup | Optional<String> | — | Optional fragment group that must be completed before this treasure is accessible. |
onFound | Ref<TriggerableEntry> | — | Sequence triggered when the treasure is found. |
How to use it
This entry stores a hunt definition (hints, solution position, activation radius, compass target and required fragment group). In the current version, the Codex extension has no runtime that reads it: no hint is shown and onFound is not triggered by this extension alone. Treat it as data for other systems, and use fragments for gameplay.