dbCreateItemOnObject(string, object, int)
This function creates the item for the NWN Treasure Distribution System.
void dbCreateItemOnObject( string sItemTemplate, object oTarget = OBJECT_SELF, int nStackSize = 1 );
The blueprint resref of the item to be created (if this is an empty string, then it should be reported to "Brent").
The inventory where you want the item created. (Default: OBJECT_SELF)
The number of items to be created. (Default: 1)
This function was made to assist with debugging and eventually became the function that actually creates items for the NWN Treasure Distribution System.
#include " nw_o2_coninclude "
author: Michael Nork, editor: Charles Feduke