diff --git a/Libraries/SPTarkov.Server.Assets/SPT_Data/configs/loot.json b/Libraries/SPTarkov.Server.Assets/SPT_Data/configs/loot.json index de12903f..cdfe9fbf 100644 --- a/Libraries/SPTarkov.Server.Assets/SPT_Data/configs/loot.json +++ b/Libraries/SPTarkov.Server.Assets/SPT_Data/configs/loot.json @@ -9,7 +9,7 @@ "rezervbase": {}, "tarkovstreets": {} }, - "staticItemWeightReduction": { + "staticItemWeightAdjustment": { "bigmap": { "5ad5d49886f77455f9731921": 60 } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/LootConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/LootConfig.cs index 75706682..51234483 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/LootConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/LootConfig.cs @@ -22,9 +22,9 @@ public record LootConfig : BaseConfig public required Dictionary> LooseLootSpawnPointAdjustments { get; set; } /// - /// Reduce weighting of static items per location + /// Adjust weighting of static items per location /// // value = percentage of original weight to use /// - [JsonPropertyName("staticItemWeightReduction")] - public required Dictionary> StaticItemWeightReduction { get; set; } + [JsonPropertyName("staticItemWeightAdjustment")] + public required Dictionary> StaticItemWeightAdjustment { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Services/PostDbLoadService.cs b/Libraries/SPTarkov.Server.Core/Services/PostDbLoadService.cs index 5fa0f24e..8605fa10 100644 --- a/Libraries/SPTarkov.Server.Core/Services/PostDbLoadService.cs +++ b/Libraries/SPTarkov.Server.Core/Services/PostDbLoadService.cs @@ -374,7 +374,7 @@ public class PostDbLoadService( protected void ReduceStaticItemWeight() { - foreach (var (locationId, itemTplWeightDict) in LootConfig.StaticItemWeightReduction) + foreach (var (locationId, itemTplWeightDict) in LootConfig.StaticItemWeightAdjustment) { databaseService .GetLocation(locationId)