29 lines
528 B
Plaintext
29 lines
528 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(10000000, oPC, TRUE));
|
||
|
|
||
|
object oTarget;
|
||
|
object oItem;
|
||
|
oTarget = oPC;
|
||
|
|
||
|
oItem = GetItemInSlot(INVENTORY_SLOT_CHEST, oTarget);
|
||
|
|
||
|
itemproperty ipAdd;
|
||
|
ipAdd = ItemPropertyACBonus(10);
|
||
|
|
||
|
IPSafeAddItemProperty(oItem, ipAdd);
|
||
|
|
||
|
}
|
||
|
|