Files
SPT-Server-Build/Libraries/Core/Models/Spt/Config/LootConfig.cs
T
2025-02-07 19:36:17 +00:00

35 lines
716 B
C#

using System.Text.Json.Serialization;
using Core.Models.Eft.Common;
namespace Core.Models.Spt.Config;
public record LootConfig : BaseConfig
{
[JsonPropertyName("kind")]
public string Kind
{
get;
set;
} = "spt-loot";
/**
* Spawn positions to add into a map, key=mapid
*/
[JsonPropertyName("looseLoot")]
public Dictionary<string, Spawnpoint[]> LooseLoot
{
get;
set;
}
/**
* Loose loot probability adjustments to apply on game start
*/
[JsonPropertyName("looseLootSpawnPointAdjustments")]
public Dictionary<string, Dictionary<string, double>>? LooseLootSpawnPointAdjustments
{
get;
set;
}
}