23 lines
789 B
C#
23 lines
789 B
C#
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
|
|
{
|
|
[IdDataField] public string ID { get; } = default!;
|
|
|
|
[DataField("desc")] public string Description { get; private set; } = string.Empty;
|
|
|
|
/// <inheritdoc/>
|
|
[DataField("cost")]
|
|
public float Cost { get; private set; } = 0f;
|
|
|
|
/// <inheritdoc/>
|
|
[DataField("biomes", customTypeSerializer: typeof(PrototypeIdListSerializer<SalvageBiomeModPrototype>))]
|
|
public List<string>? Biomes { get; private set; } = null;
|
|
|
|
[DataField("color", required: true)] public Color? Color;
|
|
}
|