I know I'm a broken record about this, but might be another place where a script enables custom logic. I don't think `Country` is currently very wired up for scripting, but it's not a complex object so it seems like doing so would be straightforward. The hook here could be very simple, when `newMonth` is called, at the very end, a `CountryNewMonth` hook is called, passing in the country, funding calculated by the current method, xcom score, alien score, and the average funding. The hook would pass out an adjusted funding amount. Which, if set by the default script, would simply be the amount passed in.
Country could be immutable or mutable for this, though I think having it be partially mutable here would make sense, letting things like pacts formation be controlled by custom scripting logic in this hook as well.
I'm up for taking a crack at this as well, in part because I'd like to look into how objects are wired up for scripting.