NWNX:EE  8193.36.12
Store

Files

file  nwnx_store.nss
 

Functions

int NWNX_Store_GetIsRestrictedBuyItem (object oStore, int nBaseItem)
 Return status of a base item purchase status. More...
 
int NWNX_Store_GetBlackMarketMarkDown (object oStore)
 Return the blackmarket mark down of a store. More...
 
void NWNX_Store_SetBlackMarketMarkDown (object oStore, int nValue)
 Set the blackmarket mark down of a store. More...
 
int NWNX_Store_GetMarkDown (object oStore)
 Return the mark down of a store. More...
 
void NWNX_Store_SetMarkDown (object oStore, int nValue)
 Set the mark down of a store. More...
 
int NWNX_Store_GetMarkUp (object oStore)
 Return the mark up of a store. More...
 
void NWNX_Store_SetMarkUp (object oStore, int nValue)
 Set the mark up of a store. More...
 
int NWNX_Store_GetCurrentCustomersCount (object oStore)
 Return current customer count. More...
 

Function Documentation

◆ NWNX_Store_GetIsRestrictedBuyItem()

int NWNX_Store_GetIsRestrictedBuyItem ( object  oStore,
int  nBaseItem 
)

Return status of a base item purchase status.

Parameters
oStoreThe store object.
nBaseItemA BASE_ITEM_* value
Returns
TRUE if the quest has been completed. -1 if the player does not have the journal entry.

Definition at line 52 of file nwnx_store.nss.

◆ NWNX_Store_GetBlackMarketMarkDown()

int NWNX_Store_GetBlackMarketMarkDown ( object  oStore)

Return the blackmarket mark down of a store.

Parameters
oStoreThe store object.
Returns
mark down of a store, -1 on error

Definition at line 63 of file nwnx_store.nss.

◆ NWNX_Store_SetBlackMarketMarkDown()

void NWNX_Store_SetBlackMarketMarkDown ( object  oStore,
int  nValue 
)

Set the blackmarket mark down of a store.

Parameters
oStoreThe store object.
nValueThe amount.

Definition at line 73 of file nwnx_store.nss.

◆ NWNX_Store_GetMarkDown()

int NWNX_Store_GetMarkDown ( object  oStore)

Return the mark down of a store.

Parameters
oStoreThe store object.
Returns
mark down of a store, -1 on error

Definition at line 83 of file nwnx_store.nss.

◆ NWNX_Store_SetMarkDown()

void NWNX_Store_SetMarkDown ( object  oStore,
int  nValue 
)

Set the mark down of a store.

Parameters
oStoreThe store object.
nValueThe amount.

Definition at line 93 of file nwnx_store.nss.

◆ NWNX_Store_GetMarkUp()

int NWNX_Store_GetMarkUp ( object  oStore)

Return the mark up of a store.

Parameters
oStoreThe store object.
Returns
mark up of a store, -1 on error

Definition at line 103 of file nwnx_store.nss.

◆ NWNX_Store_SetMarkUp()

void NWNX_Store_SetMarkUp ( object  oStore,
int  nValue 
)

Set the mark up of a store.

Parameters
oStoreThe store object.
nValueThe amount.

Definition at line 113 of file nwnx_store.nss.

◆ NWNX_Store_GetCurrentCustomersCount()

int NWNX_Store_GetCurrentCustomersCount ( object  oStore)

Return current customer count.

Parameters
oStoreThe store object.
Returns
count, or -1 on error

Definition at line 123 of file nwnx_store.nss.