I’m considering a rewrite of the way we do map generation.
We need to take into account the MUD gaming model, and the fact that we should be moving away from a client dependency to reach as wide of an audience as possible.
The following would be an example of laying a section of pipe leading from north to south to connect a few existing sections of pipes and a pump taking water from a nearby river.
# lay pipe left ns You lay a section of pipe pointing from north to south # map .....X..~~~~ .....|..~~~~ ..X--+--0~~~ .....|..~~~~ .X---/..~~~~ .......~~~~~ ......~~~~~~ .....~~~~~~~ ....~~~~~~~~
You could also view a local map, which would be a “zoomed-in” view of the “map” command In this example we see a local map with three humans, the logged-in player, a few items and three goblins coming in for an attack.
# lmap _______________ | * | | H H H * | | @ | | | | g g g p | |______________|
Or a similar map zoomed-in on the pipes we saw above
# lmap ________________ | || | | || | | H || | | H || | | ||@ | |______||______|
(Apologies for the poor formatting)
Just a few of my thoughts, I’ll get back to committing code tonight.