29 lines
892 B
Plaintext
29 lines
892 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Mephistopheles, Journal Entry (Action Script)
|
|
//:: H9a_Meph_Journ01.nss
|
|
//:: Copyright (c) 2001 Bioware Corp.
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
Add journal entry indicating that Player
|
|
used Meph's True Name to stop him.
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Rob Bartel
|
|
//:: Created On: September 18, 2003
|
|
//:://////////////////////////////////////////////
|
|
#include "nw_i0_plot"
|
|
void main()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
AddJournalQuestEntry("XP2_Name_Mephisto", 20, oPC, TRUE, TRUE);
|
|
|
|
//Give non-repeatable XP
|
|
int i2daRow = 170;
|
|
int bDuplicate = GetLocalInt(GetModule(), "bEXP_"+IntToString(i2daRow));
|
|
if (bDuplicate == FALSE)
|
|
{
|
|
SetLocalInt(GetModule(), "bEXP_"+IntToString(i2daRow), TRUE);
|
|
Reward_2daXP(oPC, i2daRow);
|
|
}
|
|
}
|