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