ES_PRC8/_module/nss/takeringm_sc.nss
Jaysyn904 08e84b4e71 Initial upload
Initial upload.
2023-11-14 12:09:02 -05:00

36 lines
723 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName takeinsig_sc
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 8/12/2002 8:52:19 PM
//:://////////////////////////////////////////////
void main()
{
object oTalkingPC;
object oInvItem;
oTalkingPC = GetPCSpeaker();
oInvItem = GetFirstItemInInventory(oTalkingPC);
// while (oInvItem != OBJECT_INVALID)
while (GetIsObjectValid(oInvItem) != 0)
{
if (GetTag(oInvItem) == "MinorNecromancyRing2") {
DestroyObject(oInvItem);
GiveGoldToCreature(oTalkingPC, 80);
}
oInvItem = GetNextItemInInventory(oTalkingPC);
}
}