Files
crystall-punk-14/Content.Server/Procedural/RoomFillComponent.cs
Ed 6147740f3e Try fix master constantly fails (#567)
* try to fix

* Update entities.ftl

* Update entities.ftl

* Update entities.ftl

* Update entities.ftl

* Update entities.ftl

* Update entities.ftl
2024-11-09 13:07:12 +03:00

38 lines
940 B
C#

using Content.Shared.Procedural;
using Content.Shared.Whitelist;
using Robust.Shared.Prototypes;
namespace Content.Server.Procedural;
/// <summary>
/// Marker that indicates the specified room prototype should occupy this space.
/// </summary>
[RegisterComponent]
public sealed partial class RoomFillComponent : Component
{
/// <summary>
/// Are we allowed to rotate room templates?
/// If the room is not a square this will only do 180 degree rotations.
/// </summary>
[DataField]
public bool Rotation = true;
/// <summary>
/// Size of the room to fill.
/// </summary>
[DataField]
public Vector2i? Size;
/// <summary>
/// Rooms allowed for the marker.
/// </summary>
[DataField]
public EntityWhitelist? RoomWhitelist;
/// <summary>
/// Should any existing entities / decals be bulldozed first.
/// </summary>
[DataField]
public bool ClearExisting;
}