06-05-2020, 04:07 PM
(06-05-2020, 03:47 AM)kyonides Wrote: I think it should be..."Just because you can doesn’t mean you should." - Marloes deVries
"Let us redefine progress to mean that just because we can do a thing, it does not necessarily mean we must do that thing." - President of the Federation (Star Trek IV: The Undiscovered Country)
In that, there is neither a syntax nor logical error within that code. The correction you are proposing is purely your preferential coding practice, and your suggestion neither corrects an error nor change the end result in any way.
Now, something about the actual mini-map script I should say. Generating a map takes time. Small maps take nearly no time at all. Generating mediocre maps of 75 x 100 tiles may be noticeable. A grandiose 500x500 tile map will certainly pause the screen for a moment. And if we're talking a BIG MAPS chained series of maps? Whoo boy!
When it saves a generated map, the resulting png file saved within the Graphics\Passmaps folder will have the ID number of the map attached. This is not true for BIG MAPS maps. Instead, it uses the key of the map series. My script shows the development of a 3x3 map set with a key of 'F'. Well, that means the generated mini-map will instead have the 'F' in its filename instead of a numeric map ID.
This, I felt should be known for anyone wishing to do touch-up on their maps.