Add support for true randomized characters (#14918)

This commit is contained in:
Nemanja
2023-03-28 21:30:00 -04:00
committed by GitHub
parent 3c9a74e8a0
commit 66ff565e16
3 changed files with 52 additions and 6 deletions

View File

@@ -1300,6 +1300,18 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<bool> ICNameCase =
CVarDef.Create("ic.name_case", true, CVar.SERVER | CVar.REPLICATED);
/// <summary>
/// Whether or not players' characters are randomly generated rather than using their selected characters in the creator.
/// </summary>
public static readonly CVarDef<bool> ICRandomCharacters =
CVarDef.Create("ic.random_characters", false, CVar.SERVER);
/// <summary>
/// A weighted random prototype used to determine the species selected for random characters.
/// </summary>
public static readonly CVarDef<string> ICRandomSpeciesWeights =
CVarDef.Create("ic.random_species_weights", "SpeciesWeights", CVar.SERVER);
/*
* Salvage
*/