CCVars.Ic.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using Robust.Shared.Configuration;
  2. namespace Content.Shared.CCVar;
  3. public sealed partial class CCVars
  4. {
  5. /// <summary>
  6. /// Restricts IC character names to alphanumeric chars.
  7. /// </summary>
  8. public static readonly CVarDef<bool> RestrictedNames =
  9. CVarDef.Create("ic.restricted_names", true, CVar.SERVER | CVar.REPLICATED);
  10. /// <summary>
  11. /// Allows flavor text (character descriptions)
  12. /// </summary>
  13. public static readonly CVarDef<bool> FlavorText =
  14. CVarDef.Create("ic.flavor_text", false, CVar.SERVER | CVar.REPLICATED);
  15. /// <summary>
  16. /// Adds a period at the end of a sentence if the sentence ends in a letter.
  17. /// </summary>
  18. public static readonly CVarDef<bool> ChatPunctuation =
  19. CVarDef.Create("ic.punctuation", false, CVar.SERVER);
  20. /// <summary>
  21. /// Enables automatically forcing IC name rules. Uppercases the first letter of the first and last words of the name
  22. /// </summary>
  23. public static readonly CVarDef<bool> ICNameCase =
  24. CVarDef.Create("ic.name_case", true, CVar.SERVER | CVar.REPLICATED);
  25. /// <summary>
  26. /// Whether or not players' characters are randomly generated rather than using their selected characters in the creator.
  27. /// </summary>
  28. public static readonly CVarDef<bool> ICRandomCharacters =
  29. CVarDef.Create("ic.random_characters", false, CVar.SERVER);
  30. /// <summary>
  31. /// A weighted random prototype used to determine the species selected for random characters.
  32. /// </summary>
  33. public static readonly CVarDef<string> ICRandomSpeciesWeights =
  34. CVarDef.Create("ic.random_species_weights", "SpeciesWeights", CVar.SERVER);
  35. /// <summary>
  36. /// Control displaying SSD indicators near players
  37. /// </summary>
  38. public static readonly CVarDef<bool> ICShowSSDIndicator =
  39. CVarDef.Create("ic.show_ssd_indicator", true, CVar.CLIENTONLY);
  40. }