]> git.smokeofanarchy.ru Git - space-station-14.git/commit
make linking logic gates 1000% better (#25041)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Mon, 12 Feb 2024 06:45:51 +0000 (06:45 +0000)
committerGitHub <noreply@github.com>
Mon, 12 Feb 2024 06:45:51 +0000 (23:45 -0700)
commitf41ece37c3bc04d77b2d0ef791d190c5c0d11f36
tree5e1bff32fb2c2b7bd4ed201916305dd07f2240f4
parent16b56c7f4564cba373be8d34a09e9d6a55a1a01d
make linking logic gates 1000% better (#25041)

* make door status use SendSignal

* LastSignals and logic, add ClearSignal api too

* make everything outputting a logic signal default to false

* refactor ops

* :trollface:

* :trollface:

* protoid for LastSignals

* oop

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
12 files changed:
Content.Client/NetworkConfigurator/NetworkConfiguratorLinkMenu.xaml.cs
Content.Server/DeviceLinking/Systems/DeviceLinkSystem.cs
Content.Server/DeviceLinking/Systems/DoorSignalControlSystem.cs
Content.Shared/DeviceLinking/DeviceLinkSourceComponent.cs
Content.Shared/DeviceLinking/SharedDeviceLinkSystem.cs
Content.Shared/DeviceNetwork/NetworkConfiguratorUserInterfaceState.cs
Resources/Prototypes/Entities/Structures/Doors/Airlocks/base_structureairlocks.yml
Resources/Prototypes/Entities/Structures/Doors/Shutter/shutters.yml
Resources/Prototypes/Entities/Structures/Doors/Windoors/base_structurewindoors.yml
Resources/Prototypes/Entities/Structures/Wallmounts/air_alarm.yml
Resources/Prototypes/Entities/Structures/Wallmounts/switch.yml
Resources/Prototypes/Entities/Structures/gates.yml