@Tessa: Not possible ATM but it's maybe worth to be tested. I tried other things in the meantime. The problem is: We don't have the necessary dialog elements for telling the crew what to do: Drop torps over board or not. We are about to add new stuff to the game......that was not my intention

.
It is alluring to add new stuff like that. But code gets more and more complex - no more solid - that's the problem.
So I have to concentrate on the most important things:
1) No reloading of externals (and internals) during storm (easy to do).
2) Program a certain delay time (2-12 minutes, depending on reload progress), during which
2a) Diving is not possible (dive-commands simply disabled) OR
2b) The player gets huge penalty (flooding, dead crew) when he orders to dive in that time.
I don't know if it's worth the effort to program lost torpedoes, since I don't know whether this situation did happen in RL.