uses an item in the inventory (given it's objhandle).
| 263 | |
| 264 | // uses an item in the inventory (given it's objhandle). |
| 265 | bool dInven_UseObjHandle(Inventory *inven, int objhandle, object *parent) { return inven->Use(objhandle, parent); } |
| 266 | |
| 267 | // returns how many unique type/ids are in the inventory |
| 268 | int dInven_Size(Inventory *inven) { return inven->Size(); } |