Tips system (#13509)
* dataset * cvar * tips system * oops * even higher * peptide * dataset cvar
This commit is contained in:
@@ -385,6 +385,35 @@ namespace Content.Shared.CCVar
|
||||
public static readonly CVarDef<int> PiratesPlayersPerOp =
|
||||
CVarDef.Create("pirates.players_per_pirate", 5);
|
||||
|
||||
/*
|
||||
* Tips
|
||||
*/
|
||||
|
||||
/// <summary>
|
||||
/// Whether tips being shown is enabled at all.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<bool> TipsEnabled =
|
||||
CVarDef.Create("tips.enabled", true);
|
||||
|
||||
/// <summary>
|
||||
/// The dataset prototype to use when selecting a random tip.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<string> TipsDataset =
|
||||
CVarDef.Create("tips.dataset", "Tips");
|
||||
|
||||
/// <summary>
|
||||
/// The number of seconds between each tip being displayed when the round is not actively going
|
||||
/// (i.e. postround or lobby)
|
||||
/// </summary>
|
||||
public static readonly CVarDef<float> TipFrequencyOutOfRound =
|
||||
CVarDef.Create("tips.out_of_game_frequency", 60f * 2);
|
||||
|
||||
/// <summary>
|
||||
/// The number of seconds between each tip being displayed when the round is actively going
|
||||
/// </summary>
|
||||
public static readonly CVarDef<float> TipFrequencyInRound =
|
||||
CVarDef.Create("tips.in_game_frequency", 60f * 30);
|
||||
|
||||
/*
|
||||
* Console
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user