Osiris/API/CharacterClearTradeGeneratedItems: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
(Documented CharacterClearTradeGeneratedItems)
 
mNo edit summary
Line 2: Line 2:
* call '''CharacterClearTradeGeneratedItems'''(''(CHARACTERGUID)'''''_Character''')
* call '''CharacterClearTradeGeneratedItems'''(''(CHARACTERGUID)'''''_Character''')
===== Description =====
===== Description =====
Clears "existing, unsold treasure" from '''_Character''''s inventory. "Existing, unsold treasure" consists of all items generated by the [[Osiris/API/GenerateTreasure|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.
Clears "existing, unsold treasure" from '''_Character''''s inventory. "Existing, unsold treasure" consists of all items generated by the [[Osiris/API/GenerateTreasure|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 =====
===== Notes =====

Revision as of 21:57, 18 August 2018

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