From 41735eba97e9fcfc68497ec43f86ea430792aa3a Mon Sep 17 00:00:00 2001 From: Whatstone Date: Sat, 18 Jan 2025 19:28:10 -0500 Subject: [PATCH] fax stamp protection --- Content.Client/Fax/AdminUI/AdminFaxEui.cs | 2 +- Content.Client/Fax/AdminUI/AdminFaxWindow.xaml | 3 +++ .../Fax/AdminUI/AdminFaxWindow.xaml.cs | 5 +++-- Content.Server/Fax/AdminUI/AdminFaxEui.cs | 2 +- Content.Server/Fax/FaxConstants.cs | 1 + Content.Server/Fax/FaxSystem.cs | 16 ++++++++++++++-- Content.Server/Nuke/NukeCodePaperSystem.cs | 3 ++- .../Components/RandomFaxRuleComponent.cs | 4 ++++ .../_NF/StationEvents/Events/RandomFaxRule.cs | 6 ++++-- Content.Shared/Fax/AdminFaxEui.cs | 4 +++- .../Fax/Components/FaxMachineComponent.cs | 6 +++++- Resources/Locale/en-US/fax/fax-admin.ftl | 11 +++++++++-- 12 files changed, 50 insertions(+), 13 deletions(-) diff --git a/Content.Client/Fax/AdminUI/AdminFaxEui.cs b/Content.Client/Fax/AdminUI/AdminFaxEui.cs index 452c54eb797..3e79e2c6870 100644 --- a/Content.Client/Fax/AdminUI/AdminFaxEui.cs +++ b/Content.Client/Fax/AdminUI/AdminFaxEui.cs @@ -16,7 +16,7 @@ public AdminFaxEui() _window.OnClose += () => SendMessage(new AdminFaxEuiMsg.Close()); _window.OnFollowFax += entity => SendMessage(new AdminFaxEuiMsg.Follow(entity)); _window.OnMessageSend += args => SendMessage(new AdminFaxEuiMsg.Send(args.entity, args.title, - args.stampedBy, args.message, args.stampSprite, args.stampColor, args.locked)); + args.stampedBy, args.message, args.stampSprite, args.stampColor, args.locked, args.stampProtected)); // Frontier } public override void Opened() diff --git a/Content.Client/Fax/AdminUI/AdminFaxWindow.xaml b/Content.Client/Fax/AdminUI/AdminFaxWindow.xaml index dc4092a3b53..6a8b1ee8e76 100644 --- a/Content.Client/Fax/AdminUI/AdminFaxWindow.xaml +++ b/Content.Client/Fax/AdminUI/AdminFaxWindow.xaml @@ -24,6 +24,9 @@