CreateBastardSword

From NWN Lexicon
Jump to navigationJump to search



CreateBastardSword(object, object)

Creates a Bastard sword for the containers treasure

void CreateBastardSword(
    object oTarget,
    object oAdventurer
);

Parameters

oTarget

Container to create the item in

oAdventurer

a Player object


Description

Spawns in a magical weapon of questionable leiniege as part of the random treasure distribution.



Remarks

Found in nw_o2_feat.nss

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


Requirements

#include " nw_o2_feat "

Version

1.61

See Also



 author: Michael Nork, editor: Lilac Soul