diff --git a/Content.Server/_White/RandomArtifacts/RandomArtifactsSystem.cs b/Content.Server/_White/RandomArtifacts/RandomArtifactsSystem.cs index 69053520ad..f97fd93f9a 100644 --- a/Content.Server/_White/RandomArtifacts/RandomArtifactsSystem.cs +++ b/Content.Server/_White/RandomArtifacts/RandomArtifactsSystem.cs @@ -23,7 +23,7 @@ public sealed class RandomArtifactsSystem : EntitySystem [Dependency] private readonly StationSystem _station = default!; [Dependency] private readonly IComponentFactory _componentFactory = default!; - private float _itemToArtifactRatio; // from 0 to 100. In % percents. Default is 0.4% + private float _itemToArtifactRatio; // from 0 to 100. In % percents. Default is 0.5% private bool _artifactsEnabled; public override void Initialize() @@ -76,7 +76,7 @@ public sealed class RandomArtifactsSystem : EntitySystem continue; // var artifactComponent = EnsureComp(entity); - var comp = (ArtifactComponent) _componentFactory.GetComponent("Artifact"); + var comp = (ArtifactComponent)_componentFactory.GetComponent("Artifact"); comp.Owner = entity; _artifactsSystem.SafeRandomizeArtifact(entity, ref comp); AddComp(entity, comp); @@ -88,7 +88,7 @@ public sealed class RandomArtifactsSystem : EntitySystem private HashSet GetPercentageOfHashSet(List sourceList, float percentage) { - var countToAdd = (int) Math.Round((double) sourceList.Count * percentage / 100); + var countToAdd = (int)Math.Round((double)sourceList.Count * percentage / 100); return sourceList.Where(x => !Transform(x.Owner).Anchored).Take(countToAdd).ToHashSet(); } diff --git a/Content.Shared/_White/WhiteCVars.cs b/Content.Shared/_White/WhiteCVars.cs index 851d84167c..842b5524d2 100644 --- a/Content.Shared/_White/WhiteCVars.cs +++ b/Content.Shared/_White/WhiteCVars.cs @@ -418,7 +418,7 @@ public sealed class WhiteCVars CVarDef.Create("white.random_artifacts_enabled", true, CVar.SERVERONLY); public static readonly CVarDef ItemToArtifactRatio = - CVarDef.Create("white.random_artifacts_ratio", 0.4f, CVar.SERVERONLY); + CVarDef.Create("white.random_artifacts_ratio", 0.5f, CVar.SERVERONLY); public static readonly CVarDef ACWebhook = CVarDef.Create("ac.webhook", "", CVar.SERVERONLY);