Kitsune Fox form kicks out Cortical Borer
Description
When you are a Cortical Borer infesting a Kitsune , if the host goes into fox form . It spawns the CB on the floor next to the fox . It's movement is fully controllable by the CB player , when the Kitsune player returns to humanoid form , the CB remains on the ground. It is now capable of traversing the station fully independantly of the infested Host and can inject chemicals & take control from across the station. Important to note is that you cannot re-infest another player and you cannot leave the host. The host player cannot be re-infested by a 2nd CB .
Reproduction Spawn Cortical Borer Infest Kitsune Turn into Kitsune Fox form turn back to humanoid Worm and Host are now connected but seperate.
Polymorph shittcode my beloved
Could always go the geras way. Somehow the fox form is even buggier than that one, not to mention the questionable balance implications (I sure do love moving at mach 10 and then turning into a jugsuit instantly).
If that's not an option, though... well, could always create yet another edge case handler, and just transfer the CB into the new entity when the host polymorphs, and properly eject it if it can't enter the new entity (i.e. the new entity is bread or something). Because there's never enough edge case handlers.
transferring an entire component with an entity stored in its container seems like a nightmare
easiest quick solution for now would be to just eject the borer on polymorph. not ideal but it at least stops the buggy behavior
transferring an entire component with an entity stored in its container seems like a nightmare
I did something like that in #4233 for the coscult realted issues. Might also work for this one. Though, admittedly, I haven't seen the CB code, so that's just a shot in the dark.
Also I'm 99% sure that the same (-ish) happens to a holoparasite, and if it does, the solution should be pretty much the same