Improve Paper UI, allow an to entity configure how it's UI looks (#13494)

Co-authored-by: Eoin Mcloughlin <helloworld@eoinrul.es>
This commit is contained in:
eoineoineoin
2023-01-17 08:32:46 +00:00
committed by GitHub
parent 741991602f
commit bda5f8248f
48 changed files with 2212 additions and 47 deletions

View File

@@ -57,6 +57,7 @@ namespace Content.Server.Nuke
var printout = new FaxPrintout(
paperContent,
Loc.GetString("nuke-codes-fax-paper-name"),
null,
"paper_stamp-cent",
new() { Loc.GetString("stamp-component-stamped-name-centcom") });
_faxSystem.Receive(fax.Owner, printout, null, fax);
@@ -84,9 +85,9 @@ namespace Content.Server.Nuke
{
return false;
}
var owningStation = station ?? _station.GetOwningStation(uid);
// Find the first nuke that matches the passed location.
foreach (var nuke in EntityQuery<NukeComponent>())
{