[Aftershock] Replace combination lock safes with electronically locked safes. #79062
+116
−15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Mods "[Aftershock] Replace combination lock safes with electronically locked ones."
Purpose of change
It's a bit weird that in the far flung sci-fi future people are still using combination lock safes everywhere. It would be more theme fitting if they had electronic locks that could be hacked.
Describe the solution
Introduce a new safe furniture that has an electronic lock and uses the aftershock hacking EOC system. It's difficulty is a fair bit higher than everything hackable in the mod so far. So you'll need a character with pretty high computers skill to crack them. Or an oxy-torch to cut them open.
Replace all instances of safes, locked, closed, or open with the the electronic variant. (Within the confines of Aftershock.)
Describe alternatives you've considered
There is technically a gun-safe that already has an electronic lock. I opted against using this since it's difficulty is not customizable and it's hardcoded to always say "Hack Gun Safe". Which isn't ideal for anything that isn't a gun safe.
I considered making a less secure version for more mundane applications. But for now all safes are really hard to crack be they money safes, or bionic safes.
I copied the stats of I believe the standard furniture safe directly. I could have adjusted them but I think they were fine as they were.
Testing
I spawned and cracked open a bunch of safes. Verifying the functionality worked and was about at the level of difficulty I felt would be appropriate.
I also verified the structures are now spawning the new safes.
Additional context