using Content.Shared.Parallax.Biomes;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Shared.Salvage.Expeditions.Modifiers;
///
/// Affects the biome to be used for salvage.
///
[Prototype("salvageBiomeMod")]
public sealed class SalvageBiomeMod : IPrototype, ISalvageMod
{
[IdDataField] public string ID { get; } = default!;
[DataField("desc")] public string Description { get; } = string.Empty;
///
/// Cost for difficulty modifiers.
///
[DataField("cost")]
public float Cost { get; } = 0f;
///
/// Is weather allowed to apply to this biome.
///
[DataField("weather")]
public bool Weather = true;
[DataField("biome", required: true, customTypeSerializer:typeof(PrototypeIdSerializer))]
public string? BiomePrototype;
}