weisluke / WoTMUD

WoTMUD scripts/triggers/aliases/maps
15 stars 2 forks source link

Mapper updates #43

Closed weisluke closed 2 years ago

weisluke commented 2 years ago

Fixed a(n embarrassing) bug where movement commands entered after the " Press to continue, q to quit >" line of a multipage who list (and possibly other commands that produce this output) remained in the movement queue, rather than the queue being reset on the next prompt line. This is the likely cause of some door command failures on channelers and fades. I would highly recommend anyone experiencing issues with the door commands to update their map scripts, and continue to let me know when such issues occur. Thanks to the anonymous MC who let me know of this issue :)

Added comments to various parts of code for clarity Edited some internal function names to be slightly more consistent with case and style Edited the speedwalk function to prevent attempting to speed walk if your current room is not known Added the necessary event handler so that the right click option to set player location works with my scripts (mostly useful if you need to do stuff with the map in offline mode and want to set a location quickly) Edited a couple triggers so something is not firing on every prompt line Added a speedwalk alias. You can now type a period followed by a list of number + command directions to have the map enter those. E.g., you can type .5n2ws1e3n and the alias will send 5 north commands, 2 w commands, a south command, an east command, and 3 north commands. Including the number 1 for singles of a direction is optional.