Added support for setting friendly target
Merge branch 'master' of github.com:zinroc/zinrocfantasy