fragment_definition
A collectible fragment piece definition — misc entry.
Entry Information
| Property | Value |
|---|---|
| Entry ID | fragment_definition |
| Type | Misc |
| Color | Gold |
| Icon | mdi:bookmark-multiple |
Fields
| Field | Type | Description |
|---|---|---|
fragmentGroup | Var<String> | Group this fragment belongs to (e.g. 'elder_runes', 'dragon_scales'). |
fragmentId | Var<String> | Unique fragment identifier within the group. |
displayItem | Item | Display item shown in the codex. |
customItem | Optional<Item> | Custom item the player must pick up to collect this fragment. If empty, uses displayItem. |
loreText | String | Lore text revealed about this fragment. Supports color codes. |
position | Optional<Var<Position>> | Optional world position where this fragment is hidden. |
hint | String | Hint text to help players find the fragment. |
onFound | Ref<TriggerableEntry> | Sequence triggered when this fragment is collected. |
Usage Example
- entry: fragment_definition
name: "A collectible fragment piece definition"
fragmentGroup: ""
fragmentId: ""
displayItem: ""
customItem: ""
loreText: ""
position: ""
hint: ""
onFound: ""