Quest persistence pass

Quest persistence pass.
This commit is contained in:
Jaysyn904
2022-07-03 00:17:49 -04:00
parent 5bb45371fc
commit 2cf9f57160
209 changed files with 32032 additions and 2682 deletions

View File

@@ -0,0 +1,31 @@
//::///////////////////////////////////////////////
//:: qst_tribitz_4th.nss
//:: Copyright (c) 2022 Project RATDOG
//:://////////////////////////////////////////////
/*
Sets stage #4 for the "Quests for Tribitz"
quest & removes the quest item.
*/
//:://////////////////////////////////////////////
//:: Created By: Tolen
//:: Created On: 8/23/2005 10:05:29 PM
//:://////////////////////////////////////////////
#include "pqj_inc"
void main()
{
//:: Declare major variables
object oPC = GetPCSpeaker();
object oItemToTake;
//:: Set quest stage & update DB.
AddPersistentJournalQuestEntry("tribitz", 4, oPC);
//:: Remove quest item from PC's inventory
oItemToTake = GetItemPossessedBy(oPC, "HerzordsHead");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
}