32 lines
		
	
	
		
			744 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			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", 5, oPC);
 | 
						|
 | 
						|
//:: Give the PC some gold
 | 
						|
    GiveGoldToCreature(oPC, 1500);
 | 
						|
 | 
						|
//:: Give the PC's party some XP
 | 
						|
    RewardPartyXP(700, oPC);
 | 
						|
 | 
						|
}
 |