This map generator is used in HttT 17 and SoF 4. which needed to be updated aswell.
With this we finally have a lua generator that is used in mainline and that
can be used an an example by wml authors who want to write other map generators.
Unfortunateley there are still umc add ons in 1.12 that use
scenario_generation=cave so i didn't remove the cpp implementation yet.
The amount of snow is based upon how quickly you made it through S12 (Northern Winter). It is 1/3rd the coverage from S12, so it varries from 0 to 33% total coverage of the map, since we don't want to really bog down the player. At 1/3rd coverage, if S12 was won on the last possible turn the player here should only lose a turn or two getting to the exits.
Formerly, to find Moremirmu, simply check (11,13) and, if not there, he is in (10,17). Oh HARD, there was a 1-in-2 chance of finding Xakae in (11,13), instead, and (9,15) was always empty. On NORMAL, Xakae is in (9,15).
Now, the odds of finding Moremirmu in a given temple are 1-in-3, as are the odds of finding Xakae unless playing on EASY where he is not present.
An earlier change from blade to arcane for the Paladin's Holy Sword made the Flaming Sword ineffective and he was removed from the list of unit types allowed to take the sword.
This re-instates Paladin by changing the effect filter. I checked all CURRENT units and minimized the filter so the Flaming Sword only effects the swords and the sabre Li'Sar uses.
When the path was not known (due to change_level) the big map assumed the wrong defaults. Now, it follows the default route from [scenario] next_scenario=
5 seconds is too long. I'm always wondering what's up, forgetting about the upcoming drake. A shorter pause works just as well and has less chance of causing the player to wonder what's wrong.
It does not do anything for a Paladin, so removed him from the allowed users. Added a hint when a unit moves within two hex. Added a remark when finding it so it does not just ask what to do with it, and made that question less generic.
It's jarring and most players will figure it out on their own. For those that look, have it silently change to remove the note about Delfador concentrating.