criminal records revival (#22510)

This commit is contained in:
deltanedas
2024-02-04 23:29:35 +00:00
committed by GitHub
parent c856dd7506
commit 683591ab04
34 changed files with 1564 additions and 339 deletions

View File

@@ -0,0 +1,44 @@
criminal-records-console-window-title = Criminal Records Computer
criminal-records-console-records-list-title = Crewmembers
criminal-records-console-select-record-info = Select a record.
criminal-records-console-no-records = No records found!
criminal-records-console-no-record-found = No record was found for the selected person.
## Status
criminal-records-console-status = Status
criminal-records-status-none = None
criminal-records-status-wanted = Wanted
criminal-records-status-detained = Detained
criminal-records-console-wanted-reason = [color=gray]Wanted Reason[/color]
criminal-records-console-reason = Reason
criminal-records-console-reason-placeholder = For example: {$placeholder}
## Crime History
criminal-records-console-crime-history = Crime History
criminal-records-history-placeholder = Write the crime here
criminal-records-no-history = This crewmember's record is spotless.
criminal-records-add-history = Add
criminal-records-delete-history = Delete
criminal-records-permission-denied = Permission denied
## Security channel notifications
criminal-records-console-wanted = {$name} is wanted by {$officer} for: {$reason}.
criminal-records-console-detained = {$name} has been detained by {$officer}.
criminal-records-console-released = {$name} has been released by {$officer}.
criminal-records-console-not-wanted = {$name} is no longer wanted.
## Filters
criminal-records-filter-placeholder = Input text and press "Enter"
criminal-records-name-filter = Name
criminal-records-prints-filter = Fingerprints
criminal-records-dna-filter = DNA
## Arrest auto history lines
criminal-records-console-auto-history = ARRESTED: {$reason}
criminal-records-console-unspecified-reason = <unspecified reason>

View File

@@ -48,6 +48,7 @@ guide-entry-cyborgs = Cyborgs
guide-entry-security = Security
guide-entry-forensics = Forensics
guide-entry-defusal = Large Bomb Defusal
guide-entry-criminal-records = Criminal Records
guide-entry-antagonists = Antagonists
guide-entry-nuclear-operatives = Nuclear Operatives

View File

@@ -1,4 +1,4 @@
general-station-record-console-window-title = Station Records Computer
general-station-record-console-window-title = Station Records Computer
general-station-record-console-select-record-info = Select a record on the left.
general-station-record-console-empty-state = No records found!
general-station-record-console-no-record-found = No record was found for the selected person.
@@ -11,8 +11,5 @@ general-station-record-console-record-fingerprint = Fingerprint: {$fingerprint}
general-station-record-console-record-dna = DNA: {$dna}
general-station-record-for-filter-line-placeholder = Input text and press "Enter"
general-station-record-name-filter = Name of person
general-station-record-prints-filter = Fingerprints
general-station-record-dna-filter = DNA
general-station-record-console-search-records = Search
general-station-record-console-reset-filters = Reset
general-station-record-console-reset-filters = Reset

View File

@@ -0,0 +1,18 @@
# "funny" placeholders of extremely minor/non-crimes for wanted reason dialog
- type: dataset
id: CriminalRecordsWantedReasonPlaceholders
values:
- Ate their own shoes
- Being a clown
- Being a mime
- Breathed the wrong way
- Broke into evac
- Did literally nothing
- Didn't say hello to me
- Drank one too many
- Lied on common radio
- Looked at me funny
- Slipped the HoS
- Stole the clown's mask
- Told an unfunny joke
- Wore a gasmask

View File

@@ -285,8 +285,15 @@
parent: BaseComputer
id: ComputerCriminalRecords
name: criminal records computer
description: This can be used to check criminal records.
description: This can be used to check criminal records. Only security can modify them.
components:
- type: CriminalRecordsConsole
- type: UserInterface
interfaces:
- key: enum.CriminalRecordsConsoleKey.Key
type: CriminalRecordsConsoleBoundUserInterface
- type: ActivatableUI
key: enum.CriminalRecordsConsoleKey.Key
- type: Sprite
layers:
- map: ["computerLayerBody"]
@@ -303,6 +310,11 @@
color: "#1f8c28"
- type: Computer
board: CriminalRecordsComputerCircuitboard
- type: AccessReader
access: [["Security"]]
- type: GuideHelp
guides:
- CriminalRecords
- type: entity
parent: BaseComputer

View File

@@ -3,8 +3,9 @@
name: guide-entry-security
text: "/ServerInfo/Guidebook/Security/Security.xml"
children:
- Forensics
- Defusal
- Forensics
- Defusal
- CriminalRecords
- type: guideEntry
id: Forensics
@@ -15,3 +16,8 @@
id: Defusal
name: guide-entry-defusal
text: "/ServerInfo/Guidebook/Security/Defusal.xml"
- type: guideEntry
id: CriminalRecords
name: guide-entry-criminal-records
text: "/ServerInfo/Guidebook/Security/CriminalRecords.xml"

View File

@@ -0,0 +1,39 @@
<Document>
# Criminal Records
The criminal records console is accessible in every station's security department, it serves the purpose of tracking and managing the criminal history and status of anybody part of the crew manifest.
<Box>
<GuideEntityEmbed Entity="ComputerCriminalRecords"/>
</Box>
Anyone can open the console's UI, but only those with Security access can modify anything.
The UI is composed by the following elements:
- A search bar that has a filter next to it that lets you filter the crewmembers by their names, fingerprints or DNA.
- A list of all the crewmembers in the manifest, selecting one of the entries will make the criminal records of a crewmember appear. The list is filtered by the search bar so make sure it's empty if you want an overall overview!
- The criminal records themselves
In the record section you can:
- See security-related information about a crewmember like their name, fingerprints and DNA.
- Change the security status between [color=gray]None[/color], [color=yellow]Wanted[/color] and [color=red]Detained[/color]. When setting it to Wanted you will be asked to write a reason.
- If they are wanted, you can see the reason given below the status dropdown.
- Once someone has been arrested, update their status on the console so everyone knows they no longer need to be captured.
- After they've done their time, release them and update their status to None so nobody thinks they are an escaped convict.
- Open the Crime History window to check or modify it.
The Crime History window lists someone's crimes and can be modified in multiple ways:
- Automatically, just by setting someone's status to arrested. The reason will be added to "ARRESTED:" so it's easy to see the automated entries.
- Adding a new line by clicking "Add" and writing something in the input box. When adding a record, remember to mention their crime and sentence, the console will automatically insert the shift's time so you don't need to!
- Select a line of unwanted history and click "Delete" to remove it. Excellent for keeping records clean from the clown's stolen ID antics.
Now you can be the desk jockey you've always wanted to be.
</Document>