GenerateMediumTreasure(object, object)

Spawns in treasure as part of the random treasure distribution.

void GenerateMediumTreasure(
    object oLastOpener,
    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

categories: Item Creation Functions


 author: Michael Nork