- I modified the Alpine Valley script to create maps very similar in style to the handcrafted "Alpine Valleys" map. It captures about 90% of the artistic conventions of the original, and also picks one of three random environment settings (morning, afternoon, evening).
- I added a few library functions to support the needed functionality.
- I drastically simplified the old mountain range generator from the Alpine Valleys script and moved it into its own file in rmgen-common. It now creates random points, orders them by shortest-cycle, and then connects them, culling edges that cause a contiguous edge to exceed the specified maximum length. With proper settings I have never seen it completely trap a player, but it does sometimes create unreachable areas at the edge of the map (which the old generator was not immune to either). So far I have not seen this cause trouble for the AI. It also now creates much nicer wavy mountains rather than straight-line strips, and successfully creates more ranges on average than the old generator did.
Note: The preview image will also need to be updated, but I have no idea where to find that.