RATDOG/_module/nss/qst_tribitz_3rd.nss

32 lines
816 B
Plaintext
Raw Permalink Normal View History

//::///////////////////////////////////////////////
//:: 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);
}