PGCC_PRC8/_module/nss/vtw_hasgold.nss

10 lines
202 B
Plaintext
Raw Permalink Normal View History

2024-10-09 14:17:22 -04:00
int StartingConditional()
{
object oPC = GetPCSpeaker();
int iCost = GetLocalInt(oPC, "iModifyCost");
int iGold = GetGold(oPC);
if (iGold < iCost) return FALSE;
else return TRUE;
}