Add explosion.can_create_vacuum cvar (#27548)

This commit is contained in:
DrSmugleaf
2024-04-30 20:11:27 -07:00
committed by GitHub
parent 81e553401c
commit 5548d90f0d
3 changed files with 16 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
using Content.Shared.Maps;
using Robust.Shared;
using Robust.Shared.Configuration;
@@ -905,6 +906,13 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<int> ExplosionSingleTickAreaLimit =
CVarDef.Create("explosion.single_tick_area_limit", 400, CVar.SERVERONLY);
/// <summary>
/// Whether or not explosions are allowed to create tiles that have
/// <see cref="ContentTileDefinition.MapAtmosphere"/> set to true.
/// </summary>
public static readonly CVarDef<bool> ExplosionCanCreateVacuum =
CVarDef.Create("explosion.can_create_vacuum", true, CVar.SERVERONLY);
/*
* Radiation
*/
@@ -1994,7 +2002,7 @@ namespace Content.Shared.CCVar
// Clippy!
public static readonly CVarDef<string> TippyEntity =
CVarDef.Create("tippy.entity", "Tippy", CVar.SERVER | CVar.REPLICATED);
/*
* DEBUG
*/