changed purchase function
Merge branch 'master' of https://github.com/wyollinger1/massive-tyrion