using Robust.Shared.Configuration; namespace Content.Shared.CCVar; public sealed partial class CCVars { public static readonly CVarDef HolidaysEnabled = CVarDef.Create("holidays.enabled", true, CVar.SERVERONLY); public static readonly CVarDef BrandingSteam = CVarDef.Create("branding.steam", false, CVar.CLIENTONLY); public static readonly CVarDef EntityMenuGroupingType = CVarDef.Create("entity_menu", 0, CVar.CLIENTONLY); /// /// Should we pre-load all of the procgen atlasses. /// public static readonly CVarDef ProcgenPreload = CVarDef.Create("procgen.preload", true, CVar.SERVERONLY); /// /// Enabled: Cloning has 70% cost and reclaimer will refuse to reclaim corpses with souls. (For LRP). /// Disabled: Cloning has full biomass cost and reclaimer can reclaim corpses with souls. (Playtested and balanced for MRP+). /// public static readonly CVarDef BiomassEasyMode = CVarDef.Create("biomass.easy_mode", true, CVar.SERVERONLY); /// /// A scale factor applied to a grid's bounds when trying to find a spot to randomly generate an anomaly. /// public static readonly CVarDef AnomalyGenerationGridBoundsScale = CVarDef.Create("anomaly.generation_grid_bounds_scale", 0.6f, CVar.SERVERONLY); /// /// How long a client can go without any input before being considered AFK. /// public static readonly CVarDef AfkTime = CVarDef.Create("afk.time", 60f, CVar.SERVERONLY); /// /// Flavor limit. This is to ensure that having a large mass of flavors in /// some food object won't spam a user with flavors. /// public static readonly CVarDef FlavorLimit = CVarDef.Create("flavor.limit", 10, CVar.SERVERONLY); public static readonly CVarDef DestinationFile = CVarDef.Create("autogen.destination_file", "", CVar.SERVER | CVar.SERVERONLY); /// /// Whether uploaded files will be stored in the server's database. /// This is useful to keep "logs" on what files admins have uploaded in the past. /// public static readonly CVarDef ResourceUploadingStoreEnabled = CVarDef.Create("netres.store_enabled", true, CVar.SERVER | CVar.SERVERONLY); /// /// Numbers of days before stored uploaded files are deleted. Set to zero or negative to disable auto-delete. /// This is useful to free some space automatically. Auto-deletion runs only on server boot. /// public static readonly CVarDef ResourceUploadingStoreDeletionDays = CVarDef.Create("netres.store_deletion_days", 30, CVar.SERVER | CVar.SERVERONLY); /// /// If a server update restart is pending, the delay after the last player leaves before we actually restart. In seconds. /// public static readonly CVarDef UpdateRestartDelay = CVarDef.Create("update.restart_delay", 20f, CVar.SERVERONLY); /// /// If fire alarms should have all access, or if activating/resetting these /// should be restricted to what is dictated on a player's access card. /// Defaults to true. /// public static readonly CVarDef FireAlarmAllAccess = CVarDef.Create("firealarm.allaccess", true, CVar.SERVERONLY); /// /// Time between play time autosaves, in seconds. /// public static readonly CVarDef PlayTimeSaveInterval = CVarDef.Create("playtime.save_interval", 900f, CVar.SERVERONLY); /// /// The maximum amount of time the entity GC can process, in ms. /// public static readonly CVarDef GCMaximumTimeMs = CVarDef.Create("entgc.maximum_time_ms", 5, CVar.SERVERONLY); public static readonly CVarDef GatewayGeneratorEnabled = CVarDef.Create("gateway.generator_enabled", true); public static readonly CVarDef TippyEntity = CVarDef.Create("tippy.entity", "Tippy", CVar.SERVER | CVar.REPLICATED); /// /// The number of seconds that must pass for a single entity to be able to point at something again. /// public static readonly CVarDef PointingCooldownSeconds = CVarDef.Create("pointing.cooldown_seconds", 0.5f, CVar.SERVERONLY); }