Torpedoes generate a path on instantiation

Some magic code that even I don't understand. I'm about 200% sure I can
rewrite this with half the code but I should first figure out how the
hell I even made it work.