Skip to content

Gear, GP, and data model #12

Description

@vjosset

Current data model requires some redundancy: Two unit types in different squad types may have Dodge 1 for example, but with different GP costs or default flags.
Currently, this requires loading these multiple times.
How do we make it easier to maintain a single Gear item for these standard skills (e.g. Technician, Swift, etc) across squad and unit types and spoils of war, while still maintaining the flexibility to dictate costs and default flags per squad type?

  • Reintroduce unit specials?
    • Remember that showing specials in the card footer was not ideal, players didn't see them and often forgot about them. Listing them under skills/abilities would make them more visible. Consider listing unit specials under own heading (same level as skills/abilities), or merge into skills/abilities.
  • Rebuild data model for gear to not have a cost or default, but add a mapping table from UnitType to Gear with costs and default specified in the mapping?
    • Handle unit gear selections as well
  • Consider separating Weapons from Skills in their own tables?
    • What about SoW and Injuries? They currently are all Skills, but could include Weapons eventually

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions