31 lines
904 B
Plaintext
31 lines
904 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName s_checkforhjnote
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 12/17/2004 1:18:18 PM
|
||
|
//:://////////////////////////////////////////////
|
||
|
#include "nw_i0_tool"
|
||
|
#include "x0_i0_campaign"
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
|
||
|
// Make sure the PC speaker has these items in their inventory
|
||
|
if(HasItem(GetPCSpeaker(), "SHA_MARIN_NOTE_HJALMAR"))
|
||
|
{
|
||
|
//Must have been given and done Marin's quest.
|
||
|
if(GetCampaignDBInt(GetPCSpeaker(), "sha_marin_q1") == 100 && GetCampaignDBInt(GetPCSpeaker(), "sha_marin_q2") == 100 && GetCampaignDBInt(GetPCSpeaker(), "sha_hjalmar_q1") == 0)
|
||
|
{
|
||
|
return TRUE;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
return FALSE;
|
||
|
}
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
return FALSE;
|
||
|
}
|
||
|
}
|