Port spare ID cabinet, port automaticspareidsystem, add spareid:unlock command - #94
Port spare ID cabinet, port automaticspareidsystem, add spareid:unlock command#94JustTNE wants to merge 2 commits into
Conversation
|
RSI Diff Bot; head commit 86cb89d merging into 0e686ea Resources/Textures/_DVA/Structures/Wallmounts/idcard_cabinet.rsi
|
ShepardToTheStars
left a comment
There was a problem hiding this comment.
Whats the command usage? It looks like it requires a param. Is that the cabinet's ID?
You can query the entity with NukeOpsRuleComponent and change the |
The command applies the access to every cabinet in the exact same way the auto ACO procedure does it. It hooks directly into its API to keep the state of the auto ACO procedure updated to prevent erroneous/duplicate announcements. The syntax is simply
|
…cabinet command DCO: DeltaV-Station#1 (comment) DCO: DeltaV-Station#1 (comment) Other content reverse engineered, entirely rewritten or licensed under a compatible license. Compared to original, adds two extra functions: ForceUnlock (public API), UnlockCabinet (private helper) Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com>
|
Switched to toolshed by @sowelipililimute's request |
Common usage: stations:get | spareid:unlock true














About the PR
Partially port DeltaV-Station/Delta-v#671
Port DeltaV-Station/Delta-v#3691
Port DeltaV-Station/Delta-v#5104
Closes #83
DCO: #1 (comment)
DCO: #1 (comment)
Other content reverse engineered, entirely rewritten or licensed under a compatible license.
Compared to original, adds two extra functions: ForceUnlock (public API), UnlockCabinet (private helper)
Adds extra command: spareid:unlock which can unlock the spare id cabinet. Common usage
stations:get | spareid:unlock trueWhy / Balance
Port from old codebase.
Technical details
1-1 port of DVAutomaticSpareIdSystem, changes to locale strings, two extra functions added
Command spareid:unlock added.
RSI ported
Biscuits are dropped since they are not commonly used and complications with licensing being in the way.
Test plan
Join game, wait 15 minutes, observe announcement. Wait 5 minutes, observe announcement and command access on cabinet. Use command -> observe announcement + access change. Nukeops war is untested (I am not sure how to test this well locally. War declarator does not seem to work even with the gamerule in play and one operative alive),
Requirements
Licensing
Breaking changes
None