Skip to content

Major order task locations#94

Merged
dealloc merged 2 commits intohelldivers-2:masterfrom
raginmari:mo-locations
Jul 31, 2025
Merged

Major order task locations#94
dealloc merged 2 commits intohelldivers-2:masterfrom
raginmari:mo-locations

Conversation

@raginmari
Copy link
Contributor

@raginmari raginmari commented Jul 30, 2025

The current MO (2368689649) refers to a sector instead of a planet. Turns out the "planet_index" is more like a "location_index" whereas the "liberate" (value type 11) appears to indicate the type of location and is therefore renamed to "location_type" in this PR.

Renaming is a breaking change to anyone who relies on the value type's name, so renaming might not be an option and may have to be reverted / the PR rejected.

Indicates whether the task refers to a planet or a sector (or potentially something else entirely).
Depending on the "location_type", this is the index of the planet or sector that the task refers to.
@dealloc
Copy link
Member

dealloc commented Jul 31, 2025

given that updating the JSON files is a manual task and not an automatic dependency update, I feel breaking changes might be warranted if they allow for better/more accurate translation of the game's keys.

Also, this is a value we're changing, not a key

@dealloc dealloc merged commit 5e9d336 into helldivers-2:master Jul 31, 2025
1 check passed
dealloc added a commit to helldivers-2/api that referenced this pull request Aug 1, 2025
dealloc added a commit to helldivers-2/api that referenced this pull request Aug 1, 2025
dealloc added a commit to helldivers-2/api that referenced this pull request Aug 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments