Quest persistence pass
Quest persistence pass.
This commit is contained in:
31
_module/nss/qst_tribitz_3rd.nss
Normal file
31
_module/nss/qst_tribitz_3rd.nss
Normal file
@@ -0,0 +1,31 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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);
|
||||
}
|
Reference in New Issue
Block a user