]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Ports the singularity's values from vgstation (#28720)
authorFlareguy <78941145+Flareguy@users.noreply.github.com>
Sat, 8 Jun 2024 02:15:13 +0000 (21:15 -0500)
committerGitHub <noreply@github.com>
Sat, 8 Jun 2024 02:15:13 +0000 (22:15 -0400)
* ports the singularity values from vgstation

* guidebook fix

* 5000 energy level 6 singulo

Content.Server/Singularity/EntitySystems/SingularitySystem.cs
Resources/ServerInfo/Guidebook/Engineering/Singularity.xml

index de7df32374142c0613c606e0ff277f5eb548e27d..b273b2099d3bb4f544c3e39487e35cb29b021b92 100644 (file)
@@ -132,10 +132,12 @@ public sealed class SingularitySystem : SharedSingularitySystem
         singularity.Energy = value;
         SetLevel(uid, value switch
         {
-            >= 2400 => 6,
-            >= 1600 => 5,
-            >= 900 => 4,
-            >= 300 => 3,
+                       // Normally, a level 6 singularity requires the supermatter + 3000 energy.
+                       // The required amount of energy has been bumped up to compensate for the lack of the supermatter.
+            >= 5000 => 6,
+            >= 2000 => 5,
+            >= 1000 => 4,
+            >= 500 => 3,
             >= 200 => 2,
             > 0 => 1,
             _ => 0
@@ -319,11 +321,11 @@ public sealed class SingularitySystem : SharedSingularitySystem
     {
         comp.EnergyDrain = args.NewValue switch
         {
-            6 => 20,
-            5 => 15,
-            4 => 12,
-            3 => 8,
-            2 => 2,
+            6 => 0,
+            5 => 0,
+            4 => 20,
+            3 => 10,
+            2 => 5,
             1 => 1,
             _ => 0
         };
index 3c0dd665e25e6f60392a8543a12ae65536cfccba..68814522788d4661c7b0b64938277e38f247a1d5 100644 (file)
@@ -88,8 +88,7 @@
 
   [color=red]Do not[/color] turn the PA on unless all the other subsystems are working properly and there is enough power to start the engine.
 
-  Turn power on using the PA control computer. Set the strength to an appropiate level. Currently the only appropriate level is [color=#f0684d]1[/color]; anything above that will ensure that singularity grows too strong to handle.
-  The higher the output stength is set on PA control computer, the bigger the singularity will be.
+  Turn power on using the PA control computer. Set the strength to an appropiate level. The higher the output stength is set on PA control computer, the bigger the singularity will be.
 
   Currently, the output power does not affect the ball lightning, beyond giving the ball lightning extra orbs around it.