Ejemplo n.º 1
0
mixed do_look_inside_obj(object ob,mixed arg) {
    if(ob->GetInvis(0) && !archp(this_player()) &&
      base_name(ob) != LIB_BASE_DUMMY && !inherits(LIB_BASE_DUMMY,ob) ){
        return write("There is no "+arg+" here.");
    }
    return (mixed)ob->eventShowInterior(this_player());
}
Ejemplo n.º 2
0
mixed do_look_at_obj_word_obj(object target, object storage, mixed arg) {
    if(target->GetInvis(0) && !archp(this_player()) &&
      base_name(target) != LIB_BASE_DUMMY && !inherits(LIB_BASE_DUMMY,target) ){
        return write("There is no "+arg+" here.");
    }
    return (mixed)target->eventShow(this_player());
}
Ejemplo n.º 3
0
varargs mixed do_look_at_obj(object ob, mixed arg) {
    if(ob->GetInvis(0) && !archp(this_player()) &&
      base_name(ob) != LIB_BASE_DUMMY && !inherits(LIB_BASE_DUMMY,ob) ){
        write("There is no "+arg+" here.");
        return 1;
    }
    return ob->eventShow(this_player());
}