25 lines
501 B
Plaintext
25 lines
501 B
Plaintext
|
#include "nw_i0_tool"
|
||
|
/* Script generated by
|
||
|
Lilac Soul's NWN Script Generator, v. 1.4
|
||
|
|
||
|
For download info, please visit:
|
||
|
http://www.lilacsoul.revility.com */
|
||
|
|
||
|
//Put this on action taken in the conversation editor
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
RewardPartyXP(850, oPC, FALSE);
|
||
|
|
||
|
CreateItemOnObject("irdastone", oPC);
|
||
|
|
||
|
object oItem;
|
||
|
oItem = GetItemPossessedBy(oPC, "OrkusRing");
|
||
|
|
||
|
if (GetIsObjectValid(oItem)) DestroyObject(oItem);
|
||
|
SetLocalInt(GetPCSpeaker(),"irda",1);
|
||
|
}
|
||
|
|