Method ChangeAppearance
ChangeAppearance(Action<ItemAppearance>)
Creates a cloned item, applies the specified appearance changes to the clone, and replaces the original item.
public NwItem ChangeAppearance(Action<ItemAppearance> changes)
Parameters
changesAction<ItemAppearance>The appearance changes to apply.
Returns
- NwItem
The new item with the updated appearance.
Remarks
The original item is removed and the clone is placed back into the same container or equipment slot where possible.