Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int minimum_value = 20000;
- boolean [item] pvp_unimportant = $items[tenderizing hammer, dramatic range, Queue Du Coq cocktailcrafting kit];
- //Rudimentary function
- boolean is_stealable(item it) { return is_tradeable(it) && autosell_price(it) > 0; }
- //Note: Ever since the Closet revamp, multi-putting and multi-taking is impossible.
- // Thus batch_open() and batch_close() are not needed.
- foreach it, qty in get_inventory() {
- if (is_stealable(it) && mall_price(it) >= minimum_value && !(pvp_unimportant contains it)) {
- print('Gonna closet ' + qty + ' ' + (qty == 1 ? to_string(it) : to_plural(it)) + ', worth ' + historical_price(it), 'teal');
- // put_closet(qty, it);
- }
- }
- print_html('<b>Done!</b>');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement