PWE_PRC8/_module/nss/takeremains.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

19 lines
637 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName takeremains
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 9/24/2002 1:32:31 PM
//:://////////////////////////////////////////////
void main()
{
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "DemoniacRemains");
if(GetIsObjectValid(oItemToTake) != 0)
ActionPauseConversation();
ActionTakeItem(oItemToTake, GetPCSpeaker());
ActionResumeConversation();
}