Morrowind Mod:XAddItem
The UESPWiki – Your source for The Elder Scrolls since 1995
< Mod / Morrowind: Morrowind Mod: MWSE
A function added by MWSE.
xAddItem is a wrapper for the original AddItem to take variables.
Syntax[edit]
ref->xAddItem objectid (string) count (long)
Example[edit]
long pcRef Setx pcRef to xGetRef "Player" pcRef->xAddItem "Gold_001" 5000
See Also[edit]
xInventory
xNextStack
xContentList
xRemoveItem
xHasItemEquipped
xEquip
xDrop
xAddSpell
xRemoveSpell