23 lines
733 B
Plaintext
23 lines
733 B
Plaintext
#include "nw_i0_tool"
|
|
#include "x0_i0_campaign"
|
|
int StartingConditional()
|
|
{
|
|
//Infor of the Eldior was given (sha_marin_q1 == 100), PC has completed it (sha_marin_q2 ==100) but has not yet taken the Letter to Hjalmar
|
|
if((GetCampaignDBInt(GetPCSpeaker(), "sha_marin_q1")) == 100 && (GetCampaignDBInt(GetPCSpeaker(), "sha_marin_q2")) == 100 && (GetCampaignDBInt(GetPCSpeaker(), "sha_hjalmar_q1")) == 0)
|
|
{
|
|
//Makesure the PC has the Quest item in inventory and did not 'waste' it.
|
|
if(HasItem(GetPCSpeaker(), "SHA_MARIN_NOTE_HJALMAR"))
|
|
{
|
|
return TRUE;
|
|
}
|
|
else
|
|
{
|
|
return FALSE;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
return FALSE;
|
|
}
|
|
}
|