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

35 lines
1.1 KiB
Plaintext

//::///////////////////////////////////////////////
//:: FileName s_hasladycrystal
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 12/20/2004 6:47:57 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_LADYS_TELECRYSTAL"))
{
if(GetCampaignDBInt(GetPCSpeaker(), "sha_marin_q3") == 100)
{
return FALSE;
}
//must have done all the lead up quests
else if (GetCampaignDBInt(GetPCSpeaker(), "sha_marin_q2") == 100 && GetCampaignDBInt(GetPCSpeaker(), "sha_marin_q1") == 100 && GetCampaignDBInt(GetPCSpeaker(), "sha_ladym_q1") == 100 && GetCampaignDBInt(GetPCSpeaker(), "sha_ladym_q2") == 100 && GetCampaignDBInt(GetPCSpeaker(), "sha_marin_q3") == 0)
{
return TRUE;
}
else
{
return FALSE;
}
}
else
{
return FALSE;
}
}