I am leaning towards your income being the major factor and not your treasury. I have noticed/perceived whenever my income goes negative, there is an increase in aggression from other factions. Last night I went negative with quite a bit in my treasury and the very next turn I was attacked by 3 different factions (2 of which were at the time friendly wandering hordes in my territory).
Bookmarks