AI: How do I store multiple possible actions without producing spaghetti-code?

I use custom state machine components.