32 lines
666 B
Plaintext
32 lines
666 B
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 1.3
|
|
|
|
For download info, please visit:
|
|
http://www.lilacsoul.revility.com */
|
|
|
|
//Put this on action taken in the conversation editor
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
object oItem;
|
|
oItem = GetItemPossessedBy(oPC, "LEGIONGRAIL1");
|
|
|
|
if (GetIsObjectValid(oItem)) DestroyObject(oItem);
|
|
|
|
oItem = GetItemPossessedBy(oPC, "LEGIONGRAIL2");
|
|
|
|
if (GetIsObjectValid(oItem)) DestroyObject(oItem);
|
|
|
|
oItem = GetItemPossessedBy(oPC, "LEGIONGRAIL3");
|
|
|
|
if (GetIsObjectValid(oItem)) DestroyObject(oItem);
|
|
|
|
oItem = GetItemPossessedBy(oPC, "LEGIONGRAIL4");
|
|
|
|
if (GetIsObjectValid(oItem)) DestroyObject(oItem);
|
|
|
|
}
|
|
|