diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2023-08-01 01:31:25 +0100 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2023-08-01 01:31:25 +0100 |
| commit | dbf0218371ce006b674b0ede8e6a4d97932ff2c6 (patch) | |
| tree | a865e7ff8e9f65579435b951a0c2ceffd8237c61 /code/Game.cs | |
| parent | ca0d44610b6216f82fcf8f5830d445963654db64 (diff) | |
Add footprints
Diffstat (limited to 'code/Game.cs')
| -rw-r--r-- | code/Game.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/code/Game.cs b/code/Game.cs index ad04fc8..356cd38 100644 --- a/code/Game.cs +++ b/code/Game.cs @@ -23,14 +23,17 @@ public partial class MurderGame : Sandbox.GameManager }
- [ConVar.Server( "mm_min_players", Help = "The minimum number of players required to start a round." )]
+ [ConVar.Server( "mu_min_players", Help = "The minimum number of players required to start a round." )]
public static int MinPlayers { get; set; } = 2;
- [ConVar.Server( "mm_allow_suicide", Help = "Allow players to kill themselves during a round." )]
+ [ConVar.Server( "mu_allow_suicide", Help = "[INOP] Allow players to kill themselves during a round." )]
public static bool AllowSuicide { get; set; } = true;
- [ConVar.Server( "mm_round_time", Help = "The amount of time in a round." )]
+ [ConVar.Server( "mu_round_time", Help = "The amount of time, in seconds, in a round." )]
public static int RoundTime { get; set; } = 600;
+
+ [ConVar.Client( "mu_max_footprint_time", Help = "The amount of time, in seconds, footprints are visible for. Max 30 seconds." )]
+ public static int MaxFootprintTime { get; set; } = 30;
[Net]
public BasePhase CurrentPhase { get; set; } = new WaitPhase() { CountIn = true };
|
