Sentry turrets - Part 8: AI notifications (#35277)

This commit is contained in:
chromiumboy
2025-08-08 13:56:01 -05:00
committed by GitHub
parent 1d21e13360
commit c3555af821
10 changed files with 291 additions and 72 deletions

View File

@@ -20,20 +20,4 @@ public sealed partial class IntellicardComponent : Component
/// </summary>
[DataField, AutoNetworkedField]
public int UploadTime = 3;
/// <summary>
/// The sound that plays for the AI
/// when they are being downloaded
/// </summary>
[DataField, AutoNetworkedField]
public SoundSpecifier? WarningSound = new SoundPathSpecifier("/Audio/Misc/notice2.ogg");
/// <summary>
/// The delay before allowing the warning to play again in seconds.
/// </summary>
[DataField, AutoNetworkedField]
public TimeSpan WarningDelay = TimeSpan.FromSeconds(8);
[ViewVariables]
public TimeSpan NextWarningAllowed = TimeSpan.Zero;
}