]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Radio jammer update! (#25912)
authorbeck-thompson <107373427+beck-thompson@users.noreply.github.com>
Thu, 25 Apr 2024 02:19:16 +0000 (19:19 -0700)
committerGitHub <noreply@github.com>
Thu, 25 Apr 2024 02:19:16 +0000 (12:19 +1000)
commitd3b1178428e9e0e714e51523558335589078a76c
treeedbb53e430ce7670b076955dfed0e50cf9284b42
parent6d16d6b1c973dfc5da7ec7e6cc3529b39a9dbf69
Radio jammer update! (#25912)

* Added selectable power level to radio jammer

* Cleaned up OnGetVerb

* Settings are now stored in the .yml file. Simplified stuff a lot!

* Minor fixes!

* Small little baby fix :)

* Added the power level switch to the examine menu and also removed the ftl file as it was in the incorrect location.

* Minor code cleanup

* Changed byte -> int

* Update sprite

* Fixed licence

* Added power LED that changes if the jammer is on low power.

* Removed tabs

* Changed github link to the commit

* Changed all the RemComp to RemComDeferred

* Moved NetworkedComponent to shared

* Changed radio jammer textures back with minor edits

* Added a space because it was annoying me

* Jammer now updates range for suit sensors properly! Thanks nikthechampiongr :)

* Removed useless comment

* Cleaned up code that updates the range of tracking devices.

* Fixed client namespace and removed newline

* Cleaned up ChangeLEDState and ChangeChargeLevel.

* Added comments

* Read only

* Fixed another comment

* Locked in

* Made server inherit shared

* Update Content.Shared/Radio/EntitySystems/SharedJammerSystem.cs

* Update Content.Shared/Radio/EntitySystems/SharedJammerSystem.cs

* review fixes

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
14 files changed:
Content.Client/DeviceNetwork/JammerSystem.cs [new file with mode: 0644]
Content.Server/Radio/Components/RadioJammerComponent.cs [deleted file]
Content.Server/Radio/EntitySystems/JammerSystem.cs
Content.Shared/Radio/Components/SharedRadioJammerComponent.cs [new file with mode: 0644]
Content.Shared/Radio/EntitySystems/SharedJammerSystem.cs [new file with mode: 0644]
Content.Shared/Verbs/VerbCategory.cs
Resources/Locale/en-US/radio/components/radio-jammer-component.ftl
Resources/Locale/en-US/verbs/verb-system.ftl
Resources/Prototypes/Entities/Objects/Tools/jammer.yml
Resources/Textures/Objects/Devices/jammer.rsi/jammer.png
Resources/Textures/Objects/Devices/jammer.rsi/jammer_high_charge.png [new file with mode: 0644]
Resources/Textures/Objects/Devices/jammer.rsi/jammer_low_charge.png [new file with mode: 0644]
Resources/Textures/Objects/Devices/jammer.rsi/jammer_medium_charge.png [new file with mode: 0644]
Resources/Textures/Objects/Devices/jammer.rsi/meta.json