Skip to content
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

Job rewards (should) now work properly #1023

Merged
merged 4 commits into from
Feb 1, 2024

Conversation

FernandoJ8
Copy link
Contributor

@FernandoJ8 FernandoJ8 commented Jan 22, 2024

About The Pull Request

Closes #358.
There were a few type mismatches here and there that made the code not work properly. It also moves the code that marks areward as collected to the end of the proc, so that it isn't counted as collected if we fail to add it to the DB and return early.

Both the loadout rewards and in-round rewards should be available to those who unlock them from now on, and a "Reload Job Rewards" verb has been added to hopefully fix it for people who have it already unlocked.

Also, I added a parenthesis to a check in base_preferences.dm. It's unrelated to the rest of the changes, but I used the same check and found that it didn't actually skip the milestones from other jobs, since the syntax was off. Corrected it in both places.

Why It's Good For The Game

Who doesn't like a bugfix?

Changelog

🆑
fix: loadout job rewards are now correctly added to the player's inventory.
fix: in-round job rewards are now obtainable in the same round they are unlocked.
add: The "Reload Job Rewards" verb is now available in the IC tab, to fix broken/missing job reward unlocks.
/:cl:

@sakke03 sakke03 mentioned this pull request Jan 28, 2024
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.

Job rewards dont seem to work
2 participants