CreateJunk

From NWN Lexicon



Contents

[edit] CreateJunk(object)

Creates random items for the container treasure.

void CreateJunk(
    object oTarget
);

[edit] Parameters

oTarget

Container to create the junk in


[edit] 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)



[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
 

Personal tools
Categories