using Content.Shared.FixedPoint; using Content.Shared.Roles; using Content.Shared.Storage; using Robust.Shared.Network; using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Server.GameTicking.Rules.Components; /// /// Gamerule that sets a random weather effect for this map. /// [RegisterComponent, Access(typeof(RandomWeatherRuleSystem))] public sealed partial class RandomWeatherRuleComponent : Component { [DataField("allowedWeathers")] public List AllowedWeathers = ["Clear"]; [DataField("currentWeather")] public string CurrentWeather = "Clear"; /// /// List of pre-set colors, mostly for tdm maps so we can set fixed times of day. /// [DataField("dayTimes")] public List DayTimes = [ "Day", //Daylight #D8B059 "Dawn", //Dawn/Dusk #cf7330 "Night", //Moonlight #2b3143 ]; }