Files
HeroesStone_PRC8/_module/nss/vg_has_gold.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

13 lines
272 B
Plaintext

int StartingConditional()
{
object oPC = GetPCSpeaker();
// Reject player if they don't have 'iRequiredGold' gold
int iRequiredGold = GetLocalInt(OBJECT_SELF,"RequiredGold");
int iGold = GetGold(oPC);
if(iGold < iRequiredGold)
{
return FALSE;
}
return TRUE;
}