Module nwn.nwscript.extensions

Useful functions that are not part of nwscript

Functions

NameDescription
calcItemCost(oItem) Calculate an item cost, without taking into account its additional cost
getItemModifyCost(oItem) Returns the item additional cost as defined in the blueprint, multiplied by the number of stacked items
toGameString(ip) Converts an itemproperty into its in-game description
toNWFloat(value)
toNWInt(value)
toNWItemproperty(node)
toPrettyString(ip)

Manifest constants

NameTypeDescription
isGffStruct Checks if T is either a nwn.gff.GffStruct or a nwn.fastgff.GffStruct