31 lines
745 B
Plaintext
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());
|
|
|
|
}
|