2023-06-28 14:01:27 +00:00
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Salvage.Expeditions.Modifiers;
|
|
|
|
|
|
|
|
|
|
[Prototype("salvageTemperatureMod")]
|
2023-11-01 19:56:23 -07:00
|
|
|
public sealed partial class SalvageTemperatureMod : IPrototype, IBiomeSpecificMod
|
2023-06-28 14:01:27 +00: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-06-28 14:01:27 +00:00
|
|
|
|
|
|
|
|
/// <inheritdoc/>
|
|
|
|
|
[DataField("cost")]
|
2023-08-22 18:14:33 -07:00
|
|
|
public float Cost { get; private set; } = 0f;
|
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
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Temperature in the planets air mix.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("temperature")]
|
|
|
|
|
public float Temperature = 293.15f;
|
|
|
|
|
}
|