using Content.Shared.Procedural; 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("salvageDungeonMod")] public sealed class SalvageDungeonMod : IPrototype, IBiomeSpecificMod { [IdDataField] public string ID { get; } = default!; [DataField("desc")] public string Description { get; } = string.Empty; /// [DataField("cost")] public float Cost { get; } = 0f; /// [DataField("biomes", customTypeSerializer: typeof(PrototypeIdListSerializer))] public List? Biomes { get; } = null; /// /// The config to use for spawning the dungeon. /// [DataField("proto", customTypeSerializer: typeof(PrototypeIdSerializer), required: true)] public string Proto = string.Empty; }