RATDOG/_module/nss/qst_altar_end.nss
Jaysyn904 ee912d2da9 Quest persistence work
Quest persistence work.
2022-07-06 00:35:22 -04:00

34 lines
867 B
Plaintext

//::///////////////////////////////////////////////
//:: qst_altar_start.nss
//:: Copyright (c) 2022 Project RATDOG
//:://////////////////////////////////////////////
/*
Ends & rewards the "Lost Altar" quest.
*/
//:://////////////////////////////////////////////
//:: Created By: Tolen
//:: Created On: 8/15/2005 10:59:16 PM
//:://////////////////////////////////////////////
#include "pqj_inc"
#include "nw_i0_tool"
void main()
{
//:: Declare major variables
object oPC = GetPCSpeaker();
object oItemToTake;
//:: Give the PC's party some XP
RewardPartyXP(250, oPC);
//:: Set quest stage & update DB.
AddPersistentJournalQuestEntry("lostaltar", 4, oPC);
//:: Remove plot item from PC's inventory
oItemToTake = GetItemPossessedBy(oPC, "ZEP_HOLYSYMBOLhec");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
}