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

14 lines
334 B
Plaintext

int StartingConditional()
{
object oPC = GetPCSpeaker();
object oModule = GetModule();
string sDatabase = GetLocalString(oModule, "DB");
string sHouse = GetLocalString(oPC, "HouseToSell");
string sAuth = GetCampaignString(sDatabase, "H_"+sHouse+"_AUTH_1");
if (sAuth != "") return TRUE;
return FALSE;
}