GenerateBookTreasure(object, object)

This Function is part of the random treasure distribution.

void GenerateBookTreasure(
    object oLastOpener,
    object oCreateOn = OBJECT_INVALID
);

Parameters

oLastOpener

a PC Object

oCreateOn

Container for Treasure (Default: OBJECT_INVALID)


Description

This function creates treasure as part of the NWN Treasure Distribution System



Remarks

Found in : nw_o2_coninclude.nss


Requirements

#include "nw_o2_coninclude"

Version

1.22

See Also

categories: Item Creation Functions


 author: Michael Nork