dismount.c

./lib/skills/paladin/dismount.c · 427 B

From the archive h7v3.0a.tar.gz

Download the archive   « Back to the archive contents

status dismount(string str) {
  object horse, follow;

  if(!(horse = this_player()->query_horse_object())) {
    notify_fail("You're not mounted on your steed!\n");
    return 0;
  }
  destruct(horse);
  write("You dismount from your steed.\n");
  say(this_player()->query_name()+" dismounts from "+
    this_player()->query_possessive()+" steed.\n");

  call_other("/skills/paladin/call", "call", "horse", 1);
  return 1;
}

Site Stats

Snippets: 1791
Codebases: 571