Loot over X amount task based code
QuickSack last edited by QuickSack
Title says it all, I tried and failed.
Please & thank you
EDIT: I'll buy you a couple of beers as well.
Pseudo last edited by
You'll need to first write a method to grab item prices from the grand exchange/osbuddy exchange, from there it's pretty straight forward.
What exactly do you mean by X amount? Stacksize, or price?
QuickSack last edited by
@burak Price, sorry I should have explained it better! My fault.
Grounditem "Derpzoo" is worth 2000gp, looting
Grounditem "Blah" is worth 121gp, dont loot
Phasecoder last edited by
Like sad above, grab price from ge if x >= x amount loot else < x amount dont
Yeah, grab price of the pickables and multiply by stack size. Pick it up if value is over preferred amount