Skip to content

Fix Issue with Station AI and PAI Not Allowing New Ghost to Take Role.#4071

Draft
SarahRaven wants to merge 3 commits into
Monolith-Station:mainfrom
SarahRaven:ai-fix-ghost-role
Draft

Fix Issue with Station AI and PAI Not Allowing New Ghost to Take Role.#4071
SarahRaven wants to merge 3 commits into
Monolith-Station:mainfrom
SarahRaven:ai-fix-ghost-role

Conversation

@SarahRaven
Copy link
Copy Markdown
Contributor

About the PR

Removed the RemCompDeferred calls within ToggleableGhostRoleComponent because it was removing the GhostRoleComponent and the GhostTakeoverAvailableComponent from entities and breaking rejoin.

Why / Balance

Players would be able to leave a Vessel AI or Station AI without having to worry about leaving an irreplacable dead core.

Media

Requirements

  • I have read relevant guidelines/documentation to this PR found on our devwiki.
  • I have added media to this PR or it does not require an ingame showcase.
  • I can confirm this PR contains either no AI-generated content, or AI-generated content that meets our guidelines.

How to test

  1. Spawn Vessel AI, PDV AI, and TSF AI cores.
  2. Create a cyborg with AI-Cyborg remote chip installed.
  3. Ghost role into an AI Core.
  4. Use /ghost to leave.
  5. Ghost role into same AI Core. Verify ability to do so successfully.
  6. Use remote cyborg ability. /ghost while using it.
  7. Ghost role into same AI Core. Verify eye is back on core and remote chassis still available.
  8. Repeat Steps 3-7 with PDV AI and TSF AI core each.

Breaking changes

Changelog

@monolith8319 monolith8319 changed the title Fix issue with Station AI and PAI not allowing new ghost to take role. Fix Issue with Station AI and PAI Not Allowing New Ghost to Take Role. May 28, 2026
@SarahRaven
Copy link
Copy Markdown
Contributor Author

Mainly in draft so I can get some assistance on figuring out "why" the deferred removal of the components was done, since the side effect was completely disabling new ghosts on old roles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant