Singularity testing map & "startsingularityengine" admin command (#2752)

* Singularity Testing Map: Add a command to auto-config the singularity engine

* Singularity Testing Map: Add the singularity testing map

A derivative of 20kdcstation.
This commit is contained in:
20kdc
2020-12-17 07:20:57 +00:00
committed by GitHub
parent c707fad909
commit d870a13445
4 changed files with 2751 additions and 5 deletions

View File

@@ -168,7 +168,7 @@ namespace Content.Server.GameObjects.Components.Singularity
return Task.FromResult(true);
}
private void SwitchOff()
public void SwitchOff()
{
_isOn = false;
_powerConsumer.DrawRate = 0;
@@ -176,7 +176,7 @@ namespace Content.Server.GameObjects.Components.Singularity
UpdateAppearance();
}
private void SwitchOn()
public void SwitchOn()
{
_isOn = true;
_powerConsumer.DrawRate = _powerUseActive;