Added system to allow adjustment of static spawn weights via config

reduced `Power substation utility cabin key` on customs to 60% of original weight
This commit is contained in:
Chomp
2025-10-03 20:28:39 +01:00
parent c9575c9b30
commit 6e2286ca5b
5 changed files with 91 additions and 13 deletions
@@ -1,4 +1,5 @@
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;
@@ -19,4 +20,11 @@ public record LootConfig : BaseConfig
/// </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; }
}