splinted_leg.c

skylib_fluffos_v3/mudlib/std/shadows/healing/splinted_leg.c · 472 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

inherit "/std/effect_shadow";

int delayed;

/** @ignore yes */
string query_msgin() {
  return "$N hobble$s in from $F.";
}

/** @ignore yes */
string query_msgout() {
  delayed = 1;
  call_out( "delay_off", 5 );
  return "$N hobble$s $T.";
}

/** @ignore yes */
int cannot_walk() {
  if( delayed ) {
    tell_object( player, "You are too tired to walk.\n" );
    return 1;
  }
  else return player->cannot_walk();
}

/** @ignore yes */
void delay_off() { delayed = 0; }

Site Stats

Snippets: 1791
Codebases: 571