hide.c

./lib/skills/thief/hide.c · 578 B

From the archive h7v3.0a.tar.gz

Download the archive   « Back to the archive contents

/* updated jan 94 - uses shadow of short() & move_player() */

status hide(mixed arg, string alt_type) {
  object ob;

  if(arg != "in shadows") {
    notify_fail("hide in shadows?\n");
    return 0;
  }
  if((ob = (object)this_player()->query_hide_in_shadows_object())) {
    write("You move out of the shadows...\n");
    say(this_player()->query_name() +" suddenly appears.\n");
    destruct(ob);
  }
    write("You attempt to hide in the shadows...\n");
    clone_object("obj/shadows/hider")->shadow_short(alt_type);
  return 1;
}

/* Native Mode Move */

#include <move.h>

Site Stats

Snippets: 1791
Codebases: 571