mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
* MeineKleineAtlas * Update WonderBoxMaint.yml * WonderyWonder * CockyCock * Fix * FixLosya * Update Content.Server/Procedural/RoomFillComponent.cs * Update Resources/Prototypes/Maps/WhiteMeta.yml --------- Co-authored-by: Spatison <137375981+Spatison@users.noreply.github.com>
42 lines
1.0 KiB
C#
42 lines
1.0 KiB
C#
using Content.Shared.Whitelist;
|
|
|
|
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>
|
|
/// Min size of the possible selected room.
|
|
/// </summary>
|
|
[DataField]
|
|
public Vector2i MinSize = new (3, 3);
|
|
|
|
/// <summary>
|
|
/// Max size of the possible selected room.
|
|
/// </summary>
|
|
[DataField]
|
|
public Vector2i MaxSize = new (60, 60); // WD EDIT
|
|
|
|
/// <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 = true;
|
|
}
|