Osiris/API/CharacterClearTradeGeneratedItems
From Divinity Engine Wiki
Full Definition(s)
- call CharacterClearTradeGeneratedItems((CHARACTERGUID)_Character)
Description
Clears "existing, unsold treasure" from _Character's inventory. "Existing, unsold treasure" consists of all items generated by the GenerateTreasure call, or generated by treasure generation on dying, which have not yet been removed from the character's inventory at the time this operation is performed. One exception is unique items: these are never removed by this call.
Notes
- /