Difference between revisions of "Osiris/API/CharacterClearTradeGeneratedItems"
From Divinity Engine Wiki
(Documented CharacterClearTradeGeneratedItems) |
m |
||
(One intermediate revision by the same user not shown) | |||
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 ===== | ||
* / | * / | ||
===== See Also ===== | ===== See Also ===== | ||
− | |||
− | |||
− | |||
− | |||
* [[Osiris/API/CharacterSetCustomTradeTreasure|CharacterSetCustomTradeTreasure]] | * [[Osiris/API/CharacterSetCustomTradeTreasure|CharacterSetCustomTradeTreasure]] | ||
* [[Osiris/API/GenerateItems|GenerateItems]] | * [[Osiris/API/GenerateItems|GenerateItems]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Osiris Calls|CharacterClearTradeGeneratedItems]] | [[Category:Osiris Calls|CharacterClearTradeGeneratedItems]] |
Latest revision as of 10:36, 19 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
- /