Entity 0 fix (#1204)

* fix

* Update scattering_grenades.yml

* Update EntityTest.cs
This commit is contained in:
Deserty0
2025-04-21 19:20:26 +10:00
committed by GitHub
parent 5bbf0df340
commit 850111f469
2 changed files with 7 additions and 4 deletions

View File

@@ -41,6 +41,7 @@ namespace Content.IntegrationTests.Tests
.Where(p => !p.Components.ContainsKey("MapGrid")) // This will smash stuff otherwise.
.Where(p => !p.Components.ContainsKey("RoomFill")) // This comp can delete all entities, and spawn others
.Where(p => !p.Components.ContainsKey("CP14BiomeSpawner")) // CP14 this component delete all entities on this tile
.Where(p => !p.Components.ContainsKey("CP14AreaEntityEffect")) // CP14 lightning detonates entities
.Select(p => p.ID)
.ToList();
@@ -105,6 +106,7 @@ namespace Content.IntegrationTests.Tests
.Where(p => !p.Components.ContainsKey("MapGrid")) // This will smash stuff otherwise.
.Where(p => !p.Components.ContainsKey("RoomFill")) // This comp can delete all entities, and spawn others
.Where(p => !p.Components.ContainsKey("CP14BiomeSpawner")) // CP14 this component delete all entities on this tile
.Where(p => !p.Components.ContainsKey("CP14AreaEntityEffect")) // CP14 lightning detonates entities
.Select(p => p.ID)
.ToList();
foreach (var protoId in protoIds)
@@ -347,6 +349,7 @@ namespace Content.IntegrationTests.Tests
"GridFill",
"RoomFill",
"CP14BiomeSpawner", // CP14 this component delete all entities on this tile
"CP14AreaEntityEffect", // CP14 lightning detonates entities
"Map", // We aren't testing a map entity in this test
"MapGrid",
"Broadphase",

View File

@@ -157,10 +157,10 @@
map: ["Base"]
- state: primed
map: ["enum.TriggerVisualLayers.Base"]
#- type: ScatteringGrenade #CP14 disabled (type !ent0 in discord)
# fillPrototype: BulletFoam
# capacity: 30
# velocity: 30
- type: ScatteringGrenade
fillPrototype: BulletFoam
capacity: 30
velocity: 30
- type: OnUseTimerTrigger
beepSound:
path: "/Audio/Effects/beep1.ogg"