mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* giant protoid cleanup * yml changes * ! --------- Co-authored-by: deltanedas <@deltanedas:goida.zip>
34 lines
1 KiB
C#
34 lines
1 KiB
C#
using Robust.Shared.Prototypes;
|
|
using Content.Shared.Power;
|
|
using Content.Shared.Whitelist;
|
|
|
|
namespace Content.Server.Power.Components
|
|
{
|
|
[RegisterComponent]
|
|
public sealed partial class CablePlacerComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The structure prototype for the cable coil to place.
|
|
/// </summary>
|
|
[DataField("cablePrototypeID", required: true)]
|
|
public EntProtoId CablePrototypeId;
|
|
|
|
/// <summary>
|
|
/// What kind of wire prevents placing this wire over it as CableType.
|
|
/// </summary>
|
|
[DataField("blockingWireType")]
|
|
public CableType BlockingCableType = CableType.HighVoltage;
|
|
|
|
/// <summary>
|
|
/// Blacklist for things the cable cannot be placed over. For things that arent cables with CableTypes.
|
|
/// </summary>
|
|
[DataField]
|
|
public EntityWhitelist Blacklist = new();
|
|
|
|
/// <summary>
|
|
/// Whether the placed cable should go over tiles or not.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool OverTile;
|
|
}
|
|
}
|