36 lines
		
	
	
		
			946 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			946 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
//::///////////////////////////////////////////////
 | 
						|
//:: qst_tribitz_end2.nss
 | 
						|
//:: Copyright (c) 2022 Project RATDOG
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
/*
 | 
						|
    Finished & rewards the PC for completing the
 | 
						|
    "Quests of Tribitz" quest with Tribitz dead.
 | 
						|
*/
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
//:: Created By: Tolen
 | 
						|
//:: Created On: 8/24/2005 9:08:28 PM
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
 | 
						|
#include "pqj_inc"
 | 
						|
#include "nw_i0_tool"
 | 
						|
 | 
						|
void main()
 | 
						|
{
 | 
						|
//:: Declare major variables
 | 
						|
    object oPC = GetPCSpeaker();
 | 
						|
 | 
						|
//:: Give the speaker some gold
 | 
						|
    GiveGoldToCreature(oPC, 10000);
 | 
						|
 | 
						|
//:: Set quest stage & update DB.
 | 
						|
    AddPersistentJournalQuestEntry("tribitz", 8, oPC);
 | 
						|
 | 
						|
//:: Give the PC's party some XP
 | 
						|
    RewardPartyXP(1000, oPC);
 | 
						|
 | 
						|
//:: Give the PC the reward items
 | 
						|
    CreateItemOnObject("item049", oPC, 1);   //:: Tribitz's Key
 | 
						|
    CreateItemOnObject("staffoffire", oPC, 1);  //:: Staff of Fire
 | 
						|
 | 
						|
}
 |