Files
crystall-punk-14/Content.Shared/_CP14/Wallpaper/CP14WallpaperComponent.cs
Ed aa5f9104df Wallpaper (#424)
* wallpaper system

* fix startup ordering

* cool doAfters

* green test wallpapers

* wallpaper finite stacks

* dev update

* Update CP14ClientWallpaperSystem.cs

* fix wall rotations

* yippee

* Update battle_royale.yml

* Update test-ship.yml
2024-08-28 15:11:32 +03:00

25 lines
629 B
C#

namespace Content.Shared._CP14.Wallpaper;
/// <summary>
/// After a delay, it adds a new layer of wallpaper, depending on the player's relative position to the wall
/// </summary>
[RegisterComponent, Access(typeof(CP14SharedWallpaperSystem))]
public sealed partial class CP14WallpaperComponent : Component
{
[DataField]
public float Delay = 1f;
[DataField(required: true)]
public string RsiPath = default!;
[DataField]
public string Bottom = "bottom";
[DataField]
public string Top = "top";
[DataField]
public string Left = "left";
[DataField]
public string Right = "right";
}