mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 02:41:18 +03:00
32 lines
864 B
C#
32 lines
864 B
C#
using Robust.Shared.Audio;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.Research.TechnologyDisk.Components;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class DiskConsoleComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// How much it costs to print a disk
|
|
/// </summary>
|
|
[DataField]
|
|
public int PricePerDisk = 1000;
|
|
|
|
/// <summary>
|
|
/// The prototype of what's being printed
|
|
/// </summary>
|
|
[DataField]
|
|
public EntProtoId DiskPrototype = "TechnologyDisk";
|
|
|
|
/// <summary>
|
|
/// How long it takes to print <see cref="DiskPrototype"/>
|
|
/// </summary>
|
|
[DataField]
|
|
public TimeSpan PrintDuration = TimeSpan.FromSeconds(1);
|
|
|
|
/// <summary>
|
|
/// The sound made when printing occurs
|
|
/// </summary>
|
|
[DataField]
|
|
public SoundSpecifier PrintSound = new SoundPathSpecifier("/Audio/Machines/printer.ogg");
|
|
}
|