If you use an item which is sometimes consumed and sometimes not consumed - a scroll of drastic healing, for example - UseItemRequest.parseConsumption assumes it is used - and removes it from inventory - and then, after checking the responseText, if it was not consumed, it adds it back. This will add it to the session tally, even thought the item was not necessarily acquired this session.
That method should be refactored to remove the item from inventory AFTER responseText has been checked and it is known t have actually been consumed.
That method should be refactored to remove the item from inventory AFTER responseText has been checked and it is known t have actually been consumed.