Files

23 lines
789 B
C#
Raw Permalink Normal View History

2023-04-20 10:43:13 +10:00
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
namespace Content.Shared.Salvage.Expeditions.Modifiers;
[Prototype("salvageLightMod")]
public sealed partial class SalvageLightMod : IPrototype, IBiomeSpecificMod
2023-04-20 10:43:13 +10:00
{
[IdDataField] public string ID { get; } = default!;
[DataField("desc")] public string Description { get; private set; } = string.Empty;
2023-04-20 10:43:13 +10:00
/// <inheritdoc/>
2023-04-20 10:43:13 +10:00
[DataField("cost")]
public float Cost { get; private set; } = 0f;
2023-04-20 10:43:13 +10:00
/// <inheritdoc/>
2023-09-19 22:52:01 +10:00
[DataField("biomes", customTypeSerializer: typeof(PrototypeIdListSerializer<SalvageBiomeModPrototype>))]
public List<string>? Biomes { get; private set; } = null;
[DataField("color", required: true)] public Color? Color;
2023-04-20 10:43:13 +10:00
}