 /*
 *  Script generated by LS Script Generator, v.TK.0
 *
 *  For download info, please visit:
 *  http://nwvault.ign.com/View.php?view=Other.Detail&id=1502
 */
// Put this script OnEnter.


void main()
{
    // Get the creature who triggered this event.
    object oPC = GetEnteringObject();

    // Only fire for (real) PCs.
    if ( !GetIsPC(oPC)  ||  GetIsDMPossessed(oPC) )
        return;

    // Abort if the PC is not exactly at stage 2 of journal quest "JezzTheLame".
    if ( GetLocalInt(oPC, "NW_JOURNAL_ENTRYJezzTheLame") != 2 )
        return;

    // Abort if the PC is not before stage 1 of journal quest "OneForTheRoad".
    if ( GetLocalInt(oPC, "NW_JOURNAL_ENTRYOneForTheRoad") >= 1 )
        return;

    // Update the party's journals.
    AddJournalQuestEntry("OneForTheRoad", 1, oPC);
}

