Amon_PRC8/_module/nss/is_18plus.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

20 lines
491 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName is_18plus
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 1/17/2005 11:10:52 PM
//:://////////////////////////////////////////////
int StartingConditional()
{
// Restrict based on the player's class
int iPassed = 0;
if(GetHitDice(GetPCSpeaker()) >= 18)
iPassed = 1;
if(iPassed == 0)
return FALSE;
return TRUE;
}