Cargo request and bounty console deny sound cooldown (#37234)
* Cargo bounty console deny sound cooldown * ordering computer cooldown * Update Content.Shared/Cargo/Components/CargoBountyConsoleComponent.cs Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * Update Content.Shared/Cargo/Components/CargoBountyConsoleComponent.cs Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * Update Content.Server/Cargo/Systems/CargoSystem.Bounty.cs Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * AutoGenerateComponentPause --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
@@ -126,6 +126,18 @@ public sealed partial class CargoOrderConsoleComponent : Component
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public SoundSpecifier ScanSound = new SoundCollectionSpecifier("CargoBeep");
|
||||
|
||||
/// <summary>
|
||||
/// The time at which the console will be able to play the deny sound.
|
||||
/// </summary>
|
||||
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer)), AutoPausedField]
|
||||
public TimeSpan NextDenySoundTime = TimeSpan.Zero;
|
||||
|
||||
/// <summary>
|
||||
/// The time between playing the deny sound.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public TimeSpan DenySoundDelay = TimeSpan.FromSeconds(2);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user