Ancordia_PRC8/_module/nss/house_havenone.nss
Jaysyn904 102ba7dab6 Initial Commit
Initial Commit
2023-09-21 19:51:32 -04:00

23 lines
1.1 KiB
Plaintext

#include "x4_inc_functions"
int StartingConditional()
{
object oPC = GetPCSpeaker();
object oModule = GetModule();
string sDatabase = GetLocalString(oModule, "DB");
string sPCOwner = CharacterDB(oPC);
string sAuberageOwner = GetCampaignString(sDatabase, "H_AUBERAGE_OWNER");
string sSilbuamOwner = GetCampaignString(sDatabase, "H_SILBUAM_OWNER");
string sFohenwindOwner = GetCampaignString(sDatabase, "H_FOHENWIND_OWNER");
string sWestronOwner = GetCampaignString(sDatabase, "H_WESTRON_OWNER");
string sHeimdolOwner = GetCampaignString(sDatabase, "H_HEIMDOL_OWNER");
string sBaldamOwner = GetCampaignString(sDatabase, "H_BALDAM_OWNER");
string sArkenstoneOwner = GetCampaignString(sDatabase, "H_ARKENSTONE_OWNER");
string sDragonwoldOwner = GetCampaignString(sDatabase, "H_DRAGONWOLD_OWNER");
if(sAuberageOwner != sPCOwner && sSilbuamOwner != sPCOwner && sFohenwindOwner != sPCOwner && sWestronOwner != sPCOwner
&& sHeimdolOwner != sPCOwner && sBaldamOwner != sPCOwner && sArkenstoneOwner != sPCOwner && sDragonwoldOwner != sPCOwner)
return TRUE;
return FALSE;
}