Page 1 of 1

Global variable for mapping scripts

Posted: Mon Apr 18, 2011 9:30 pm
by Vadi
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?

Re: Global variable for mapping scripts

Posted: Tue Apr 19, 2011 11:25 pm
by Vadi
In light of this, here is a demo: http://www.youtube.com/watch?v=5D-T-sFD-nI