Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

16 lines
445 B
Plaintext

int CheckUniform( object oPC )
{
// This function returns TRUE if the subject is wearing an Aidbringer uniform
int iResult = FALSE; // Default value = non-uniformed
object uniform = GetItemInSlot(INVENTORY_SLOT_CHEST, oPC);
if ( GetIsObjectValid(uniform) )
{
string tag = GetTag( uniform );
iResult = ( tag == "MN_I_ARMOR003" ) || ( tag == "MN_I_ARMOR002" ) || ( tag == "MN_I_ARMOR001" );
}
return iResult;
}