]> git.smokeofanarchy.ru Git - space-station-14.git/commit
add power sensor (#20400)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Sat, 16 Dec 2023 18:32:42 +0000 (18:32 +0000)
committerGitHub <noreply@github.com>
Sat, 16 Dec 2023 18:32:42 +0000 (11:32 -0700)
commitd8ee36d7b0bac053f285847fc30d860f38b39679
treee296b9c60f8d40e38914ce0b46638ed5f4c4bdcd
parentc936f5adc345d217534face79cd04a33137b9437
add power sensor (#20400)

* clean up logic gate / edge detector components

* logic gate usedelay support

* new codersprite

* PowerSensor component and system

* add power sensor

* port locale

* fix

* minecraft

* fixy

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
13 files changed:
Content.Server/DeviceLinking/Components/EdgeDetectorComponent.cs
Content.Server/DeviceLinking/Components/LogicGateComponent.cs
Content.Server/DeviceLinking/Components/PowerSensorComponent.cs [new file with mode: 0644]
Content.Server/DeviceLinking/Systems/LogicGateSystem.cs
Content.Server/DeviceLinking/Systems/PowerSensorSystem.cs [new file with mode: 0644]
Resources/Locale/en-US/logic-gates/logic-gates.ftl
Resources/Locale/en-US/machine-linking/transmitter_ports.ftl
Resources/Prototypes/DeviceLinking/source_ports.yml
Resources/Prototypes/Entities/Structures/gates.yml
Resources/Prototypes/Recipes/Construction/Graphs/tools/logic_gate.yml
Resources/Prototypes/Recipes/Construction/tools.yml
Resources/Textures/Objects/Devices/gates.rsi/meta.json
Resources/Textures/Objects/Devices/gates.rsi/power_sensor.png [new file with mode: 0644]