Alien roles that, if they exist, the ship needs dead before reaching the secret destination to win:
Queen
Hivemind
Influencer
Reanimator
Ship Role that was Infected by the Queen
Informant
Alien roles that, if they exist, the ship does not need dead before reaching the secret destination to win:
Predator
Contaminator
Hacker
Ambassador
Sympathizer
The game will end early if all members of one of the two sides (Ship vs. Alien) are dead, or if the VIP dies. Otherwise, it will end upon reaching the secret destination.
One last thing: With both of his abilities (Seat Swap and Role Swap), the Transportation Chief does not cause any alignments to change ever, so they can cause an alien role to be aligned with the ship.
For the purposes of the game possibly ending early, hereās how it works:
If all alien roles + all alien-aligned players are dead, ship wins.
If all ship-aligned players that do not have alien roles are dead, aliens win.
For the purposes of the gameās result upon reaching the secret destination, only the roles matter. I.e. if you somehow become a ship-aligned informant due to swaps or something, you probably want to get yourself killed sometime.
If it becomes the case that everyone is dead simultaneously before reaching the secret destination and before any win conditions are satisfied, the ship explodes, killing everyone inside and destroying the computer as well, resulting in a Draw (this scenario is not defined and could be re-defined to either Ship win or Alien win if necessary, depending on balance).