Feature - Implemented Make skeleton-command acquire a skeleton if you don't have one in your inventory

ereinion

Member
Currently it only succeeds if you already have a skeleton in your inventory. Considering that I've told OCD Inventory Control to put all my skeletons in the mall, I'd like to request the command to attempt to acquire one, if there isn't one in the players inventory.
 

Veracity

Developer
Staff member
It's an "inv_use.php" request, and if it went through UseItemRequest to do that, acquisition would happen automatically. But, since it requires an extra parameter, we do it with a GenericRequest, which does not acquire the item first.

Should be easy enough to have an InventoryManager.retrieveItem before doing the requests.
 
Top