Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Eldrich-specific data normalizer/denormalizer #42

Open
eaton opened this issue Apr 20, 2017 · 2 comments
Open

Eldrich-specific data normalizer/denormalizer #42

eaton opened this issue Apr 20, 2017 · 2 comments

Comments

@eaton
Copy link
Member

eaton commented Apr 20, 2017

No description provided.

@EmperorArthur
Copy link

I'd say something like a JSON format. Something like

{
  "attributes": [
    "COG": number;
    "COO": number;
    "INT": number;
    "REF": number;
    "SAV": number;
    "SOM": number;
    "WIL": number;
    "MOX": number;
  ],
  "skills": [
    ...
  ]
}

That's probably what I'm going to implement as the export format from the Character Creator.

@eaton
Copy link
Member Author

eaton commented Apr 20, 2017

Yep — in Drupal, that stuff gets handled by the standard JSON serializer, but it can be swapped out for XML, HAL, etc. The Normalizer is the code responsible for building the structure that will ultimately be serialized into JSON/etc.

The biggest question marks structurally revolve around weapons, vehicles, and weird edge cases like specialty multi-ammo clips for kinetic weapons. Those shouldn't have too much impact on the character definition itself, though, which is what would matter for inter-operation with the Character Creator…

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants