* cable sprite * steel plates * iron wall * vladimirs resprite * resprite cables * cable item * lv cable finish * round table * curtains! (need resprite) * plates + cucumbers * more procedural cooking * some tweaks * fix test * пипяу * finish * ah * l * pip * some cool * hide station ai * revert localization * Update crates.yml * Update crates.yml * red and blue curtains * Update crates.yml * Update crates.yml * fix cupboard * Update exp_tavern.yml * fix sliceable recursion
23 lines
777 B
C#
23 lines
777 B
C#
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
using Content.Shared.Power;
|
|
|
|
namespace Content.Server.Power.Components
|
|
{
|
|
[RegisterComponent]
|
|
public sealed partial class CablePlacerComponent : Component
|
|
{
|
|
[DataField("cablePrototypeID", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
|
|
public string? CablePrototypeId = "CableHV";
|
|
|
|
[DataField("blockingWireType")]
|
|
public CableType BlockingCableType = CableType.HighVoltage;
|
|
|
|
/// <summary>
|
|
/// in the main game we can't put wires ON tiles, but here some wires can lie on top of tiles.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool CP14OnlySubfloor = true;
|
|
}
|
|
}
|