CCVars.Ghost.cs 896 B

123456789101112131415161718192021222324
  1. using Robust.Shared.Configuration;
  2. namespace Content.Shared.CCVar;
  3. public sealed partial class CCVars
  4. {
  5. /// <summary>
  6. /// The time you must spend reading the rules, before the "Request" button is enabled
  7. /// </summary>
  8. public static readonly CVarDef<float> GhostRoleTime =
  9. CVarDef.Create("ghost.role_time", 3f, CVar.REPLICATED | CVar.SERVER);
  10. /// <summary>
  11. /// If ghost role lotteries should be made near-instanteous.
  12. /// </summary>
  13. public static readonly CVarDef<bool> GhostQuickLottery =
  14. CVarDef.Create("ghost.quick_lottery", false, CVar.SERVERONLY);
  15. /// <summary>
  16. /// Whether or not to kill the player's mob on ghosting, when it is in a critical health state.
  17. /// </summary>
  18. public static readonly CVarDef<bool> GhostKillCrit =
  19. CVarDef.Create("ghost.kill_crit", true, CVar.REPLICATED | CVar.SERVER);
  20. }