ReplaceItemInInventory
From GECK
A function added by the pp NVSE Plugin.
Contents
Description
When called on an inventory reference, this will replace that exact inventory reference with a new baseform. This works on equipped items.
Syntax
(none) ReplaceItemInInventory item:ref copy:bool count:int
Example
ref rItem = Player.GetEquippedWeaponRef rItem.ReplaceItemInInventory WeapNV9mmPistol 1
Will replace the players currently equipped weapon with a 9mm pistol.