28 lines
555 B
Plaintext
28 lines
555 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("ravenshadowcloak", oPC);
|
|
|
|
object oItem;
|
|
oItem = GetItemPossessedBy(oPC, "CugelsHead");
|
|
|
|
if (GetIsObjectValid(oItem)) DestroyObject(oItem);
|
|
SetLocalInt(GetPCSpeaker(),"jailor",1);
|
|
|
|
AdjustAlignment(oPC, ALIGNMENT_EVIL, 30);
|
|
|
|
}
|
|
|