NWNX:EE  8193.36.12
nwnx_item.nss File Reference
#include "nwnx"

Go to the source code of this file.

Functions

void NWNX_Item_SetWeight (object oItem, int weight)
 Set an item's weight. More...
 
void NWNX_Item_SetBaseGoldPieceValue (object oItem, int gold)
 Set an item's base value in gold pieces. More...
 
void NWNX_Item_SetAddGoldPieceValue (object oItem, int gold)
 Set an item's additional value in gold pieces. More...
 
int NWNX_Item_GetBaseGoldPieceValue (object oItem)
 Get an item's base value in gold pieces. More...
 
int NWNX_Item_GetAddGoldPieceValue (object oItem)
 Get an item's additional value in gold pieces. More...
 
void NWNX_Item_SetBaseItemType (object oItem, int nBaseItem)
 Set an item's base item type. More...
 
void NWNX_Item_SetItemAppearance (object oItem, int nType, int nIndex, int nValue, int bUpdateCreatureAppearance=FALSE)
 Make a single change to the appearance of an item. More...
 
string NWNX_Item_GetEntireItemAppearance (object oItem)
 Return a string containing the entire appearance for an item. More...
 
void NWNX_Item_RestoreItemAppearance (object oItem, string sApp)
 Restores an item's appearance using the value retrieved through NWNX_Item_GetEntireItemAppearance(). More...
 
int NWNX_Item_GetBaseArmorClass (object oItem)
 Get an item's base armor class. More...
 
int NWNX_Item_GetMinEquipLevel (object oItem)
 Get an item's minimum level required to equip. More...
 
int NWNX_Item_MoveTo (object oItem, object oTarget, int bHideAllFeedback=FALSE)
 Move oItem to oTarget. More...
 
void NWNX_Item_SetMinEquipLevelModifier (object oItem, int nModifier, int bPersist=TRUE)
 Set a modifier to the Minimum Level to Equip (Item Level Restriction). More...
 
int NWNX_Item_GetMinEquipLevelModifier (object oItem)
 Gets the applied modifier to the Minimum Level to Equip (Item Level Restriction). More...
 
void NWNX_Item_SetMinEquipLevelOverride (object oItem, int nOverride, int bPersist=TRUE)
 Set an override to the Minimum Level to Equip (Item Level Restriction). More...
 
int NWNX_Item_GetMinEquipLevelOverride (object oItem)
 Gets the applied override to the Minimum Level to Equip (Item Level Restriction). More...