Osiris/API/CharacterClearTradeGeneratedItems

From Divinity Engine Wiki
Revision as of 10:36, 19 August 2018 by Tinkerer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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, and which the character did not have equipped either. One exception is unique items: these are never removed by this call.

Notes
  • /
See Also