Quest persistence pass
Quest persistence pass.
This commit is contained in:
30
_module/nss/qst_yuanti_end.nss
Normal file
30
_module/nss/qst_yuanti_end.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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());
|
||||
|
||||
}
|
Reference in New Issue
Block a user