Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Multiworld Watcher Multiworld Watcher
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Q4SG
  • Multiworld WatcherMultiworld Watcher
  • Issues
  • #18
Closed
Open
Issue created Feb 16, 2022 by Adam "MrBond" Ziegler@MrBondOwner

Refactor item priority composition

Allow item priorities to be grouped, such that multiple items can be considered as a single entity.

e.g.:

  • Super Metroid "ball explosives", "ammo"; one of either "Bomb" or "Power Bomb" is considered "important", any more beyond that is "medium"; "Super Missiles" or "Missiles" up to a certain point are "medium", then "low".
  • Link to the Past bombs (of any count, capacity upgrades, etc): first pickup may be "medium", more are "low"

Like #13 (closed), needs some sort of state tracking per-world for items received; more important that info is persisted between backend restarts.

Refactor data structure to allow thresholds and custom badges per-item (#12 (closed)), or bubble up to group reference:

{
  ...
  "items": {
    "item": {
      "ref": "<group name>",
      "received": 0 // track number received
    },
    "other item": {
      "ref: "<group name>",
      "priority": "...", // per-item override, highest precedence - ignore ref, threshold
      "badge": "...", // per item override
      "threshold": {}, // per item override
    }
  },
  "groups": {
    "<group name>": {
      "badge": ":rocket:",
      "threshold": {
        "1": "important",
        "5": "medium",
        "_": "low"
    }
  }
}
Assignee
Assign to
Time tracking