diff --git a/Content.Server/Botany/Components/SeedComponent.cs b/Content.Server/Botany/Components/SeedComponent.cs
index f475ec3cfc445a..ffa1b7ef4e98bb 100644
--- a/Content.Server/Botany/Components/SeedComponent.cs
+++ b/Content.Server/Botany/Components/SeedComponent.cs
@@ -24,7 +24,7 @@ public sealed partial class SeedComponent : SharedSeedComponent
///
/// Name of a base seed prototype that is used if is null.
///
- [DataField("seedId", customTypeSerializer:typeof(PrototypeIdSerializer))]
+ [DataField("seedId", customTypeSerializer: typeof(PrototypeIdSerializer))]
public string? SeedId;
}
}
diff --git a/Content.Server/Botany/Systems/MutationSystem.cs b/Content.Server/Botany/Systems/MutationSystem.cs
index c7ce5d47efa45b..474859823a3906 100644
--- a/Content.Server/Botany/Systems/MutationSystem.cs
+++ b/Content.Server/Botany/Systems/MutationSystem.cs
@@ -2,10 +2,8 @@
using Robust.Shared.Random;
using Content.Shared.Random;
using Content.Shared.Random.Helpers;
-using Content.Shared.Chemistry.Reagent;
using System.Linq;
using Content.Shared.Atmos;
-using FastAccessors;
namespace Content.Server.Botany;
@@ -42,6 +40,7 @@ public void MutateSeed(ref SeedData seed, float severity)
// Add up everything in the bits column and put the number here.
const int totalbits = 275;
+ #pragma warning disable IDE0055 // disable formatting warnings because this looks more readable
// Tolerances (55)
MutateFloat(ref seed.NutrientConsumption , 0.05f, 1.2f, 5, totalbits, severity);
MutateFloat(ref seed.WaterConsumption , 3f , 9f , 5, totalbits, severity);
@@ -75,6 +74,7 @@ public void MutateSeed(ref SeedData seed, float severity)
MutateBool(ref seed.TurnIntoKudzu , true , 10, totalbits, severity);
MutateBool(ref seed.CanScream , true , 10, totalbits, severity);
seed.BioluminescentColor = RandomColor(seed.BioluminescentColor, 10, totalbits, severity);
+ #pragma warning restore IDE0055
// ConstantUpgade (10)
MutateHarvestType(ref seed.HarvestRepeat, 10, totalbits, severity);
@@ -261,7 +261,7 @@ private void MutateChemicals(ref Dictionary chemicals,
{
var pick = _randomChems.Pick(_robustRandom);
string chemicalId = pick.reagent;
- int amount = _robustRandom.Next(1, ((int)pick.quantity));
+ int amount = _robustRandom.Next(1, (int)pick.quantity);
SeedChemQuantity seedChemQuantity = new SeedChemQuantity();
if (chemicals.ContainsKey(chemicalId))
{
@@ -274,7 +274,7 @@ private void MutateChemicals(ref Dictionary chemicals,
seedChemQuantity.Max = 1 + amount;
seedChemQuantity.Inherent = false;
}
- int potencyDivisor = (int) Math.Ceiling(100.0f / seedChemQuantity.Max);
+ int potencyDivisor = (int)Math.Ceiling(100.0f / seedChemQuantity.Max);
seedChemQuantity.PotencyDivisor = potencyDivisor;
chemicals[chemicalId] = seedChemQuantity;
}
diff --git a/Content.Server/Botany/Systems/SeedExtractorSystem.cs b/Content.Server/Botany/Systems/SeedExtractorSystem.cs
index f1ae6c9f11ae9e..9a5e70762e78ec 100644
--- a/Content.Server/Botany/Systems/SeedExtractorSystem.cs
+++ b/Content.Server/Botany/Systems/SeedExtractorSystem.cs
@@ -29,12 +29,12 @@ private void OnInteractUsing(EntityUid uid, SeedExtractorComponent seedExtractor
return;
if (!_botanySystem.TryGetSeed(produce, out var seed) || seed.Seedless)
{
- _popupSystem.PopupCursor(Loc.GetString("seed-extractor-component-no-seeds",("name", args.Used)),
+ _popupSystem.PopupCursor(Loc.GetString("seed-extractor-component-no-seeds", ("name", args.Used)),
args.User, PopupType.MediumCaution);
return;
}
- _popupSystem.PopupCursor(Loc.GetString("seed-extractor-component-interact-message",("name", args.Used)),
+ _popupSystem.PopupCursor(Loc.GetString("seed-extractor-component-interact-message", ("name", args.Used)),
args.User, PopupType.Medium);
QueueDel(args.Used);