From the NannyMUD documentation
2000-12-15
NAME
query_protection - get protection data.LOCATION
/obj/protections.cSYNTAX
status query_protection(string type)DESCRIPTION
This function tells if the object has protection set for the damage type.SEE ALSO
sensitivities in lfun/living/sensitivities sensitivities in lfun/living/sensitivitySEE ALSO
add_protection in lfun/living/add_protectionSEE ALSO
remove_protection in lfun/living/remove_protection