Delta-v/Content.IntegrationTests/Tests/Minds
ShadowCommander 13fb095cae
Fix ghosts getting spawned in nullspace (#27617)
* Add tests for ghost spawn position

* Make ghosts spawn immediately

* Format mind system

* Move ghost spawning to GhostSystem

* Spawn ghost on grid or map

This fixes the ghosts being attached the parent entity instead of the grid.

* Move logging out of the ghost system

* Make round start observer spawn using GhostSystem

* Move GameTicker ghost spawning to GhostSystem

Moved the more robust character name selection code over.
Moved the TimeOfDeath code over.
Added canReturn logic.

* Add overrides and default for ghost spawn coordinates

* Add warning log to ghost spawn fail

* Clean up test

* Dont spawn ghost on map delete

* Minor changes to the role test

* Fix role test failing to spawn ghost

It was failing the map check due to using Nullspace

* Fix ghost tests when running in parallel

Not sure what happened, but it seems to be because they were running simultaneously and overwriting values.

* Clean up ghost tests

* Test that map deletion does not spawn ghosts

* Spawn ghost on the next available map

* Disallow spawning on deleted maps

* Fix map deletion ghost test

* Cleanup
2024-05-18 13:53:01 +02:00
..
GhostRoleTests.cs Fix ghosts getting spawned in nullspace (#27617) 2024-05-18 13:53:01 +02:00
GhostTests.cs Fix ghosts getting spawned in nullspace (#27617) 2024-05-18 13:53:01 +02:00
JobTests.cs Add TryGetPrimaryDepartment to jobs system (#23317) 2024-01-26 22:48:20 +01:00
MindTest.DeleteAllThenGhost.cs Partial cherry-pick: Loadouts redux (#25715) 2024-04-22 03:28:58 +02:00
MindTests.EntityDeletion.cs Fix ghosts getting spawned in nullspace (#27617) 2024-05-18 13:53:01 +02:00
MindTests.Helpers.cs Replace usages of MobObserver and AdminObserver with GameTicker consts (#21814) 2023-12-02 19:00:03 +01:00
MindTests.ReconnectTests.cs Dependency update / fixes / skrungle bungle (#23745) 2024-01-26 22:33:46 +01:00
MindTests.cs Minor test fixes (#25423) 2024-03-07 00:59:45 +01:00