MMD_PRC8/_module/nss/addkeen.nss
Jaysyn904 adeff59f82 Initial commit
Initial commit.
2024-08-02 23:18:00 -04:00

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);
}