]> git.smokeofanarchy.ru Git - space-station-14.git/commit
ItemToggle + slots stuff (#31312)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Sun, 25 Aug 2024 12:30:28 +0000 (22:30 +1000)
committerGitHub <noreply@github.com>
Sun, 25 Aug 2024 12:30:28 +0000 (22:30 +1000)
commitc0a07614c088b64303af8fe13686aa0134ed50b8
tree2b9a3a27a6d4898f1f3b103bee4d464fe9b70943
parenta89d4c750b7f571f02487100089332091b2e8620
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
Content.Shared/Containers/ItemSlot/ItemSlotsLockComponent.cs [new file with mode: 0644]
Content.Shared/Containers/ItemSlot/ItemSlotsSystem.Lock.cs [new file with mode: 0644]
Content.Shared/Containers/ItemSlot/ItemSlotsSystem.cs
Content.Shared/Item/ItemToggle/Components/ItemToggleComponent.cs
Content.Shared/Item/ItemToggle/ItemToggleSystem.cs
Content.Shared/Light/Components/ItemTogglePointLightComponent.cs [new file with mode: 0644]
Content.Shared/Light/EntitySystems/ItemTogglePointLightSystem.cs [new file with mode: 0644]
Content.Shared/Power/Components/ItemSlotRequiresPowerComponent.cs [new file with mode: 0644]
Content.Shared/Power/EntitySystems/ItemSlotRequiresPowerSystem.cs [new file with mode: 0644]
Resources/Locale/en-US/items/toggle.ftl [new file with mode: 0644]