ff1dfa54ae
* Do a small pass on SPT's config's to reduce warnings and cleanup * Revert * Revert EFT models * Set list as null
35 lines
826 B
C#
35 lines
826 B
C#
using System.Text.Json.Serialization;
|
|
using SPTarkov.Server.Core.Models.Eft.Common;
|
|
|
|
namespace SPTarkov.Server.Core.Models.Spt.Config;
|
|
|
|
public record LootConfig : BaseConfig
|
|
{
|
|
[JsonPropertyName("kind")]
|
|
public override string Kind
|
|
{
|
|
get;
|
|
set;
|
|
} = "spt-loot";
|
|
|
|
/// <summary>
|
|
/// Spawn positions to add into a map, key=mapid
|
|
/// </summary>
|
|
[JsonPropertyName("looseLoot")]
|
|
public required Dictionary<string, Spawnpoint[]> LooseLoot
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Loose loot probability adjustments to apply on game start
|
|
/// </summary>
|
|
[JsonPropertyName("looseLootSpawnPointAdjustments")]
|
|
public required Dictionary<string, Dictionary<string, double>> LooseLootSpawnPointAdjustments
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|