Skip to content

feat: allow available equipment list definition for content pack fighters #1518

@tgvashworth

Description

@tgvashworth

Summary

Content pack creators can define custom fighters, but there's no way to specify which equipment those fighters are allowed to take. The ContentFighterEquipmentListItem model supports this for base-game fighters, but the pack UI doesn't expose it.

Problem

Without an available equipment list, custom pack fighters either have access to everything or nothing (depending on how the system falls back). Pack creators need to curate what equipment is appropriate for their custom fighter types — e.g. a custom juve shouldn't have access to heavy weapons.

Desired behaviour

Pack creators should be able to define an equipment list for their custom fighters, specifying:

  • Which equipment items are available (from the pack's own custom equipment and/or the base game)
  • Optional cost overrides per fighter type (a weapon might cost more for one fighter category than another)
  • Category restrictions if applicable

This mirrors what ContentFighterEquipmentListItem already does for base-game fighters in the admin.

Current architecture

  • ContentFighterEquipmentListItem (in content/models/equipment_list.py) links a ContentFighter to available ContentEquipment with optional cost overrides and category scoping
  • The equipment assignment UI already checks available equipment lists when adding gear to a fighter
  • Pack equipment items are ContentEquipment instances scoped to a pack via CustomContentPackItem
  • The equipment list needs to support both pack-scoped and base-game equipment references

Implementation notes

  • UI could be a separate tab/section on the pack fighter edit page, or a dedicated "Equipment list" sub-page
  • Should support mixing pack equipment and base-game equipment in the same list
  • Cost override support would be valuable but could be a follow-up
  • Consider how this interacts with house-level equipment lists (some houses restrict available equipment)

Related

  • See also: default equipment definition for pack fighters (separate issue)

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreChanges that improve core, user-space functionalitycustomisationContent packs and custom content features

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions