New issue 21 by hello.jay.araujo: Exits directions are mixed up
http://code.google.com/p/sorrows-mudlib/issues/detail?id=21
Upon joining a new room, it shows me the description of the previous.
The code: http://pastebin.com/y7b2U1aC
The result:
You are logged in as "jay".
> look
A room
This is a room.
It contains: brown pants, green pants, chest, Jay.
Exits: north
> n
A room
This is a room.
It contains: brown pants, green pants, chest.
Exits: north
> s
Second room
This is a funkier room.
It contains: Nothing.
Exits: south
> n
A room
This is a room.
It contains: brown pants, green pants, chest.
Exits: north
> look
Second room
This is a funkier room.
It contains: Jay.
Exits: south
Nevermind the title of the issue. I wrote it before I found out what wrong.
The issue is with descriptions and not with move directions.
btw, I (apparently) fixed this by changing /mudlib/commands/move.py
success, destinationRoom = context.body.MoveDirection(direction)
if success:
context.user.Tell(destinationRoom.LookString(context.body))
Comment #3 on issue 21 by richard.m.tew: Exits directions are mixed up
http://code.google.com/p/sorrows-mudlib/issues/detail?id=21
Haha. A silly mistake :-) Probably done without testing, as my most
recent development is done on the multiplayer roguelike rather than the MUD
side of things.
Comment #4 on issue 21 by richard.m.tew: Exits directions are mixed up
http://code.google.com/p/sorrows-mudlib/issues/detail?id=21