tech disk 1984 (no tier 3) (#16646)

This commit is contained in:
Nemanja
2023-05-19 22:10:28 -04:00
committed by GitHub
parent c9c449a422
commit 3c80f279dc
3 changed files with 40 additions and 8 deletions

View File

@@ -7,15 +7,27 @@ namespace Content.Server.Research.TechnologyDisk.Components;
[RegisterComponent]
public sealed class DiskConsoleComponent : Component
{
/// <summary>
/// How much it costs to print a disk
/// </summary>
[DataField("pricePerDisk"), ViewVariables(VVAccess.ReadWrite)]
public int PricePerDisk = 2500;
public int PricePerDisk = 1000;
[DataField("diskPrototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
/// <summary>
/// The prototype of what's being printed
/// </summary>
[DataField("diskPrototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>)), ViewVariables(VVAccess.ReadWrite)]
public string DiskPrototype = "TechnologyDisk";
[DataField("printDuration")]
/// <summary>
/// How long it takes to print <see cref="DiskPrototype"/>
/// </summary>
[DataField("printDuration"), ViewVariables(VVAccess.ReadWrite)]
public TimeSpan PrintDuration = TimeSpan.FromSeconds(1);
/// <summary>
/// The sound made when printing occurs
/// </summary>
[DataField("printSound")]
public SoundSpecifier PrintSound = new SoundPathSpecifier("/Audio/Machines/printer.ogg");
}