Files
crystall-punk-14/Content.Shared
chromiumboy 636819f4e3 Hacking protections for airlocks (#18894)
* Adds the ability to better protect to the internal wiring of airlocks
- Achieved by opening the maintenance panel, adding either steel or plasteel to the airlock, then welding the plate in place
- To access the wiring, the plating must be cut with a welder and then pried out with a crowbar

* Code revisions
- Cleaned up the code
- Cutting the security grille can now shock you
- Atmospherics and Security dept airlocks start with a medium level of protection (a welded steel plate)
- Command dept airlocks start with a high level of protection (a welded plasteel plate and electrified security grille)

* Code revision
- Accounted for a potentially null string

* Update Content.Server/Construction/Completions/AttemptElectrocute.cs

Co-authored-by: Slava0135 <40753025+Slava0135@users.noreply.github.com>

* Update ChangeWiresPanelSecurityLevel.cs

Adjusted scope

* Update Content.Shared/Wires/SharedWiresSystem.cs

Co-authored-by: Slava0135 <40753025+Slava0135@users.noreply.github.com>

* Update Content.Shared/Wires/SharedWiresSystem.cs

Co-authored-by: Slava0135 <40753025+Slava0135@users.noreply.github.com>

* Update ChangeWiresPanelSecurityLevel.cs

Removed get / setter and added [ValidatePrototypeId] attribute

* Update ChangeWiresPanelSecurityLevel.cs

Set security level to "Level0" as the default

* Update airlock.yml

Removed 'super max' level of security

* Update WiresPanelSecurityLevelPrototype.cs

* Update WiresSystem.cs

Added check for WiresAccessible to OnInteractUsing

* Update AttemptElectrocute.cs

File scoped namespace

* Update ChangeWiresPanelSecurityLevel.cs

File scoped namespace

* Update AirlockSystem.cs

File scoped namespace

* Update SharedWiresSystem.cs

Removed boiler plate 'OnGetState' and 'OnHandleState'

* Update WiresPanelComponent.cs

Implemented AutoGenerateComponentState

* Removed unnecessary usage references

* use TryCloseAll when wires not accessible

* minor changes to AttemmptElectrocute

* lets try all 7 levels

* fix indent in airlock graph

* fix indent 2

---------

Co-authored-by: Slava0135 <40753025+Slava0135@users.noreply.github.com>
Co-authored-by: Slava0135 <super.novalskiy_0135@inbox.ru>
2023-08-10 11:33:03 +03:00
..
2023-08-08 10:30:46 -08:00
2023-08-02 16:09:08 -05:00
2023-06-28 08:02:06 -04:00
2023-06-15 21:25:25 +10:00
2023-07-19 02:55:50 -06:00
2023-08-06 12:44:05 +10:00
2022-05-13 17:59:03 +10:00
2023-08-02 16:09:08 -05:00
2023-08-04 18:24:20 -04:00
2023-07-30 12:53:54 -06:00
2023-04-18 22:46:00 -07:00
2022-08-03 21:05:17 -07:00
2023-03-06 11:09:24 -08:00
2023-01-15 00:01:47 -04:00
2023-05-11 23:19:08 +10:00
2022-11-15 22:30:59 +11:00
2023-07-06 13:39:34 +10:00
2023-06-30 18:10:47 -04:00
2023-02-13 13:29:34 +00:00
2022-06-23 14:33:07 +10:00
2023-05-04 12:02:30 -07:00
2023-04-18 22:46:00 -07:00
2023-05-22 15:49:37 -06:00
2023-04-29 13:16:24 +10:00
2023-04-02 21:13:48 -04:00
2023-04-29 15:32:14 +10:00
2023-04-16 23:20:57 -07:00
2023-04-02 21:13:48 -04:00
2022-05-13 17:59:03 +10:00
2023-08-02 19:47:18 +10:00
2023-06-30 15:07:44 -04:00
2023-04-02 21:13:48 -04:00
2023-07-18 21:44:00 +10:00
2023-05-06 20:30:16 +10:00
2023-02-12 12:40:57 +00:00
2022-10-25 11:06:00 +11:00
2023-04-02 21:13:48 -04:00
2023-08-01 19:48:56 -05:00
2023-06-27 20:30:03 -04:00
2022-05-13 17:59:03 +10:00
2023-08-08 00:21:04 +10:00
2023-06-04 15:45:02 -05:00
2023-05-22 23:18:51 +10:00
2023-06-27 22:48:06 -04:00
2023-04-02 21:13:48 -04:00
2023-07-17 01:47:20 -06:00
2023-06-15 10:49:23 +10:00
2023-05-29 10:44:11 +10:00
2022-05-25 13:16:34 -07:00
2023-04-02 21:13:48 -04:00
2022-05-13 17:59:03 +10:00
2023-02-13 13:29:34 +00:00
2023-07-13 00:20:39 -06:00
2023-05-27 14:22:22 +10:00
2022-09-16 07:37:15 -07:00
2023-06-03 12:08:52 -07:00
2023-05-01 23:46:59 +10:00
2023-05-29 10:44:11 +10:00
2023-06-28 14:03:16 -06:00
2023-07-11 17:58:18 -06:00
2022-09-15 03:30:56 +10:00
2023-04-02 21:13:48 -04:00
2023-04-02 21:13:48 -04:00
2022-05-13 17:59:03 +10:00
2022-05-13 17:59:03 +10:00
2022-05-13 17:59:03 +10:00
2023-07-15 13:59:45 -06:00
2023-04-16 23:07:03 -07:00
2022-05-13 17:59:03 +10:00
2022-10-16 08:49:22 -07:00
2023-04-02 21:13:48 -04:00
2023-05-07 13:14:54 +10:00
2023-04-02 21:13:48 -04:00
2023-05-07 17:50:37 +10:00
2022-05-13 17:59:03 +10:00
2023-06-13 19:32:03 -06:00
2022-10-25 11:06:00 +11:00
2023-04-19 01:47:01 -06:00
2023-08-04 02:56:39 -06:00
2023-04-14 01:45:58 -07:00
2023-06-29 19:24:43 -04:00
2023-08-07 18:28:59 -06:00
2022-02-07 02:59:41 +11:00
2023-04-02 21:13:48 -04:00
2023-05-02 00:25:33 +10:00
2022-09-29 12:22:27 +10:00
2023-02-17 01:29:44 +01:00
2022-05-13 17:59:03 +10:00
2023-08-06 12:55:38 +10:00
2022-02-05 11:39:36 -07:00