Item Data Protocol
About 227 wordsLess than 1 minute
Tips
This document describes the storage format and structure of various item data in the game
Resource Location
- Roguelike (SOS) items:
assets/resource/data/sos/items.json - Combat items:
assets/resource/data/combat/items.json
SOS Roguelike Item Data
File Structure
{
"artefacts": { // Creation data
"attribute_type": [] // Creations grouped by attribute
},
"harmonics": { // Harmonic resonance data
"attribute_type": [] // Harmonic resonances grouped by attribute
}
}Attribute Types
Five attribute types in the game:
Strength- Strength attributeReaction- Reaction attributeMystery- Mystery attributePerception- Perception attributePassion- Passion attribute
Creations
Creations are grouped by attribute, each containing all creation names related to that attribute.
{
"artefacts": {
"Strength": [
"Tuning Fork Echo I",
"Tuning Fork Echo II",
"Glory Insignia",
"Strength Charm",
// ... more creations
],
"Reaction": [
"Devouring Horn I",
"Dividing Copper Fish",
// ... more creations
]
// ... other attributes
}
}Harmonic Resonances
Harmonic resonances are similarly grouped by attribute, each containing all harmonic resonance names related to that attribute.
{
"harmonics": {
"Strength": [
"Inverted Blood",
"Thin Stream of Blood",
"Ancestral Connection",
// ... more harmonic resonances
],
"Reaction": [
"Preparation",
"Unexpected Awareness",
// ... more harmonic resonances
]
// ... other attributes
}
}Usage Guide
This data is primarily used for:
- Item Recognition: As a reference dictionary when OCR recognizes item names
- Item Selection: Match items by attribute priority when automatically selecting items
- Data Validation: Verify if recognized results are valid item names
