Automatic holiday sprites (#22929)
This commit is contained in:
14
Content.Client/Holiday/HolidayRsiSwapComponent.cs
Normal file
14
Content.Client/Holiday/HolidayRsiSwapComponent.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace Content.Client.Holiday;
|
||||
|
||||
/// <summary>
|
||||
/// This is used for a component that swaps an entity's RSI based on HolidayVisuals
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed partial class HolidayRsiSwapComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// A dictionary of arbitrary visual keys to an rsi to swap the sprite to.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public Dictionary<string, string> Sprite = new();
|
||||
}
|
||||
Reference in New Issue
Block a user