Add new trigger to ion storm to scramble ID cards #11366
Closed
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.
[STATION SYSTEMS] [FEATURE]
About the PR
Adds a new
ion_category
which queries all player ID cards and randomly choose 5 of them to scramble their access. The modifier is currently removing a 5th of all accesses available, with a minimum of one. Afterwards, it will add 1 or 2 random accesses back to the card, excluding any removed ones.The excluded accesses are
access_fuck_all
(to avoid breaking stuff),access_maxsec
(for armory) andaccess_change_ids
(to allow an easy reversion), as well as maintaining all hidden accesses such as syndicate which would be otherwise unobtainable.Finally, it will use the
radioGarbleText()
method to scramble the name on the ID card.Why's this needed?
This change is part of a long series of changes that I'm planning to make HoP gameplay more varied and interesting. A small subset of players on the station will suddenly find themselves unable to access a location, or dislike their new garbled name, and seek out the HoP to have them fix it. Additionally, it simply adds an additional layer of variety to the game, and fits well into the thematic of an ion storm messing with all electronic devices.
Changelog