pointers.c~
foundationI_fluffos_v1/lib/secure/SimulEfun/pointers.c~ · 707 B
From the archive foundation1_fluffos_v1.zip
Download the archive « Back to the archive contents
/* /adm/SimulEfun/pointers.c
* from Nightmare IV
* SimulEfuns for testing things
* created by Descartes of Borg 940213
*/
int ambassadorp(object ob) {
if(!ob) ob = previous_object();
return (userp(ob) && member_group(ob, "ambassador"));
}
int archp(object ob) {
string str;
if(!ob) ob = previous_object();
if(!creatorp(ob)) return 0;
return (member_group(ob, "assist") || member_group(ob, "SECURE"));
}
int hiddenp(object ob) {
if(!objectp(ob)) error("Bad argument 1 to hiddenp().\n");
return !find_object(file_name(ob));
}
int high_mortalp(object ob) {
if(!ob) ob = previous_object();
return (!creatorp(ob) && ((int)ob->query_level() > 19));
}