Singularity fixes (#4383)
* Singularity fixes * Fix the rest * Woops * ahh * Nerf singulo for now * Final touchups for now * Review
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
using Content.Shared.Singularity.Components;
|
||||
using Robust.Client.GameObjects;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Log;
|
||||
|
||||
namespace Content.Client.Singularity.Components
|
||||
{
|
||||
public class ContainmentFieldComponent : Component
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(SharedContainmentFieldComponent))]
|
||||
public class ContainmentFieldComponent : SharedContainmentFieldComponent
|
||||
{
|
||||
public override string Name => "ContainmentField";
|
||||
|
||||
// Jesus what is this code.
|
||||
// Singulo cleanup WHEEENNN
|
||||
private SpriteComponent? _spriteComponent;
|
||||
|
||||
protected override void Initialize()
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
using Content.Shared.Singularity.Components;
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Client.Singularity.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(SharedContainmentFieldGeneratorComponent))]
|
||||
public sealed class ContainmentFieldGeneratorComponent : SharedContainmentFieldGeneratorComponent
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,7 @@ using JetBrains.Annotations;
|
||||
using Robust.Client.GameObjects;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
using Robust.Shared.Utility;
|
||||
|
||||
namespace Content.Client.Singularity.Visualizers
|
||||
{
|
||||
@@ -33,8 +34,7 @@ namespace Content.Client.Singularity.Visualizers
|
||||
return;
|
||||
}
|
||||
|
||||
sprite.LayerSetRSI(Layer, "Structures/Power/Generation/Singularity/singularity_" + level + ".rsi");
|
||||
sprite.LayerSetState(Layer, "singularity_" + level);
|
||||
sprite.LayerSetSprite(Layer, new SpriteSpecifier.Rsi(new ResourcePath("Structures/Power/Generation/Singularity/singularity_" + level + ".rsi"), "singularity_" + level));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user