RATDOG/_module/nss/qst_tribitz_3rd.nss
Jaysyn904 2cf9f57160 Quest persistence pass
Quest persistence pass.
2022-07-03 00:17:49 -04:00

32 lines
816 B
Plaintext

//::///////////////////////////////////////////////
//:: qst_tribitz_3rd.nss
//:: Copyright (c) 2022 Project RATDOG
//:://////////////////////////////////////////////
/*
Sets stage #3 for the "Quests for Tribitz"
quest & removes the quest item.
*/
//:://////////////////////////////////////////////
//:: Created By: Tolen
//:: Created On: 8/23/2005 11:03:26 PM
//:://////////////////////////////////////////////
#include "pqj_inc"
void main()
{
//:: Declare major variables
object oPC = GetPCSpeaker();
object oItemToTake;
//:: Set quest stage & update DB.
AddPersistentJournalQuestEntry("tribitz", 3, oPC);
//:: Remove quest item from PC's inventory
oItemToTake = GetItemPossessedBy(oPC, "HydrasHeart");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
}