2024-02-01 22:30:46 +00:00
|
|
|
using Content.Shared.Roles;
|
2023-08-14 12:06:21 +00:00
|
|
|
using Content.Shared.SprayPainter.Prototypes;
|
2024-02-01 22:30:46 +00:00
|
|
|
using Robust.Shared.GameStates;
|
|
|
|
|
using Robust.Shared.Prototypes;
|
2023-08-14 12:06:21 +00:00
|
|
|
|
2024-02-01 22:30:46 +00:00
|
|
|
namespace Content.Shared.SprayPainter.Components;
|
2023-08-14 12:06:21 +00:00
|
|
|
|
2024-02-01 22:30:46 +00:00
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class PaintableAirlockComponent : Component
|
2023-08-14 12:06:21 +00:00
|
|
|
{
|
2024-02-01 22:30:46 +00:00
|
|
|
/// <summary>
|
|
|
|
|
/// Group of styles this airlock can be painted with, e.g. glass, standard or external.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField(required: true), AutoNetworkedField]
|
|
|
|
|
public ProtoId<AirlockGroupPrototype> Group = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Department this airlock is painted as, or none.
|
|
|
|
|
/// Must be specified in prototypes for turf war to work.
|
|
|
|
|
/// To better catch any mistakes, you need to explicitly state a non-styled airlock has a null department.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField(required: true), AutoNetworkedField]
|
|
|
|
|
public ProtoId<DepartmentPrototype>? Department;
|
2023-08-14 12:06:21 +00:00
|
|
|
}
|