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:
@@ -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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user