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")]
|
2023-11-01 19:56:23 -07:00
|
|
|
public sealed partial class SalvageLightMod : IPrototype, IBiomeSpecificMod
|
2023-04-20 10:43:13 +10:00
|
|
|
{
|
|
|
|
|
[IdDataField] public string ID { get; } = default!;
|
|
|
|
|
|
2023-08-22 18:14:33 -07:00
|
|
|
[DataField("desc")] public string Description { get; private set; } = string.Empty;
|
2023-04-20 10:43:13 +10:00
|
|
|
|
2023-06-28 14:01:27 +00:00
|
|
|
/// <inheritdoc/>
|
2023-04-20 10:43:13 +10:00
|
|
|
[DataField("cost")]
|
2023-08-22 18:14:33 -07:00
|
|
|
public float Cost { get; private set; } = 0f;
|
2023-04-20 10:43:13 +10:00
|
|
|
|
2023-06-28 14:01:27 +00:00
|
|
|
/// <inheritdoc/>
|
2023-09-19 22:52:01 +10:00
|
|
|
[DataField("biomes", customTypeSerializer: typeof(PrototypeIdListSerializer<SalvageBiomeModPrototype>))]
|
2023-08-22 18:14:33 -07:00
|
|
|
public List<string>? Biomes { get; private set; } = null;
|
2023-06-28 14:01:27 +00:00
|
|
|
|
|
|
|
|
[DataField("color", required: true)] public Color? Color;
|
2023-04-20 10:43:13 +10:00
|
|
|
}
|