Add custom paper for forensic scanner output (#16221)

Co-authored-by: Eoin Mcloughlin <helloworld@eoinrul.es>
This commit is contained in:
eoineoineoin
2023-05-31 10:09:05 +01:00
committed by GitHub
parent ee2fea7520
commit c8a2fb6cd4
8 changed files with 259 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
using System.Threading;
using Robust.Shared.Audio;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.Forensics
{
@@ -72,5 +74,12 @@ namespace Content.Server.Forensics
/// </summary>
[DataField("soundPrint")]
public SoundSpecifier SoundPrint = new SoundPathSpecifier("/Audio/Machines/short_print_and_rip.ogg");
/// <summary>
/// What the machine will print
/// </summary>
[DataField("machineOutput", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
public string MachineOutput = "ForensicReportPaper";
}
}