15 lines
355 B
Plaintext
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);
|
|
}
|