Renamed variable to improved clarity

This commit is contained in:
Chomp
2025-10-03 20:33:29 +01:00
parent b25d0dc148
commit 6311f7a355
3 changed files with 5 additions and 5 deletions
@@ -9,7 +9,7 @@
"rezervbase": {},
"tarkovstreets": {}
},
"staticItemWeightReduction": {
"staticItemWeightAdjustment": {
"bigmap": {
"5ad5d49886f77455f9731921": 60
}
@@ -22,9 +22,9 @@ public record LootConfig : BaseConfig
public required Dictionary<string, Dictionary<string, double>> LooseLootSpawnPointAdjustments { get; set; }
/// <summary>
/// Reduce weighting of static items per location
/// Adjust 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; }
[JsonPropertyName("staticItemWeightAdjustment")]
public required Dictionary<string, Dictionary<MongoId, double>> StaticItemWeightAdjustment { get; set; }
}
@@ -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)