Ahruman wrote:Switeck wrote:I'm pretty sure you won't ever have a random misjump hyperspacing out of interstellar space.
As far as I can see, the chance is the same as usual (one in 200).
However, your modification using
player.ship.scriptedMisjump
would almost work… or rather, would exactly not work. You want
!player.ship.scriptedMisjump
.
Is the chance for random misjumps exposed to possible changes (via an OXP) as a .js file?
Seems the check for
player.ship.scriptedMisjump = true
should probably be a separate condition, since whether or not to spawn extra (OXP-added) Thargoids or even normally added (by plain Oolite) Thargoids may depend on the particular mission/OXP.
If it's a scripted misjump to join a spacebattle already-in-progress between Galactic Navy and Thargoids at a particularly obscure interstellar space location...triggering the remove-all-Thargoids script probably would be unwanted.
But another scripted misjump from interstellar space to another place in interstellar space may be for the placement of a "hidden base" that even the Thargoids are unaware of...
However if there was no scripted misjump (meaning player deliberate or random misjump) at all, probably avoid adding OXP ships and do the remove-all-Thargoids script.