Initial commit. Updated release archive.
This commit is contained in:
28
_module/nss/h9a_meph_journ03.nss
Normal file
28
_module/nss/h9a_meph_journ03.nss
Normal file
@@ -0,0 +1,28 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Mephistopheles, Journal Entry (Action Script)
|
||||
//:: H9a_Meph_Journ03.nss
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Add journal entry indicating that Player
|
||||
used Meph's True Name to replace him.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Rob Bartel
|
||||
//:: Created On: September 18, 2003
|
||||
//:://////////////////////////////////////////////
|
||||
#include "nw_i0_plot"
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
AddJournalQuestEntry("XP2_Name_Mephisto", 40, oPC, TRUE, TRUE);
|
||||
|
||||
//Give non-repeatable XP
|
||||
int i2daRow = 172;
|
||||
int bDuplicate = GetLocalInt(GetModule(), "bEXP_"+IntToString(i2daRow));
|
||||
if (bDuplicate == FALSE)
|
||||
{
|
||||
SetLocalInt(GetModule(), "bEXP_"+IntToString(i2daRow), TRUE);
|
||||
Reward_2daXP(oPC, i2daRow);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user