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

27 lines
861 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName s_hasmayorsash
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 12/16/2004 9:22:53 PM
//:://////////////////////////////////////////////
#include "nw_i0_tool"
#include "x0_i0_campaign"
int StartingConditional()
{
if(HasItem(GetPCSpeaker(), "SHA_ELIDOR_MAYOR_SASH"))
{
//Again make sure the PC has not done the Sash quest before from Marin, AND it has first obtained the Sash quest information from Marin.
if(GetCampaignDBInt(GetPCSpeaker(), "sha_marin_q1") == 100 && GetCampaignDBInt(GetPCSpeaker(), "sha_marin_q2") == 0)
{
return TRUE;
}
else
{
return FALSE;
}
}
else
return FALSE;
}