space-station-14 icon indicating copy to clipboard operation
space-station-14 copied to clipboard

Add an option to the admin fax menu to lock papers such that they can't be edited by cybersun pens

Open dffdff2423 opened this issue 2 months ago • 5 comments

About the PR

Adds an option to the admin fax UI to lock papers such that they cannot be edited by IC means at all.

Why / Balance

Faxes with a CC stamp are often interpreted by players to be sanction from the admins (both from an IC and OOC prospective). This removes the possibility of people exploiting admin faxes to their own gain. The option was left as a toggle so that admins can use it as they feel is appropriate because I can think of quite a few situations where they would not want to lock a fax (eg. sending a syndicate fax).

Technical details

Adds a field to paper component that disables editing the paper. Most of the code is just ensuring that this field never gets "lost". Let me know if I missed an edge case.

Media

locked-image

  • [X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

  • The public action on the admin fax ui got an additional field. This was only used one time in the entire codebase so is probably negligible.
  • A few constructors gained a "locked" parameter. This was made optional where appropriate

Changelog

ADMIN: :cl: Aquif

  • add: It is now possible to "lock" admin faxes such that they cannot be edited by cybersun pens or any other IC means.

dffdff2423 avatar Jun 14 '24 04:06 dffdff2423