I think it will be hard to code such a thing actually...Not necessarily my friend, more like this;
-rebuild the structure
-activate it somehow
-return to mars
-kill the creature hunting you
-it drops a rare rocket design, not a tier 3 rocket, but I like your idea of this being the way to get a tier 3 rocket, so props on the idea
The tier 3 rocket schematic is already in-game as far is i know.
Through, i like this idea!