ID:170138
 
Hello everyone. I am currently working on a MUD and I have been having a few problems with this concept. I have been tinkering with a few different methods but none with any success.

I wish to make a map, 100x100. Setting showmap to 0. I want to be able to, from the players position, display a 4x4 grid on the text screen.

-4 -3 -2 -1 0 1 2 3 4
-4
-3
-2
-1
0
1
2
3
4


cordinates 0,0 would be the player. Any idea on the most efficient way to do this? Of course keeping in mind that I'd have to keep the first layer to just turfs, while the upmost layer to mobs/objects/area-flags.

Any help, suggestions, ideas, and corrections would be greatly appreciated.
I suggest you use screen objects. Loop up 'client/screen', and 'atom/movable/screen_loc'.
In response to Yota
Thanks for that actually :) Upon reading up on it, I find one problem which I might run into.. seeing that I want to make the 100x100 area like a planet, I want it to, once it goes to the edge, to go to the opposite side of the map. (Which is why I originally had just assumed I should use lists cuz those can be slightly more manipulated - atleast so I thought)