Global variable for mapping scripts
Posted: Mon Apr 18, 2011 9:30 pm
Mudlet currently doesn't tell the user that they need to install a mapping script in order to have the mapper do any good when they open a map. To rectify that, I'll be adding some UI things, but it requires working detection of an installed script to begin with.
To keep things simple, I'd like to use the mudlet namespace for this, and the mapper_script variable in it. ie, in your mapping script, you'd do mudlet.mapper_script = true at initialization.
Eventually, it'd be nice if mudlet{} contained profile settings and functions to change them, but that's for later.
How does this sound to everyone?
To keep things simple, I'd like to use the mudlet namespace for this, and the mapper_script variable in it. ie, in your mapping script, you'd do mudlet.mapper_script = true at initialization.
Eventually, it'd be nice if mudlet{} contained profile settings and functions to change them, but that's for later.
How does this sound to everyone?