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

* Add option to adminfax for locking papers.

* Replace dummy control with margin
This commit is contained in:
dffdff2423
2024-07-10 00:28:36 -05:00
committed by GitHub
parent 8d48096c57
commit e8b3042a38
12 changed files with 40 additions and 11 deletions

View File

@@ -1,3 +1,4 @@
using Content.Server.Construction.Conditions;
using Content.Server.DeviceNetwork.Components;
using Content.Server.EUI;
using Content.Shared.Eui;
@@ -56,7 +57,8 @@ public sealed class AdminFaxEui : BaseEui
case AdminFaxEuiMsg.Send sendData:
{
var printout = new FaxPrintout(sendData.Content, sendData.Title, null, null, sendData.StampState,
new() { new StampDisplayInfo { StampedName = sendData.From, StampedColor = sendData.StampColor } });
new() { new StampDisplayInfo { StampedName = sendData.From, StampedColor = sendData.StampColor } },
locked: sendData.Locked);
_faxSystem.Receive(_entityManager.GetEntity(sendData.Target), printout);
break;
}