Table of Contents

Method Open

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

Open(NwPlayer, int, int)

Open oStore for oPC.
You can mark up or down the prices with the optional parameters.

public void Open(NwPlayer player, int bonusMarkup = 0, int bonusMarkDown = 0)

Parameters

player NwPlayer

The player to present the store.

bonusMarkup int

A number in percent to mark up prices. (Default: 0).

bonusMarkDown int

A number in percent to mark down prices. (Default: 0).

Remarks

If bonusMarkup is given a value of 10, prices will be 110% of the normal prices.