Move PaperSystem to Shared (#30592)

* Fix paper system late localization

* IS THIS WHAT YOU WANT

* well I guess this is happening now

* fix the BUI

* did that even do anything before?

* again with the escapeformatting...

* Dirtying

* Move dirty to function

* Rename PaperSystem to PaperVisualizerSystem

* Fix namespace

* how many namespace changes must I suffer through

* SetContent is for Setting Content

* minor shuffling

* review

---------

Co-authored-by: plykiya <plykiya@protonmail.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Plykiya
2024-08-09 18:31:41 +01:00
committed by deltanedas
co-authored by plykiya metalgearsloth
parent 53e1aeaeb3
commit 752a49284e
24 changed files with 320 additions and 353 deletions
+2 -2
View File
@@ -2,7 +2,6 @@ using System.Diagnostics.CodeAnalysis;
using Content.Server.Chat.Systems;
using Content.Server.Fax;
using Content.Shared.Fax.Components;
using Content.Server.Paper;
using Content.Server.Station.Components;
using Content.Server.Station.Systems;
using Content.Shared.Paper;
@@ -38,7 +37,8 @@ namespace Content.Server.Nuke
if (TryGetRelativeNukeCode(uid, out var paperContent, station, onlyCurrentStation: component.AllNukesAvailable))
{
_paper.SetContent(uid, paperContent);
if (TryComp<PaperComponent>(uid, out var paperComp))
_paper.SetContent((uid, paperComp), paperContent);
}
}