27 lines
883 B
C#
27 lines
883 B
C#
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
namespace Content.Server.Holosign
|
|
{
|
|
[RegisterComponent]
|
|
public sealed partial class HolosignProjectorComponent : Component
|
|
{
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("signProto", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
|
|
public string SignProto = "HolosignWetFloor";
|
|
|
|
/// <summary>
|
|
/// How much charge a single use expends.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite), DataField("chargeUse")]
|
|
public float ChargeUse = 50f;
|
|
|
|
// Sunrise - Start
|
|
/// <summary>
|
|
/// How many holosigns can be in one tile at once.
|
|
/// </summary>
|
|
[DataField]
|
|
public int CountPerTileLimit = 3;
|
|
// Sunrise - End
|
|
}
|
|
}
|