Procedural Realms Ascii Map
Posted: Tue Aug 15, 2023 1:06 pm
Hi, I'm pretty new to MUDs and scripting for them, but I've been a long-time coder. I love procedural realms and Mudlet, but I recognized that the mudlet mapper was not the best view for this game. The game automatically keeps track of what areas you have seen and shows close-by enemies and resources, so I feel the build-in map (by typing "map") is the best we have. I wrote this script to replace the mapper and update a screen to show the built-in map every time you move.
INSTALLATION
This is my first mudlet package, so I don't know exactly how to make it work right, so you will have to make a few manual tweaks. First, install the procedural realms package. Then install this package. Then go to "scripts > PRS > prs-gui" and change line 455 from. That makes the trigger run whenever you move.
Make sure to restart after these steps.
Updating the screen can be kind of slow, so if anyone knows how to make improvements please let me know! Particularly if someone can find out how to use replaceLine instead of clearing and appending to the screen that would be great!
Thanks and gl!
- grrtt
EDIT:
The ascii map is now being integrated into the development branch of PRS, please go there if you wanted to try it out
INSTALLATION
This is my first mudlet package, so I don't know exactly how to make it work right, so you will have to make a few manual tweaks. First, install the procedural realms package. Then install this package. Then go to "scripts > PRS > prs-gui" and change line 455 from
to
you will also have to do a command when you are in-game. When you are loaded, do
Code: Select all
config roomparseable
Make sure to restart after these steps.
Updating the screen can be kind of slow, so if anyone knows how to make improvements please let me know! Particularly if someone can find out how to use replaceLine instead of clearing and appending to the screen that would be great!
Thanks and gl!
- grrtt
EDIT:
The ascii map is now being integrated into the development branch of PRS, please go there if you wanted to try it out