RATDOG/_module/nss/qst_spiders_end.nss

32 lines
813 B
Plaintext
Raw Normal View History

//::///////////////////////////////////////////////
//:: qst_spiders_end.nss
//:: Copyright (c) 2022 Project RATDOG
//:://////////////////////////////////////////////
/*
Finished & rewards the PC for completing the
"Spiders' Captive" quest.
*/
//:://////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 20220620
//:://////////////////////////////////////////////
#include "pqj_inc"
#include "nw_i0_tool"
#include "x0_i0_partywide"
void main()
{
//:: Declare major variables
object oPC = GetPCSpeaker();
//:: Give the speaker some gold
GiveGoldToAllEqually(oPC, 500);
//:: Set quest stage & update DB.
AddPersistentJournalQuestEntry("spiders", 3, oPC);
//:: Reward party with Quest XP
GiveXPToAllEqually(oPC, GetJournalQuestExperience("spiders"));
}