seisatsu / DennisMUD

Dennis MUD - A multiplayer text adventure sandbox engine where the players build the world with in-game commands.
https://dennismud.xyz/
MIT License
47 stars 6 forks source link

Allow exits to be used without a command #97

Closed seisatsu closed 3 years ago

seisatsu commented 3 years ago

Add a feature so that you can type the name of an exit without a command in order to take that exit. This is a very common feature and one that people expect. For example, typing north instead of go north. This will require a subsystem that allows temporary commands to be added to and removed from the shell's command list based on a scan of the current room. Adding that will also pave the way for imbuements. (See #58.)

The temporary virtual command list should be handled by the Console instead of the Shell, since the Console is per-user and the Shell is not.