RATDOG/_module/nss/qst_yuanti_end.nss
Jaysyn904 2cf9f57160 Quest persistence pass
Quest persistence pass.
2022-07-03 00:17:49 -04:00

31 lines
745 B
Plaintext

//::///////////////////////////////////////////////
//:: qst_yuanti_end.nss
//:: Copyright (c) 2022 Project RATDOG
//:://////////////////////////////////////////////
/*
Ends & rewards the "Homesick Yuan-ti" quest.
*/
//:://////////////////////////////////////////////
//:: Created By: Tolen
//:: Created On: 9/9/2005 12:08:12 AM
//:://////////////////////////////////////////////
#include "pqj_inc"
#include "nw_i0_tool"
void main()
{
//:: Declare major variables
object oPC = GetPCSpeaker();
//:: Set Quest stage & update DB.
AddPersistentJournalQuestEntry("yuanti", 3, oPC);
//:: Give the PC some gold
GiveGoldToCreature(GetPCSpeaker(), 10000);
//:: Give the PC's party some XP
RewardPartyXP(1000, GetPCSpeaker());
}