MMD_PRC8/_module/nss/con_c_townport1.nss
Jaysyn904 adeff59f82 Initial commit
Initial commit.
2024-08-02 23:18:00 -04:00

15 lines
464 B
Plaintext

////////////////////////////////////////////////////////////////////////////////
// conversation condition
////////////////////////////////////////////////////////////////////////////////
int StartingConditional()
{
object oPC = GetPCSpeaker();
int nTokenMax = GetLocalInt(oPC,"TokenMax");
int nTokenCounter = GetLocalInt(oPC,"TokenCounter");
SetLocalInt(oPC,"TokenCounter",++nTokenCounter);
return (nTokenCounter <= nTokenMax);
}