Figured I'd post this just to illustrate what this script does...
Each blue x is a spawngem placed by the script, notice it doesn't place on rocks...
Sand & Snow gembits have lower distance figures so the spawns don't go too far from that terrain type.
Gembits in towns have the standard distance but a modified spawngroup to prevent bears and such from running loose in town, AS LONG AS THE TOWN IS GUARDED.
Water spawning active:
Water spawning disabled:
Actually just uploaded a new version (1.3) since yesterday with toggles to turn on/off spawning for : water, towns, sand, snow, even land altogether (incase you have a spawned land and just want to spawn water)
Just dawned one me you can now turn off water, spawn land.
Turn off land, turn on water, adjust your settings et voila!
Less spawns at sea, but they still have distance roam between the points