HoS_PRC8/_mod/_module/nss/at_set_timelimit.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

15 lines
355 B
Plaintext

// at set time limit
void main()
{
object oMod=GetModule();
int nParm=GetLocalInt(GetPCSpeaker(),"nParm");
int nTL=3;
if (nParm==2) nTL=5;
else if (nParm==3) nTL=8;
else if (nParm==4) nTL=10;
else if (nParm==5) nTL=13;
else if (nParm==6) nTL=15;
else if (nParm==7) nTL=20;
SetLocalInt(oMod,"nTimeLimitDays",nTL);
}