-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor!: game versioned missionsInLocation, fix certain contracts when resolved, rename missionsInLocations -> missionsInLocation #550
base: master
Are you sure you want to change the base?
Conversation
As it always should have been.
Discussion question before it should be considered to be merged: should |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above
I think we have a scan for groups hook? |
We do, but it is named |
"4fbfae2e-a5e7-4b79-b008-94f6cbcb13cb", | ||
"3721e543-b5e6-4af8-a4fc-c92e9a4453bd", | ||
"8c6daf5e-5974-4438-af20-71ff570c7ff3", | ||
export const missionsInLocation = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explicitly type this object
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this not satisfy that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM % ^
Co-authored-by: Reece Dunham <[email protected]>
Sorry @ Private for that tag. Didn't even expect that. What about |
Fixes #510 #505 #504
Needs testing and checking over more than twice.
Breaking Changes
controller.missionsInLocations
is nowcontroller.missionsInLocation
(as it always should have been!).controller.missionsInLocations
is now split by game version.controller.addEscalation
has a new parameter:(groupContract, locationId, **gameVersion**, ...levels)
(highlighted using asterisks).Also this removes some terrible hacks we've had to do. We should've always done it like this!