Files
crystall-punk-14/Content.Server
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-06 12:44:05 +10:00
2023-08-08 10:30:46 -08:00
2023-05-10 10:01:23 +10:00
2023-08-05 12:18:09 +10:00
2023-06-27 21:28:51 +10:00
2023-07-19 02:55:50 -06:00
2023-08-09 19:43:06 -06:00
2023-02-12 02:35:05 +00:00
2023-06-19 04:33:19 +10:00
2023-08-01 17:43:02 +03:00
2023-08-06 12:44:05 +10:00
2023-06-29 22:35:54 +10:00
2023-08-07 19:09:35 +10:00
2023-08-05 16:53:02 -04:00
2023-04-02 21:13:48 -04:00
2023-08-01 19:48:56 -05:00
2023-06-19 04:33:19 +10:00
2023-06-29 22:35:54 +10:00
2023-05-22 15:49:37 -06:00
2023-08-02 16:09:08 -05:00
2023-04-29 13:16:24 +10:00
2023-08-04 02:56:39 -06:00
2023-04-29 15:32:14 +10:00
2023-04-29 13:16:24 +10:00
2023-08-07 11:47:34 -06:00
2023-08-04 21:41:33 -06:00
2023-08-02 19:47:18 +10:00
2023-08-05 20:23:38 -05:00
2023-08-05 12:26:42 +10:00
2023-07-18 21:44:00 +10:00
2023-06-29 22:35:54 +10:00
2023-05-06 20:30:16 +10:00
2023-08-02 16:09:08 -05:00
2023-06-27 20:30:03 -04:00
2023-08-08 00:21:04 +10:00
2023-08-05 12:18:29 +10:00
2023-08-05 12:17:36 +10:00
2023-06-15 10:49:23 +10:00
2023-07-09 02:02:17 +10:00
2023-08-07 13:29:10 +10:00
2023-05-29 10:44:11 +10:00
2023-02-28 08:15:48 -08:00
2023-08-02 16:09:08 -05:00
2023-08-06 00:38:14 -06:00
2023-08-08 22:05:05 -06:00
2023-06-19 04:33:19 +10:00
2023-07-13 00:20:39 -06:00
2023-07-11 22:26:19 -06:00
2023-08-06 12:44:05 +10:00
2023-06-21 11:04:07 +10:00
2023-05-01 23:46:59 +10:00
2023-05-17 23:55:42 +10:00
2023-05-29 10:44:11 +10:00
2023-07-11 17:58:18 -06:00
2023-04-03 12:42:30 +10:00
2023-06-27 21:46:48 -04:00
2023-07-28 23:14:39 -05:00
2023-06-19 04:33:19 +10:00
2023-03-23 19:54:41 -06:00
2023-07-23 14:19:51 +10:00
2022-12-02 17:23:43 -08:00
2023-08-01 17:43:02 +03:00
2023-05-07 13:14:54 +10:00
2023-07-23 14:19:51 +10:00
2023-07-18 21:44:00 +10:00
2023-06-16 20:58:17 +10:00
2023-03-31 14:40:38 +11:00
2023-08-05 12:18:09 +10:00
2023-01-16 10:52:52 -06:00
2023-08-07 18:28:59 -06:00
2023-07-23 14:19:51 +10:00
2023-03-27 22:40:57 +11:00
2023-08-07 11:27:46 -06:00
2023-08-01 19:48:56 -05:00