]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Security barriers take 5 seconds to (un)lock (#24637)
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Sun, 28 Jan 2024 00:28:02 +0000 (01:28 +0100)
committerGitHub <noreply@github.com>
Sun, 28 Jan 2024 00:28:02 +0000 (11:28 +1100)
commit8ca7cb59a3b83e86c9b27a9549bf85a9f914b6fe
treeae5c0c51693c16ef4cf62a0616b4833dae33e666
parent3e3cb10a96993b711ea8aeb696f157f40c728e49
Security barriers take 5 seconds to (un)lock (#24637)

People are using these as unhackable and hard-to-tailgate airlocks into sec. They should not be trivial for security officers to move through.

Made LockComponent have configurable lock times to implement this.
Content.Shared/Lock/LockComponent.cs
Content.Shared/Lock/LockSystem.cs
Resources/Prototypes/Entities/Objects/Specific/Security/barrier.yml