Dynamic factions

Attacking, ramming other ships has diplomatic consequences.
generally neutral npc react stronger than good friends or fierce enemies. 
Every change in relations has sideeffects on all other relations to the other factions. The more the like or dislike the attacked faction, the stronger the side effect (killing police will make the pirates like you)
Lastly I introduced personal (character-based) friendliness to other worldobject. Shooting at a lonely police ship might not make the entire police force hate you, but the ship's pilot will, and he will attack back. This personal friendliness declines over time back to the faction relation.
I suppose(!) this loops propagtes the difference damped to the other functions. Please give this block a descriptive name by putting it in some other function