CreateJunk(object)

Creates random items for the container treasure.

void CreateJunk(
    object oTarget
);

Parameters

oTarget

Container to create the junk in


Description

Creates one of the following random Items in the container, as part of the NWN Treasure Distribution System.
NW_IT_MPOTION021 (ale)
NW_IT_MPOTION023 (wine)
NW_IT_MPOTION022" (spirits)
NW_IT_TORCH001 (torch)



Remarks

Found in nw_o2_coninclude.nss

This can be used to create the item in any object with an inventory.


Requirements

#include "nw_o2_coninclude"

Version

1.61

See Also

categories: Item Creation Functions


 author: Michael Nork, editor: Lilac Soul