mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-04 05:17:28 +00:00
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
(cherry picked from commit c7870882f6)
This commit is contained in:
@@ -32,20 +32,6 @@ public sealed partial class EntityStorageVisualsComponent : Component
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public string? StateDoorClosed;
|
||||
|
||||
/// <summary>
|
||||
/// The RSI state used for the lock indicator while the storage is locked.
|
||||
/// </summary>
|
||||
[DataField("stateLocked")]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public string? StateLocked = "locked";
|
||||
|
||||
/// <summary>
|
||||
/// The RSI state used for the lock indicator while the storage is unlocked.
|
||||
/// </summary>
|
||||
[DataField("stateUnlocked")]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public string? StateUnlocked = "unlocked";
|
||||
|
||||
/// <summary>
|
||||
/// The drawdepth the object has when it's open
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user