* 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
25 lines
629 B
C#
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";
|
|
}
|