35 lines
1.1 KiB
Plaintext
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;
|
||
|
}
|
||
|
}
|