Developing World Map System - Optimizing Structure

Hey all,


as you may or may not know (or care), I started a Script Request at: http://forums.rpgmakerweb.com/index.php?/topic/54965-full-world-map-system-plugin/?p=540016


It doesn't look like it'll go anywhere, so I guess it's time I learnt JavaScript.  Sadly, I seem to learn best by repeatedly throwing myself at a brick wall, so hey, let's go all out with this.


Tsukihime provided some great feedback, and I've updated the script to match.  At this point, I'm feeling pretty comfortable on the overall structure of the script.  I'm hoping to get it to a testing state within the week.


Update!  Added in most of the rest of the functionality, parameter handling and so on.  Added in arrows.


Additional feedback would always be appreciated.

View attachment 30315

Original thread: https://forums.rpgmakerweb.com/threads/developing-world-map-system-optimizing-structure.55160/