Ghosts do booo (spooky) (#3363)

* Light now use visualizer

* Added ghost actions

* Add hotkey input for ghosts

* no message

* Testing blinking animation

* Better animation

* Better customization

* No abuse

* Reversed sln

* No fun for ghosts

* No fun for ghosts x2

* Cooldown for lights

* Moved to component deps

* This tollist is unnecessary

* Enums to byte

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>

* Some lights can ignore ghosts now

Co-authored-by: Alex Evgrashin <evgrashin.adl@gmail.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Alex Evgrashin
2021-02-26 04:31:06 +03:00
committed by GitHub
parent d177f0fd07
commit 0fa219365e
11 changed files with 360 additions and 35 deletions

View File

@@ -0,0 +1,29 @@
#nullable enable
using Robust.Shared.Serialization;
using System;
namespace Content.Shared.GameObjects.Components.Power.ApcNetComponents.PowerReceiverUsers
{
[Serializable, NetSerializable]
public enum PoweredLightVisuals : byte
{
BulbState,
BulbColor,
Blinking
}
[Serializable, NetSerializable]
public enum PoweredLightState : byte
{
Empty,
On,
Off,
Broken,
Burned
}
public enum PoweredLightLayers : byte
{
Base
}
}