* Replace usages of customTypeSerializer PrototypeIdListSerializer with something that doesn't take 20 separate words to type out * Missed one * Missed another * Fix data field ids
26 lines
748 B
C#
26 lines
748 B
C#
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Salvage.Expeditions.Modifiers;
|
|
|
|
[Prototype("salvageTemperatureMod")]
|
|
public sealed partial class SalvageTemperatureMod : IPrototype, IBiomeSpecificMod
|
|
{
|
|
[IdDataField] public string ID { get; private set; } = default!;
|
|
|
|
[DataField("desc")] public LocId Description { get; private set; } = string.Empty;
|
|
|
|
/// <inheritdoc/>
|
|
[DataField("cost")]
|
|
public float Cost { get; private set; } = 0f;
|
|
|
|
/// <inheritdoc/>
|
|
[DataField]
|
|
public List<ProtoId<SalvageBiomeModPrototype>>? Biomes { get; private set; } = null;
|
|
|
|
/// <summary>
|
|
/// Temperature in the planets air mix.
|
|
/// </summary>
|
|
[DataField("temperature")]
|
|
public float Temperature = 293.15f;
|
|
}
|