Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automap: MUD Support or custom regex? #578

Open
CaseyLabs opened this issue Oct 1, 2023 · 0 comments
Open

Automap: MUD Support or custom regex? #578

CaseyLabs opened this issue Oct 1, 2023 · 0 comments

Comments

@CaseyLabs
Copy link

Hi! I'm trying to find a way use trizbort to parse the logs of my MUD client in order to build a map.

I believe I am running into trouble because the MUDs use a custom prompt, and not a > for commands.

Is it possible to customize the way trizbort parses directions or rooms? Thanks!

Sample log file output:

Street of Crafts
   This appears to be one of the busier streets in the merchant district of
Draconia.  The sounds of ringing metal and the smell of smoke and leather fill
the area, seemingly unnoticed by the throngs of people that wander idly from
shop to shop inspecting goods and haggling with the merchants. The building to
the north has a large smoking chimney, and on display beside the door is a
battered suit of platemail. On the southern side of the street stands a drab
wooden building with a pike chained above the door.

You see 2 parchment squares, a quarterstaff.
Obvious Exits: north, south, east, west.
HP=30/30 SP=7/7 Exp=(4056) Tank=() Targ=() | Exits:N,S,E,W> w

Intersection of the Street of Crafts and Glory Lane
   This is a busy section of the street of Crafts where it meets with Glory
Lane to the south.  The smell fresh baked bread is in the air, and the sounds
of ringing metal, laughter and haggling merchants pervades the area.  To the
north stands a gaily colored building with a brightly painted sign over it's
open door reading "The Boar's Head Tavern". Much of the traffic on this part
of Craft street seems to come from a gate in the city walls which you can see
a short distance to the west.

You see 3 parchment squares, a dwarf skull.
Obvious Exits: north, south, east, west.
HP=30/30 SP=7/7 Exp=(4056) Tank=() Targ=() | Exits:N,S,E,W>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant