function based player_build
modular player_build
Merge pull request #1505 from raymix/master

function based player_build