Minor paper ECS and stamps (#7394)

Co-authored-by: fishfish458 <fishfish458>
This commit is contained in:
Fishfish458
2022-04-08 17:37:22 -06:00
committed by GitHub
parent eac154ca1b
commit ddf2d8815b
23 changed files with 450 additions and 133 deletions

View File

@@ -27,6 +27,7 @@ namespace Content.Server.Disease
[Dependency] private readonly PopupSystem _popupSystem = default!;
[Dependency] private readonly IRobustRandom _random = default!;
[Dependency] private readonly InventorySystem _inventorySystem = default!;
[Dependency] private readonly PaperSystem _paperSystem = default!;
public override void Initialize()
{
@@ -344,7 +345,7 @@ namespace Content.Server.Disease
}
MetaData(printed).EntityName = reportTitle;
paper.SetContent(contents.ToMarkup());
_paperSystem.SetContent(printed, contents.ToMarkup(), paper);
}
/// <summary>