Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias sendcrate => jsq [1442, 1443, 1444].forEach(choice => setProperty('choiceAdventure' + choice, '1&who=%%'));
- const items = Item.get(['government candy shipment', 'government booze shipment', 'government food shipment']);
- const startingCounts = items.map(item => itemAmount(item));
- print('Starting counts: ' + startingCounts.toString());
- items.forEach(item => use(1, item));
- cliExecute('refresh inventory');
- print('Ending counts: ' + items.map(item => itemAmount(item)).toString());
- if (items.some((item, i) => itemAmount(item) !== startingCounts[i] - 1)) throw 'Failed to send some crate!';
Add Comment
Please, Sign In to add comment