Table of Contents

Method ChangeAppearance

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

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

changes Action<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.