Prosperity serves exclusively for hiring workers in townhall
Prosperity can take negative values if your settlement is robbed by an enemy army
There are two sources of prosperity - the accumulation of resources in the treasury of buildings (except for the farm) or the demilitarization of troops in barracks