RATDOG/_module/nss/qst_marthek_end.nss
Jaysyn904 2105778d4c Fixed creature hak name, added more quest persistence
Fixed creature hak name, added more quest persistence.

Co-Authored-By: Awetizmo <107700980+Awetizmo@users.noreply.github.com>
2022-06-19 23:39:17 -04:00

32 lines
744 B
Plaintext

//:://////////////////////////////////////////////
//:: qst_marthek_end.nss
//:: Copyright (c) 2022 Project RATDOG
//:://////////////////////////////////////////////
/*
Ends & rewards the "Marthek the Madman" quest.
This is the good ending.
*/
//:://////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 20220619
//:://////////////////////////////////////////////
#include "nw_i0_tool"
#include "pqj_inc"
void main()
{
//:: Declare major variables
object oPC = GetPCSpeaker();
//:: Set quest stage & update DB.
AddPersistentJournalQuestEntry("marthek", 4, oPC);
//:: Give the PC some gold
GiveGoldToCreature(oPC, 1500);
//:: Give the PC's party some XP
RewardPartyXP(700, oPC);
}