Re: [Circle] ACK!! even more mounts (part 2)

From: George (greerga@dragon.ham.muohio.edu)
Date: 11/20/96


On Tue, 19 Nov 1996, Terry Valladon wrote:

>another question I have is we have rooms set up as NOMOUNT... how (and where)
>do I place the code to keep a player and MOB from moveing into this room if
>they are RIDING? I tried adding it in act.movement.c but to no avail... 

At the risk of repeating one of the 37-odd messages I haven't read yet...

Put a check in the act.movement.c, do_simple_move

if (MOUNT(ch))
  if (ROOM_FLAGGED(world[ch->in_room].dir_option[dir]->to_room,
	ROOM_INDOORS)) {
    send_to_char("Your mount refuses to go that way.\r\n", ch);
    return 0;
  }

or ROOM_NOMOUNT...

--
George Greer	Student Systems Co-Administrator of Dragon
greerga@muohio.edu	http://www.ham.muohio.edu/~greerga
--
Genius may have its limitations, but stupidity is not thus
handicapped.                -- Elbert Hubbard




+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST