33 lines
620 B
Plaintext
33 lines
620 B
Plaintext
|
#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);
|
||
|
|
||
|
}
|
||
|
|