Partial component damage model

I believe I have worked out how I'm going to do component damage, all
that remains is to fill in everything else such as updating the ship,
its taskgroup and so on for each condition.