HoS_PRC8/_mod/_module/nss/rtsa_ck_msgtrib.nss

11 lines
320 B
Plaintext
Raw Permalink Normal View History

2024-11-25 19:36:07 -05:00
int StartingConditional()
{
int nParm=GetLocalInt(GetPCSpeaker(),"nParm");
int nGold=GetGold(GetPCSpeaker());
if (nParm==28&&nGold>=1000) return TRUE;
if (nParm==29&&nGold>=5000) return TRUE;
if (nParm==30&&nGold>=10000) return TRUE;
if (nParm==31&&nGold>=20000) return TRUE;
return FALSE;
}