using Content.Shared.Weather; using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List; namespace Content.Shared.Salvage.Expeditions.Modifiers; [Prototype("salvageWeatherMod")] public sealed partial class SalvageWeatherMod : IPrototype, IBiomeSpecificMod { [IdDataField] public string ID { get; private set; } = default!; [DataField("desc")] public LocId Description { get; private set; } = string.Empty; /// [DataField("cost")] public float Cost { get; private set; } = 0f; /// [DataField("biomes", customTypeSerializer: typeof(PrototypeIdListSerializer))] public List? Biomes { get; private set; } = null; /// /// Weather prototype to use on the planet. /// [DataField("weather", required: true, customTypeSerializer:typeof(PrototypeIdSerializer))] public string WeatherPrototype = string.Empty; }