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

11 lines
264 B
Plaintext

#include "x4_inc_functions"
int StartingConditional()
{
object oPC = GetPCSpeaker();
string sDB = CharacterDB(oPC);
int nRansom = StringToInt(GetCampaignString(sDB, "QUEST_EXTRA2"))*2;
if (GetGold(oPC) >= nRansom) return TRUE;
return FALSE;
}