mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-02 09:07:27 +00:00
* Added shark vision to Feroxi. * Fixed a bug if someone was holding a container of blood. * Updated pulse time and useDelay for the pulse. * Updated guidebook * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Cleanup * More clean-up * Removed vision goggles sound from ability * Got rid of an unused namespace * last fix I swear * Apply suggestions from code review Co-authored-by: Tobias Berger <toby@tobot.dev> Signed-off-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> * Apply suggestion from @Toby222 Co-authored-by: Tobias Berger <toby@tobot.dev> Signed-off-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> * Removed SharedLightSystem from SharkVisionOverlay --------- Signed-off-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Tobias Berger <toby@tobot.dev>
25 lines
710 B
C#
25 lines
710 B
C#
using Content.Shared._Goobstation.Overlays;
|
|
using Content.Shared.Chemistry.Reagent;
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared._DV.Overlays.Components;
|
|
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class SharkVisionComponent : SwitchableVisionOverlayComponent
|
|
{
|
|
[DataField]
|
|
public override EntProtoId? ToggleAction { get; set; } = "ActionSharkVisionPulse";
|
|
|
|
[DataField]
|
|
public override Color Color { get; set; } = Color.FromHex("#fc0800ff");
|
|
|
|
public readonly ProtoId<ReagentPrototype>[] BloodPrototypes = [
|
|
"Blood",
|
|
"InsectBlood",
|
|
"AmmoniaBlood",
|
|
"CopperBlood",
|
|
"ZombieBlood",
|
|
];
|
|
}
|