Hey tomatopaste! The example in the OP has a slight error:
if (ship == null || ship.isAlive()) return;
This makes the AI basically never use the ability, because of a missing '!'
I had this idea the other day, making hullmods that replace systems, but this subsystem thing your library has is awesome, and this example is just on point! I'll start with a few vanilla stuff and see where it goes I guess

Thank you for the library.