CollectionCommonData
Version support
Section titled “Version support”| Version | Status |
|---|---|
| v92 | Full |
| v90 | - |
| v86 | - |
CollectionCommonData.xml defines shared collection system settings: nameplate visibility, difficulty probability curves, experience tables, and icon path mappings.
This schema has five DSL sections sharing one XML file:
collectionShowNamePlate— singleton update-only (visibility distances)collectionDifficulty— singleton update-only (difficulty probability curves)collectionExpTable— CRUD list of experience-per-level entriescollectionExpLimitTable— CRUD list of grade-to-level-cap entriescollectionIconPathTable— CRUD list of icon type-to-path mappings
DSL support
Section titled “DSL support”Singleton sections
Section titled “Singleton sections”| Entity | Operations |
|---|---|
collectionShowNamePlate | update |
collectionDifficulty | update |
CRUD sections
Section titled “CRUD sections”| Entity | Operations | Key |
|---|---|---|
collectionExpTable | create, update, delete, upsert | userLevel |
collectionExpLimitTable | create, update, delete, upsert | grade |
collectionIconPathTable | create, update, delete, upsert | typeName |
Quick recipes
Section titled “Quick recipes”Update show nameplate
Section titled “Update show nameplate”spec: version: "1.0" schema: v92
collectionShowNamePlate: update: - changes: distance: 50 extractorDistance: 100Update difficulty
Section titled “Update difficulty”spec: version: "1.0" schema: v92
collectionDifficulty: update: - changes: hardProbOver: 30 normalProbOver: 50 easyProbOver: 80Create experience entry
Section titled “Create experience entry”spec: version: "1.0" schema: v92
collectionExpTable: create: - userLevel: 65 exp: 5000Create experience limit entry
Section titled “Create experience limit entry”spec: version: "1.0" schema: v92
collectionExpLimitTable: create: - grade: 10 maxUserLevel: 65Create icon path entry
Section titled “Create icon path entry”spec: version: "1.0" schema: v92
collectionIconPathTable: create: - typeName: "herb" path: "img/collection/herb_icon.dds"Upsert icon path
Section titled “Upsert icon path”spec: version: "1.0" schema: v92
collectionIconPathTable: upsert: - typeName: "mineral" path: "img/collection/mineral_icon.dds"Delete experience entry
Section titled “Delete experience entry”spec: version: "1.0" schema: v92
collectionExpTable: delete: - 65Properties reference
Section titled “Properties reference”ShowNamePlate attributes
Section titled “ShowNamePlate attributes”| Attribute | Type | Since | Description |
|---|---|---|---|
distance | int | v92 | Nameplate visibility distance |
extractorDistance | int | v92 | Extractor nameplate visibility distance |
CollectDifficulty attributes
Section titled “CollectDifficulty attributes”| Attribute | Type | Since | Description |
|---|---|---|---|
hardProbOver | int | v92 | Hard difficulty probability (over proficiency) |
hardProbUnder | int | v92 | Hard difficulty probability (under proficiency) |
normalProbOver | int | v92 | Normal difficulty probability (over proficiency) |
normalProbUnder | int | v92 | Normal difficulty probability (under proficiency) |
easyProbOver | int | v92 | Easy difficulty probability (over proficiency) |
easyProbUnder | int | v92 | Easy difficulty probability (under proficiency) |
ExpParam attributes
Section titled “ExpParam attributes”| Attribute | Type | Since | Required | Description |
|---|---|---|---|---|
userLevel | int | v92 | Yes | Player level (key) |
exp | int | v92 | No | Experience points awarded |
ExpLimit attributes
Section titled “ExpLimit attributes”| Attribute | Type | Since | Required | Description |
|---|---|---|---|---|
grade | int | v92 | Yes | Collection grade (key) |
maxUserLevel | int | v92 | No | Maximum player level for this grade |
IconPath attributes
Section titled “IconPath attributes”| Attribute | Type | Since | Required | Description |
|---|---|---|---|---|
typeName | string | v92 | Yes | Icon type name (key) |
path | string | v92 | No | Icon file path |
XML structure
Section titled “XML structure”CollectionCommonData.xml└── CollectionCommonData (root) ├── ShowNamePlate (singleton) │ @distance, @extractorDistance ├── CollectDifficulty (singleton) │ @hardProbOver, @hardProbUnder, @normalProbOver, ... ├── ExpTable (0..∞) │ @userLevel (required), @exp ├── ExpLimitTable (0..∞) │ @grade (required), @maxUserLevel └── IconPathTable (0..∞) @typeName (required), @pathCommon pitfalls
Section titled “Common pitfalls”- Singleton sections:
collectionShowNamePlateandcollectionDifficultyonly supportupdate. Each has exactly one element in the XML. - Shared XML file: All five sections resolve to the same
CollectionCommonData.xmlfile. - String key:
collectionIconPathTableuses a string key (typeName) rather than the typical integer key.