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

14 lines
287 B
Plaintext

/* tp_cond_custom
* created by Glendale Nights
* mofified by dluan on jan 2003 */
int StartingConditional()
{
int nCount = GetLocalInt(OBJECT_SELF, "TP_ITEM");
if (nCount) {
SetLocalInt(OBJECT_SELF, "TP_ITEM", --nCount);
return TRUE;
}
return FALSE;
}