My first mod!
Add this onto your rocket and activate it to "remove" a part from your rocket "safely”. (It's basically a bomb)
Can be activated through an action group, or by right-clicking it in-flight.
Also supports grabbing and storing trough KAS! (I think you can strap it onto kerbals, but we wouldn't do that, right?)
The model is just the big radial battery which i simply reskinned. But i think it looks pretty good!
Spoiler for source code!
public class KSPBomb : PartModule
[KSPAction("ExplodeAction", KSPActionGroup.None, guiName = "Explode")] //Action Group thingy
public void BlowUpByActionGroup(KSPActionParam param)
[KSPEvent(name = "Explode", active = true, guiActive = true, guiName = "Explode")] //Right click in-flight
public void DoBoom()
foreach (Part childPart in part.children) //I don't think you can attach stuff to this, but in case someone changes it it will work.
childPart.temperature = childPart.maxTemp * 2;
part.parent.temperature = part.parent.maxTemp * 2; //heat whatever i'm attached to to twice it's max temprature
part.temperature = part.maxTemp * 2; //Same for myself. Goodbye world!