Add voice locks to various hidden syndicate items (#39310)
This commit is contained in:
@@ -21,6 +21,18 @@ public sealed partial class LockComponent : Component
|
||||
[AutoNetworkedField]
|
||||
public bool Locked = true;
|
||||
|
||||
/// <summary>
|
||||
/// If true, will show verbs to lock and unlock the item. Otherwise, it will not.
|
||||
/// </summary>
|
||||
[DataField, AutoNetworkedField]
|
||||
public bool ShowLockVerbs = true;
|
||||
|
||||
/// <summary>
|
||||
/// If true will show examine text.
|
||||
/// </summary>
|
||||
[DataField, AutoNetworkedField]
|
||||
public bool ShowExamine = true;
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not the lock is locked by simply clicking.
|
||||
/// </summary>
|
||||
@@ -44,7 +56,7 @@ public sealed partial class LockComponent : Component
|
||||
/// The sound played when unlocked.
|
||||
/// </summary>
|
||||
[DataField("unlockingSound"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public SoundSpecifier UnlockSound = new SoundPathSpecifier("/Audio/Machines/door_lock_off.ogg")
|
||||
public SoundSpecifier? UnlockSound = new SoundPathSpecifier("/Audio/Machines/door_lock_off.ogg")
|
||||
{
|
||||
Params = AudioParams.Default.WithVolume(-5f),
|
||||
};
|
||||
@@ -53,7 +65,7 @@ public sealed partial class LockComponent : Component
|
||||
/// The sound played when locked.
|
||||
/// </summary>
|
||||
[DataField("lockingSound"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public SoundSpecifier LockSound = new SoundPathSpecifier("/Audio/Machines/door_lock_on.ogg")
|
||||
public SoundSpecifier? LockSound = new SoundPathSpecifier("/Audio/Machines/door_lock_on.ogg")
|
||||
{
|
||||
Params = AudioParams.Default.WithVolume(-5f)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user