ItemToggle + slots stuff (#31312)

* ItemToggle + slots stuff

- Add component for itemslot locks to match LockComponent (surprised this didn't exist).
- Add thing for pointlight to match itemtoggle. In future should be used for PDAs and stuff but need to fix some other stuff first.

* Also this

* grill
This commit is contained in:
metalgearsloth
2024-08-25 22:30:28 +10:00
committed by GitHub
parent a89d4c750b
commit c0a07614c0
10 changed files with 163 additions and 17 deletions

View File

@@ -0,0 +1,12 @@
using Robust.Shared.GameStates;
namespace Content.Shared.Light.Components;
/// <summary>
/// Toggles point light on an entity whenever ItemToggle hits.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class ItemTogglePointLightComponent : Component
{
}