mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
ports all changes to the AAC tablet and the AAC tablet itself. also puts it in items loadout. 🆑 - add: Ported the AAC tablet from Delta-V. --------- Co-authored-by: portfiend <109661617+portfiend@users.noreply.github.com> Co-authored-by: deltanedas <39013340+deltanedas@users.noreply.github.com> Co-authored-by: Milon <plmilonpl@gmail.com> Co-authored-by: deltanedas <@deltanedas:kde.org> Co-authored-by: Milon <milonpl.git@proton.me> Co-authored-by: keekee38 <iamabanana372456@gmail.com> (cherry picked from commit 5f39fa26f8c0370baae6ee5b33bfaeda451ed4a3)
16 lines
523 B
C#
16 lines
523 B
C#
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
|
|
|
namespace Content.Server.DeltaV.AACTablet;
|
|
|
|
[RegisterComponent, AutoGenerateComponentPause]
|
|
public sealed partial class AACTabletComponent : Component
|
|
{
|
|
// Minimum time between each phrase, to prevent spam
|
|
[DataField]
|
|
public TimeSpan Cooldown = TimeSpan.FromSeconds(1);
|
|
|
|
// Time that the next phrase can be sent.
|
|
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer)), AutoPausedField]
|
|
public TimeSpan NextPhrase;
|
|
}
|