Automatic holiday sprites (#22929)

This commit is contained in:
Nemanja
2023-12-25 01:52:43 -05:00
committed by GitHub
parent 2d213b8ab0
commit 00813171c1
25 changed files with 237 additions and 9 deletions

View File

@@ -0,0 +1,17 @@
using Robust.Shared.Prototypes;
namespace Content.Server.Holiday;
/// <summary>
/// This is used for an entity that enables unique visuals on specified holidays.
/// </summary>
[RegisterComponent]
public sealed partial class HolidayVisualsComponent : Component
{
/// <summary>
/// A dictionary relating a generic key to a list of holidays.
/// If any of the holidays are being celebrated, that key will be set for holiday visuals.
/// </summary>
[DataField]
public Dictionary<string, List<ProtoId<HolidayPrototype>>> Holidays = new();
}