namespace Content.Server.GameTicking.Rules.Components; /// /// This is used for a rule that announces kills globally. /// [RegisterComponent, Access(typeof(KillCalloutRuleSystem))] public sealed partial class KillCalloutRuleComponent : Component { /// /// Root used to generate kill callouts /// [DataField("killCalloutPrefix")] public string KillCalloutPrefix = "death-match-kill-callout-"; /// /// A value used to randomly select a kill callout /// [DataField("killCalloutAmount")] public int KillCalloutAmount = 60; /// /// Root used to generate kill callouts when a player is killed by the environment /// [DataField("environmentKillCallouts")] public string SelfKillCalloutPrefix = "death-match-kill-callout-env-"; /// /// A value used to randomly select a kill callout when a player is killed by the environment /// [DataField("selfKillCalloutAmount")] public int SelfKillCalloutAmount = 10; }