-
Notifications
You must be signed in to change notification settings - Fork 284
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
Improve organization of achivements, port skill achievements #2613
Conversation
Co-Authored-By: nexusmrsep <39925111+nexusmrsep@users.noreply.github.com>
So I'm still looking at this and I feel like it'd legit just be better to say "fuck it" and go with the option where the level-5 achivements are self-hidden, avoiding the issue of chargen letting you softlock achievements by just only making them visible if you earn them via in-game means. Reasons being:
|
I've decided to go the route of having the level-5 achievements self-hidden for the above reasons. |
Parallel with but not really dependent upon cataclysmbnteam/Cataclysm-BN#2613
Set aside as a self-PR for when cataclysmbnteam/Cataclysm-BN#2613 is merged, using the new achievement format introduced there so that skill achievements don't shit themselves if you start with enough chargen skill to exceed the achievement's target skill level.
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.
Oh that's weird. Make sure you've closed the game, re-opened, then created the new world after enabling event bus? o.O Note that event bus is enabled by default in the options, too. |
This looks like it might be due to fuckery in |
Let me update from upstream and see if that fixes it. |
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.
Summary
SUMMARY: Content "Port over skill achievements, use consistent capitalization and category indicators in achievement names"
Purpose of change
Figured I can work on porting over a few more easy achievements that don't yet require many code changes to support (this turns out to be wrong, see below). Along the way I also decided it'd be good to add a general indication of what sort of achievement each is in the name (similar to Arcana and Cataclysm++ preceding the title with mod name), so they have a cleaner organization on the achievement screen.
Dependent upon #2719 to work right, that PR will need to be merged first.
Describe the solution
Ported over skill achievements, minus skills BN lacks. The level 7 achievements instead set to trigger on level 5 so it's a marker of mid-level skill to space them out better, picked a less masturbatory name for the level 10 computer skill achievement. Also corrected any typos from PR JSON I found along the way. Formatting is also now fixed up thanks to Kheir.
Also decided to go a bit easier on achievement names/descriptions that're just namedropping some random person outright, and accordingly rewrote a couple of descriptions in turn. Though
The Doctor Is In
might still be read as a reference (well, would if time travel was a skill), andCaptain of The R-MCC Landship
does reference a famous meme deathmobile by a one @EkarusRyndren but otherwise...Also added the if statement in
Character::practice
that ensures the event triggers, to quote their reasoning:From what I found in JSON, it seems this is indeed important for it to work, but this needs Kheir's fixes to fix all the weird shit going on in the underlying code.
And in addition to all that, made capitalization consistent for achievement names, and added preceding category tags such as
[Combat]
,[Skill]
, and so on, along with converting all names to use strings.And also misc, updated one case of an achievement name making a pun that depends on the game name involving dark days.
Describe alternatives you've considered
Giving up and going to bed. :<
Testing
With Kheir's prerequiste PR, the weird behavior I discovered during the original test is all entirely fixed up.
Additional context
Source PR: "Skill based achievements" by @nexusmrsep: CleverRaven/Cataclysm-DDA#41657
I've tested DDA and yeah, at present skill achievements softlock over there too.