Files
crystall-punk-14/Resources/Prototypes
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-05-01 17:13:56 +10:00
2023-08-07 15:29:00 -06:00
2023-08-04 15:21:28 +10:00
2023-08-04 15:21:28 +10:00
2023-08-04 10:59:53 +10:00
2023-08-02 00:10:48 +10:00
2023-07-30 12:53:54 -06:00
2023-08-09 19:43:06 -06:00
2023-05-03 21:35:32 -06:00
2023-07-29 23:27:21 -06:00
2023-08-06 00:38:14 -06:00
2023-03-10 16:41:22 +11:00
2023-08-09 19:43:06 -06:00
2023-08-08 11:08:53 +10:00
2023-06-27 20:31:53 -04:00
2023-08-08 20:10:46 -07:00
2023-08-08 22:05:05 -06:00
2023-08-05 20:23:38 -05:00
2023-05-29 15:11:52 +10:00
2023-05-17 23:55:42 +10:00
2023-05-28 14:06:15 -06:00
2023-05-12 13:39:18 -07:00
2022-11-14 13:09:38 -06:00
2023-01-17 20:26:52 +11:00