From 683591ab046eb720e6ccfd3d0f6e5574f5f7efbc Mon Sep 17 00:00:00 2001 From: deltanedas <39013340+deltanedas@users.noreply.github.com> Date: Sun, 4 Feb 2024 23:29:35 +0000 Subject: [PATCH] criminal records revival (#22510) --- .../CriminalRecords/CrimeHistoryWindow.xaml | 15 + .../CrimeHistoryWindow.xaml.cs | 105 +++++++ ...riminalRecordsConsoleBoundUserInterface.cs | 78 +++++ .../CriminalRecordsConsoleWindow.xaml | 37 +++ .../CriminalRecordsConsoleWindow.xaml.cs | 263 +++++++++++++++++ ...lStationRecordConsoleBoundUserInterface.cs | 21 +- .../GeneralStationRecordConsoleWindow.xaml.cs | 26 +- .../Access/Systems/IdCardConsoleSystem.cs | 20 +- .../Administration/Systems/AdminSystem.cs | 4 +- .../CriminalRecordsConsoleComponent.cs | 45 +++ .../Systems/CriminalRecordsConsoleSystem.cs | 224 +++++++++++++++ .../Systems/CriminalRecordsSystem.cs | 93 ++++++ Content.Server/Mind/Commands/RenameCommand.cs | 10 +- .../StationEvents/Events/ClericalErrorRule.cs | 7 +- .../GeneralStationRecordConsoleComponent.cs | 19 +- .../StationRecords/StationRecordSet.cs | 71 +++-- .../GeneralStationRecordConsoleSystem.cs | 131 +++------ .../Systems/StationRecordsSystem.cs | 272 +++++++++++++----- .../Components/AccessReaderComponent.cs | 2 +- .../CriminalRecords/CriminalRecord.cs | 38 +++ .../CriminalRecords/CriminalRecordsUi.cs | 102 +++++++ Content.Shared/Security/SecurityStatus.cs | 15 + ...rdConsoleSystem.cs => GeneralRecordsUi.cs} | 30 +- .../StationRecords/GeneralStationRecord.cs | 22 +- .../GeneralStationRecordsFilter.cs | 38 --- .../StationRecords/StationRecordKey.cs | 10 +- .../StationRecords/StationRecordsFilter.cs | 44 +++ .../criminal-records/criminal-records.ftl | 44 +++ Resources/Locale/en-US/guidebook/guides.ftl | 1 + .../general-station-records.ftl | 7 +- .../Prototypes/Datasets/criminal_records.yml | 18 ++ .../Machines/Computers/computers.yml | 14 +- Resources/Prototypes/Guidebook/security.yml | 10 +- .../Guidebook/Security/CriminalRecords.xml | 39 +++ 34 files changed, 1550 insertions(+), 325 deletions(-) create mode 100644 Content.Client/CriminalRecords/CrimeHistoryWindow.xaml create mode 100644 Content.Client/CriminalRecords/CrimeHistoryWindow.xaml.cs create mode 100644 Content.Client/CriminalRecords/CriminalRecordsConsoleBoundUserInterface.cs create mode 100644 Content.Client/CriminalRecords/CriminalRecordsConsoleWindow.xaml create mode 100644 Content.Client/CriminalRecords/CriminalRecordsConsoleWindow.xaml.cs create mode 100644 Content.Server/CriminalRecords/Components/CriminalRecordsConsoleComponent.cs create mode 100644 Content.Server/CriminalRecords/Systems/CriminalRecordsConsoleSystem.cs create mode 100644 Content.Server/CriminalRecords/Systems/CriminalRecordsSystem.cs create mode 100644 Content.Shared/CriminalRecords/CriminalRecord.cs create mode 100644 Content.Shared/CriminalRecords/CriminalRecordsUi.cs create mode 100644 Content.Shared/Security/SecurityStatus.cs rename Content.Shared/StationRecords/{SharedGeneralStationRecordConsoleSystem.cs => GeneralRecordsUi.cs} (65%) delete mode 100644 Content.Shared/StationRecords/GeneralStationRecordsFilter.cs create mode 100644 Content.Shared/StationRecords/StationRecordsFilter.cs create mode 100644 Resources/Locale/en-US/criminal-records/criminal-records.ftl create mode 100644 Resources/Prototypes/Datasets/criminal_records.yml create mode 100644 Resources/ServerInfo/Guidebook/Security/CriminalRecords.xml diff --git a/Content.Client/CriminalRecords/CrimeHistoryWindow.xaml b/Content.Client/CriminalRecords/CrimeHistoryWindow.xaml new file mode 100644 index 00000000000000..358fade2e3c31a --- /dev/null +++ b/Content.Client/CriminalRecords/CrimeHistoryWindow.xaml @@ -0,0 +1,15 @@ + + + +