Nukie Outpost is no longer a station map (#30090)
* I dunno, break shit I guess. * Actually fix some shit for once. * test flakey or me flakey? * Test were not flakey, they just didnt make any sense anymore. * more stationy tests * undo abuncha shit I can set in yml instead * forgor an assert * unneeded usings * 1984 * I made github angy * yoink * the end is never the end is never the end is never the end is never the end is never the end is never the * Im going to commit sudoku
This commit is contained in:
@@ -104,8 +104,6 @@ public sealed class NukeOpsTest
|
||||
// Maps now exist
|
||||
Assert.That(entMan.Count<MapComponent>(), Is.GreaterThan(0));
|
||||
Assert.That(entMan.Count<MapGridComponent>(), Is.GreaterThan(0));
|
||||
Assert.That(entMan.Count<StationDataComponent>(), Is.EqualTo(2)); // The main station & nukie station
|
||||
Assert.That(entMan.Count<StationMemberComponent>(), Is.GreaterThan(3)); // Each station has at least 1 grid, plus some shuttles
|
||||
Assert.That(entMan.Count<StationCentcommComponent>(), Is.EqualTo(1));
|
||||
|
||||
// And we now have nukie related components
|
||||
@@ -159,7 +157,6 @@ public sealed class NukeOpsTest
|
||||
{
|
||||
Assert.That(entMan.EntityExists(grid));
|
||||
Assert.That(entMan.HasComponent<MapGridComponent>(grid));
|
||||
Assert.That(entMan.HasComponent<StationMemberComponent>(grid));
|
||||
}
|
||||
Assert.That(entMan.EntityExists(ruleComp.TargetStation));
|
||||
|
||||
@@ -180,12 +177,7 @@ public sealed class NukeOpsTest
|
||||
}
|
||||
}
|
||||
|
||||
Assert.That(entMan.EntityExists(nukieStationEnt));
|
||||
var nukieStation = entMan.GetComponent<StationMemberComponent>(nukieStationEnt!.Value);
|
||||
|
||||
Assert.That(entMan.EntityExists(nukieStation.Station));
|
||||
Assert.That(nukieStation.Station, Is.Not.EqualTo(ruleComp.TargetStation));
|
||||
|
||||
Assert.That(!entMan.EntityExists(nukieStationEnt)); // its not supposed to be a station!
|
||||
Assert.That(server.MapMan.MapExists(gridsRule.Map));
|
||||
var nukieMap = mapSys.GetMap(gridsRule.Map!.Value);
|
||||
|
||||
@@ -195,7 +187,6 @@ public sealed class NukeOpsTest
|
||||
Assert.That(targetMap, Is.Not.EqualTo(nukieMap));
|
||||
|
||||
Assert.That(entMan.GetComponent<TransformComponent>(player).MapUid, Is.EqualTo(nukieMap));
|
||||
Assert.That(entMan.GetComponent<TransformComponent>(nukieStationEnt.Value).MapUid, Is.EqualTo(nukieMap));
|
||||
Assert.That(entMan.GetComponent<TransformComponent>(nukieShuttlEnt).MapUid, Is.EqualTo(nukieMap));
|
||||
|
||||
// The maps are all map-initialized, including the player
|
||||
@@ -209,7 +200,6 @@ public sealed class NukeOpsTest
|
||||
Assert.That(LifeStage(player), Is.GreaterThan(EntityLifeStage.Initialized));
|
||||
Assert.That(LifeStage(nukieMap), Is.GreaterThan(EntityLifeStage.Initialized));
|
||||
Assert.That(LifeStage(targetMap), Is.GreaterThan(EntityLifeStage.Initialized));
|
||||
Assert.That(LifeStage(nukieStationEnt.Value), Is.GreaterThan(EntityLifeStage.Initialized));
|
||||
Assert.That(LifeStage(nukieShuttlEnt), Is.GreaterThan(EntityLifeStage.Initialized));
|
||||
Assert.That(LifeStage(ruleComp.TargetStation), Is.GreaterThan(EntityLifeStage.Initialized));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user