1v1 me first to 31 no powerups [Deathmatch Gamemode] (#19467)
Co-authored-by: Kara <lunarautomaton6@gmail.com>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
namespace Content.Server.GameTicking.Rules.Components;
|
||||
|
||||
/// <summary>
|
||||
/// This is used for a rule that announces kills globally.
|
||||
/// </summary>
|
||||
[RegisterComponent, Access(typeof(KillCalloutRuleSystem))]
|
||||
public sealed partial class KillCalloutRuleComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Root used to generate kill callouts
|
||||
/// </summary>
|
||||
[DataField("killCalloutPrefix")]
|
||||
public string KillCalloutPrefix = "death-match-kill-callout-";
|
||||
|
||||
/// <summary>
|
||||
/// A value used to randomly select a kill callout
|
||||
/// </summary>
|
||||
[DataField("killCalloutAmount")]
|
||||
public int KillCalloutAmount = 60;
|
||||
|
||||
/// <summary>
|
||||
/// Root used to generate kill callouts when a player is killed by the environment
|
||||
/// </summary>
|
||||
[DataField("environmentKillCallouts")]
|
||||
public string SelfKillCalloutPrefix = "death-match-kill-callout-env-";
|
||||
|
||||
/// <summary>
|
||||
/// A value used to randomly select a kill callout when a player is killed by the environment
|
||||
/// </summary>
|
||||
[DataField("selfKillCalloutAmount")]
|
||||
public int SelfKillCalloutAmount = 10;
|
||||
}
|
||||
Reference in New Issue
Block a user