Initial commit
Initial commit.
This commit is contained in:
32
_module/nss/addkeen.nss
Normal file
32
_module/nss/addkeen.nss
Normal file
@@ -0,0 +1,32 @@
|
||||
#include "x2_inc_itemprop"
|
||||
/* Script generated by
|
||||
Lilac Soul's NWN Script Generator, v. 1.6
|
||||
|
||||
For download info, please visit:
|
||||
http://www.lilacsoul.revility.com */
|
||||
|
||||
//Put this on action taken in the conversation editor
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
AssignCommand(oPC, TakeGoldFromCreature(10000, oPC, TRUE));
|
||||
|
||||
object oTarget;
|
||||
object oItem;
|
||||
oTarget = oPC;
|
||||
|
||||
oItem = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oTarget);
|
||||
|
||||
itemproperty ipAdd;
|
||||
ipAdd = ItemPropertyKeen();
|
||||
|
||||
IPSafeAddItemProperty(oItem, ipAdd);
|
||||
|
||||
ActionMoveToObject(GetObjectByTag("anvil"));
|
||||
|
||||
ActionPlayAnimation(ANIMATION_FIREFORGET_STEAL);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user