The mapper's ReverseBacktracks doesn't check reverses in special exits while following.
If the string is:
s 5w
and you
so the string is
s 5w (enter/w)
When you go back, the string becomes
s 5w (enter/w) w
and not the "s 5w" you'd expect.
*******
Just a suggestion: would it be possible to add support for a user-configured table of "standard" special directions with reverses? On the mud I play (3K); (enter/leave), (in/out), (portal/portal) are fairly common. It'd be nice if speedwalks supported, in addition to (special/dirs) and {comments}, these [commondirs].
So a speedwalk would look like:
n 2w s 3w (portal) 12n [leave] 3w d
and EvaluateSpeedwalk and ReverseSpeedwalk, and the mapper would refer to this table.
----
Can AddToMapper check for standard dirs?
It'd be preferred if
resulted in the MappingString being "2n"
--without string.gsub(GetMappingString(),"%(([nsewud])%/%)", "%1")
If the string is:
s 5w
and you
AddToMapper ("enter" , "west") --or '..., "w"' so the string is
s 5w (enter/w)
When you go back, the string becomes
s 5w (enter/w) w
and not the "s 5w" you'd expect.
*******
Just a suggestion: would it be possible to add support for a user-configured table of "standard" special directions with reverses? On the mud I play (3K); (enter/leave), (in/out), (portal/portal) are fairly common. It'd be nice if speedwalks supported, in addition to (special/dirs) and {comments}, these [commondirs].
So a speedwalk would look like:
n 2w s 3w (portal) 12n [leave] 3w d
and EvaluateSpeedwalk and ReverseSpeedwalk, and the mapper would refer to this table.
----
Can AddToMapper check for standard dirs?
AddToMapper("n", "s") --is not elegant, and
AddToMapper("n") --adds "(n/)" to the string.It'd be preferred if
AddToMapper("n")
AddToMapper("n")
resulted in the MappingString being "2n"
--without string.gsub(GetMappingString(),"%(([nsewud])%/%)", "%1")