CreateGem
From NWN Lexicon
Contents |
[edit] CreateGem(object, object, int, int)
Creates a Gem as part of the NWN treasure distribution system
[edit] Parameters
oTarget
Object to create the item in
oAdventurer
a Player object
nTreasureType
Type of Gem to Create
nModifier
Modifier to increase gem value (Default: 0)
[edit] Description
Greates a Gem of at least 1gp value. More based on the level of the PC and the Modifier
[edit] Remarks
Found in: nw_o2_coninclude.nss
This can be used to create the item in any object with an inventory.
[edit] Requirements
#include " nw_o2_coninclude "
[edit] Version
1.61
[edit] See Also
author: Michael Nork, editor: Lilac Soul