RanvierMUD / ranviermud

A node.js based MUD game engine
https://ranviermud.com
MIT License
796 stars 247 forks source link

Make move command less special #106

Closed shawncplus closed 7 years ago

shawncplus commented 7 years ago

Right now _move is a magic hidden command that is the backbone of how movement works. Make this command not magic (i.e., rename it move, don't hide it, and make CommandParser look at a moveCommand config to send movement to. This will allow players to literally type move east in addition to just east

marado commented 7 years ago

I'm used to see this as 'go', not 'move'... Should we catch the train and go for a rename?

On Feb 7, 2017 23:12, "Shawn Biddle" notifications@github.com wrote:

Right now _move is a magic hidden command that is the backbone of how movement works. Make this command not magic (i.e., rename it move, don't hide it, and make CommandParser look at a moveCommand config to send movement to. This will allow players to literally type move east in addition to just east

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/shawncplus/ranviermud/issues/106, or mute the thread https://github.com/notifications/unsubscribe-auth/AACBiwANS1Z7ijaOPrJp2MPC6SvU-5Xkks5raPpmgaJpZM4L6KrX .

shawncplus commented 7 years ago

Commands can be aliased just by saying aliases: ["go"] in the move command. See: https://github.com/shawncplus/ranviermud/blob/staging/bundles/core-commands/commands/tnl.js