Fix Max Cap Heisentest (#43704)

* fix max cap test fails

* oop

* remove suffix

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
Princess Cheeseballs
2026-04-23 18:46:37 -07:00
committed by GitHub
parent 527735f20d
commit 91f8e9490d
3 changed files with 16 additions and 9 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ namespace Content.IntegrationTests.Tests
[TestOf(typeof(EntityUid))]
public sealed class EntityTest : GameTest
{
private static readonly ProtoId<EntityCategoryPrototype> SpawnerCategory = "Spawner";
private static readonly HashSet<ProtoId<EntityCategoryPrototype>> IgnoredCategories = ["Spawner", "Debug"];
public override PoolSettings PoolSettings => new()
{
@@ -255,7 +255,7 @@ namespace Content.IntegrationTests.Tests
.Where(p => !p.Abstract)
.Where(p => !pair.IsTestPrototype(p))
.Where(p => !excluded.Any(p.Components.ContainsKey))
.Where(p => p.Categories.All(x => x.ID != SpawnerCategory))
.Where(p => p.Categories.All(x => !IgnoredCategories.Contains(x.ID)))
.Select(p => p.ID)
.ToList();
@@ -206,7 +206,8 @@
- type: entity
parent: AirTank
id: MaxCap # As of currently writing, tanks have an explosion intensity of about 125, which is about as powerful as an explosive grenade.
suffix: DEBUG, Max Cap
categories: [ Debug ]
suffix: Max Cap
components:
- type: GasTank
air:
@@ -219,7 +220,8 @@
- type: entity
parent: EmergencyOxygenTank
id: MaxCapSmall # As of currently writing, mini tanks have an explosion intensity of about 40.
suffix: DEBUG, Max Cap
categories: [ Debug ]
suffix: Max Cap
components:
- type: GasTank
air:
@@ -233,7 +235,8 @@
- type: entity
parent: ExtendedEmergencyOxygenTank
id: MaxCapSmallEx # As of currently writing, extended tanks currently have an explosive intensity of about 65
suffix: DEBUG, Max Cap
categories: [ Debug ]
suffix: Max Cap
components:
- type: GasTank
air:
@@ -246,7 +249,8 @@
- type: entity
parent: DoubleEmergencyOxygenTank
id: MaxCapSmallDouble # As of currently writing, extended tanks currently have an explosive intensity of about 85
suffix: DEBUG, Max Cap
categories: [ Debug ]
suffix: Max Cap
components:
- type: GasTank
air:
@@ -259,8 +263,9 @@
- type: entity
parent: AirTank
id: MaxCapSilly
categories: [ Debug ]
name: max cap
suffix: DEBUG, Max Cap, Impossible
suffix: Max Cap, Impossible
components:
- type: GasTank
air:
@@ -273,8 +278,9 @@
- type: entity
parent: AirTank
id: MaxCapBluespace
categories: [ Debug ]
name: max cap
suffix: DEBUG, Max Cap, Canister
suffix: Max Cap, Canister
components:
- type: Explosive
maxIntensity: 200
@@ -774,8 +774,9 @@
- type: entity
parent: GasCanister
id: MaxCapCanister # As of writing canisters currently have about 9000 explosive intensity. 95% the total damage of a syndicate bomb but spread across a larger area.
categories: [ Debug ]
name: max cap in a can
suffix: DEBUG, Max Cap
suffix: Max Cap
components:
- type: GasCanister
air: