6e2286ca5b
reduced `Power substation utility cabin key` on customs to 60% of original weight
31 lines
1.1 KiB
C#
31 lines
1.1 KiB
C#
using System.Text.Json.Serialization;
|
|
using SPTarkov.Server.Core.Models.Common;
|
|
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; }
|
|
|
|
/// <summary>
|
|
/// Reduce weighting of static items per location
|
|
/// // value = percentage of original weight to use
|
|
/// </summary>
|
|
[JsonPropertyName("staticItemWeightReduction")]
|
|
public required Dictionary<string, Dictionary<MongoId, double>> StaticItemWeightReduction { get; set; }
|
|
}
|