voxelinc/voxellancer — pull request #609 by gersseba (2014-05-04 17:18:51+00:00)
Title: Dynamic factions

First run at dynamic factions, please read and tell me what you think:
Attacking, ramming other ships has diplomatic consequences.
generally neutral npc react stronger than good friends or fierce enemies.
The change in the relation to the player has sideeffects on the players relation 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 the player. 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.
Before looking at the code, please evaluate and try out the system.