Dab in a Lab Posted May 8, 2018 Share Posted May 8, 2018 How can I have the bot determine what item to buy based off of profit margins? For example if it was going to cook for a profit, how can I have it determine whats the most profitable item to cook every time it goes to resupply and have it buy X amount of that item. Quote Link to comment Share on other sites More sharing options...
GPSwap Posted May 8, 2018 Share Posted May 8, 2018 set a enum filled with possible foods and check which has most profit a the time Quote Link to comment Share on other sites More sharing options...
Dab in a Lab Posted May 8, 2018 Author Share Posted May 8, 2018 3 minutes ago, GPSwap said: set a enum filled with possible foods and check which has most profit a the time Sorry, I've only been at this for a week, so I'm not too sure how to that. Would I do like getDirectoryData() and have it grab a list of specific foods? If thats how I would do it, is there an API for grabbing item prices? Quote Link to comment Share on other sites More sharing options...
GPSwap Posted May 8, 2018 Share Posted May 8, 2018 1 minute ago, Dab in a Lab said: Sorry, I've only been at this for a week, so I'm not too sure how to that. Would I do like getDirectoryData() and have it grab a list of specific foods? If thats how I would do it, is there an API for grabbing item prices? come in chatbox il send you some stuff 1 Quote Link to comment Share on other sites More sharing options...