I mean a new callback similar to the ones available in events that you would be able to add to outcomes so to make a mission you would make an outcome mission but then add a Python function name to the outcome that would be called when the outcome is executed.
If you do this you also need to add some means for the AI to evaluate the outcome, presum,ably through furtehr XML tagging that decribed what it does in some way that the AI can put a value on.