Accepted
Users need to import magic items from external sources (JSON) to populate their campaigns.
We will implement a JsonMagicItemImporter that parses JSON data into MagicItem objects.
- DTO:
MagicItemDtowill mirror the JSON structure (5eTools format). - Mapping: The importer will map DTO properties to
MagicItemproperties (Name,Type,Attunement, etc.). - Bonuses: Simple bonuses (e.g.
bonusAc,bonusWeapon) will be parsed intoIFeatureorIConditionwhere possible. Complex natural language parsing is out of scope.
- Positive: Enables rapid content population.
- Negative: Complex items with unique mechanics described in text won't be fully functional without manual coding/scripting.