Aantioch_Infernum/_module/nss/end_jail_quest.nss

28 lines
555 B
Plaintext
Raw Permalink Normal View History

2023-08-08 16:22:17 -04:00
#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);
}