NWNDS/nwnds_module/tlr_hascost.nss

11 lines
175 B
Plaintext
Raw Normal View History

int StartingConditional()
{
int nPrice = GetLocalInt(OBJECT_SELF, "CURRENTPRICE");
if(GetGold(GetPCSpeaker()) >= nPrice)
{ return TRUE; }
return FALSE;
}