GetNumberOfItems(int)
Determines the number of items to create as treasure.
int GetNumberOfItems( int nTreasureType );
Parameters
nTreasureType
Description
Returns the number of items to create for a treasure of type nTreasureType.
Remarks
GetNumberOfItems() is used in the treasure generation scripts that drive BioWare's modules.
Requirements
#include "nw_o2_coninclude"
Version
1.28
See Also
categories: | Module Specific Functions |
constants: | TREASURE_* Constants |
author: Tom Cassiotis, editor: Charles Feduke, additional contributor(s): Rodney Sherrill