EN6_PRC8/_module/nss/qst_takeitem.nss
Jaysyn904 a6f6db7303 Initial commit
Initial commit.  Updated release archive.
2024-06-13 15:08:33 -04:00

18 lines
266 B
Plaintext

void main()
{
int iStep;
int iSteps;
object oPC;
object oItemToTake;
string sTag;
oPC = GetPCSpeaker();
sTag = GetLocalString(oPC,"QuestItem");
oItemToTake = GetItemPossessedBy(oPC, sTag);
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
}