mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-28 02:57:52 +03:00
* mass clean up
(cherry picked from commit 12bb873b02c1ef50e20763542b030452cc0613da)
* Revert "Centrifuge buff (#393)"
This reverts commit 2a59a18230.
(cherry picked from commit 9ee495ab4bb365e1ccd3dc627ecb55114fea6944)
* Shoving merge conflict
* fix rich traitor
* fix test
* yml
* fix test
* fix test
* ohh
32 lines
831 B
C#
32 lines
831 B
C#
using Content.Server.GameTicking.Rules.Components;
|
|
|
|
namespace Content.Server._White.GameTicking.Aspects.Components;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class TraitoredAspectComponent : Component
|
|
{
|
|
[DataField]
|
|
public TimeSpan AnnouncedForTraitorsVia = TimeSpan.FromSeconds(60);
|
|
|
|
[DataField]
|
|
public TimeSpan AnnouncedForAllViaMin = TimeSpan.FromSeconds(300);
|
|
|
|
[DataField]
|
|
public TimeSpan AnnouncedForAllViaMax = TimeSpan.FromSeconds(360);
|
|
|
|
[DataField]
|
|
public string AnnouncementForTraitorSound = "/Audio/_White/Aspects/palevo.ogg";
|
|
|
|
[ViewVariables]
|
|
public bool AnnouncedForTraitors;
|
|
|
|
[ViewVariables]
|
|
public TimeSpan AnnouncedForTraitorsAt;
|
|
|
|
[ViewVariables]
|
|
public TimeSpan AnnouncedForAllAt;
|
|
|
|
[ViewVariables]
|
|
public TraitorRuleComponent? TraitorRuleComponent;
|
|
}
|