Alangara_PRC8/_module/nss/ke_giveballance.nss
Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

42 lines
850 B
Plaintext

/* 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();
object oItem;
oItem = GetItemPossessedBy(oPC, "Bloodhelmoffury");
if (GetIsObjectValid(oItem))
DestroyObject(oItem);
AssignCommand(oPC, TakeGoldFromCreature(99999, oPC, TRUE));
oItem = GetItemPossessedBy(oPC, "Bloodplateoffury");
if (GetIsObjectValid(oItem))
DestroyObject(oItem);
oItem = GetItemPossessedBy(oPC, "SmorfyrsGuard");
if (GetIsObjectValid(oItem))
DestroyObject(oItem);
oItem = GetItemPossessedBy(oPC, "SmorfyrsFortification");
if (GetIsObjectValid(oItem))
DestroyObject(oItem);
CreateItemOnObject("visirofballance", oPC);
CreateItemOnObject("platemailofballe", oPC);
}