Files
tbd-station-14/Content.Shared/Salvage/Expeditions/Modifiers/SalvageTemperatureMod.cs
DrSmugleaf 00826aaad6 Replace usages of customTypeSerializer PrototypeIdListSerializer with something that doesn't take 20 separate words to type out (#37959)
* 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
2025-07-10 05:06:51 +02:00

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;
}