]> git.smokeofanarchy.ru Git - space-station-14.git/commit
LockVisualizer (#25224)
authorMilenVolf <63782763+MilenVolf@users.noreply.github.com>
Fri, 16 Feb 2024 23:52:31 +0000 (02:52 +0300)
committerGitHub <noreply@github.com>
Fri, 16 Feb 2024 23:52:31 +0000 (16:52 -0700)
commitc7870882f6f956eea07cbb4738ae45c8805c8ce6
treeb902adce42842918c9d8862dd1bcee12772d3e45
parent19a7b0592cfd0bf360ad24eebb8196312c56b8e3
LockVisualizer (#25224)

* LockVisualizer

* Fix state

* Clean some code

* Make it component, fix tests fail

* Fix for StateUnlocked

Now it is possible to manually set the unlocked state and it will work!

* Optimize LockVisualizer, add check for unlocked state

* No todo I guess
27 files changed:
Content.Client/Lock/Visualizers/LockVisualizerSystem.cs [new file with mode: 0644]
Content.Client/Lock/Visualizers/LockVisualsComponent.cs [new file with mode: 0644]
Content.Client/Singularity/Systems/EmitterSystem.cs
Content.Client/Storage/Visualizers/EntityStorageVisualizerSystem.cs
Content.Client/Storage/Visualizers/EntityStorageVisualsComponent.cs
Content.Server/Atmos/Piping/Unary/EntitySystems/GasCanisterSystem.cs
Content.Shared/Atmos/Piping/Binary/Components/SharedGasCanisterComponent.cs
Content.Shared/Lock/LockComponent.cs
Content.Shared/Lock/LockSystem.cs
Content.Shared/Security/DeployableBarrierVisuals.cs [deleted file]
Content.Shared/Security/Systems/DeployableBarrierSystem.cs
Content.Shared/Storage/StorageComponent.cs
Resources/Prototypes/Entities/Objects/Specific/Security/barrier.yml
Resources/Prototypes/Entities/Objects/Specific/Xenoarchaeology/artifact_equipment.yml
Resources/Prototypes/Entities/Structures/Machines/anomaly_equipment.yml
Resources/Prototypes/Entities/Structures/Power/Generation/Singularity/emitter.yml
Resources/Prototypes/Entities/Structures/Storage/Canisters/gas_canisters.yml
Resources/Prototypes/Entities/Structures/Storage/Closets/Lockers/base_structurelockers.yml
Resources/Prototypes/Entities/Structures/Storage/Closets/base_structureclosets.yml
Resources/Prototypes/Entities/Structures/Storage/Crates/base_structurecrates.yml
Resources/Textures/Objects/Specific/Security/barrier.rsi/locked.png [moved from Resources/Textures/Objects/Specific/Security/barrier.rsi/deployed.png with 100% similarity]
Resources/Textures/Objects/Specific/Security/barrier.rsi/meta.json
Resources/Textures/Structures/Power/Generation/Singularity/emitter.rsi/locked.png [moved from Resources/Textures/Structures/Power/Generation/Singularity/emitter.rsi/lock.png with 100% similarity]
Resources/Textures/Structures/Power/Generation/Singularity/emitter.rsi/meta.json
Resources/Textures/Structures/Storage/canister.rsi/locked.png [moved from Resources/Textures/Structures/Storage/canister.rsi/can-locked.png with 100% similarity]
Resources/Textures/Structures/Storage/canister.rsi/meta.json
Resources/Textures/Structures/Storage/canister.rsi/unlocked.png [moved from Resources/Textures/Structures/Storage/canister.rsi/can-unlocked.png with 100% similarity]