Global variable for mapping scripts

All and any discussion and development of the Mudlet Mapper.
Post Reply
User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Global variable for mapping scripts

Post 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?

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: Global variable for mapping scripts

Post by Vadi »

In light of this, here is a demo: http://www.youtube.com/watch?v=5D-T-sFD-nI

Post Reply