WoR_PRC8/_module/nss/s_marinpressure2.nss
Jaysyn904 b5e28e52f4 Initial commit
Initial commit [1.18]
2025-04-03 11:49:34 -04:00

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;
}
}