GenerateMediumTreasure

From NWN Lexicon
Revision as of 21:37, 25 August 2012 by Dood (talk | contribs)
Jump to: navigation, search



GenerateMediumTreasure(object, object)

Spawns in treasure as part of the random treasure distribution.

 [[void | void ]] GenerateMediumTreasure(
     [[object | object ]] oLastOpener,
     [[object | object ]] oCreateOn = OBJECT_INVALID
 );

Parameters

oLastOpener

a Player object

oCreateOn

Container to create the item in (Default: OBJECT_INVALID)


Description

This function creates Medium level treasure based on the level of the PC passed in.



Remarks

Found in nw_o2_coninclude.nss


Requirements

#include " nw_o2_coninclude "

Version

1.22

See Also



 author: Michael Nork