Powered light ECS (#5028)

* Brrrr ECS

* Create lit on powered system

* Light bulb ECS

* Finishing porting to ECS

* Minor touches

* Removed events

* Removed old comments

* Fixed test

* To popup system
This commit is contained in:
Alex Evgrashin
2021-10-27 04:24:22 +03:00
committed by GitHub
parent 60b3ff59cf
commit 6e00104260
9 changed files with 502 additions and 405 deletions

View File

@@ -0,0 +1,27 @@
using Robust.Shared.Serialization;
using System;
namespace Content.Shared.Light
{
[Serializable, NetSerializable]
public enum LightBulbState : byte
{
Normal,
Broken,
Burned,
}
[Serializable, NetSerializable]
public enum LightBulbVisuals : byte
{
State,
Color
}
[Serializable, NetSerializable]
public enum LightBulbType : byte
{
Bulb,
Tube,
}
}