RanvierMUD / ranviermud

A node.js based MUD game engine

Home Page:https://ranviermud.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"up" and "down" not defined in coordinate rooms

MarchosiasM opened this issue · comments

Description

While in coordinate based rooms, the full text of up and down fail when attempting to navigate

Expected outcome

up should navigate up

down should navigate down

Actual outcome

up returns "Huh?"

''

Steps to reproduce

Version of Ranvier

2.0 It hink

Player.canGo still has an old naive implementation of looking for exits that does not take coordinates into account, needs to be updated

commented

Seems that @nahilep ran into this issue as well. The coordinate rooms accept n, s, u, etc. but not the full directional name. move north or walk north work as well.

Fixed with getExits change