Merge branch 'develop' of https://github.com/vcmi/vcmi into RMG
Corrected guard calculation to match OH3.
Merge branch 'RMG' of https://github.com/vcmi/vcmi into RMG
- Corrected guard types
- Corrected town positions
- Implemented guard generation formula following this post http://forum.vcmi.eu/viewtopic.php?p=12426&sid=09f5fac8992dc880eb6a720615787ca0#12426
- Some primitive way to randomize treasures
Reading treasure values from config.
Fixed copying zone settings.
Implemented (hopefully) original treasure randomization algorithm.
Obstacles won't be generated around unguarded objects.
Treasure piles can now cover several tiles.
Added spell scrolls to the mix.
Treasure piles should always be accessible.
Boosted treasure value for better overview.
Treasure piles won't be placed at free tiles.
Make sure that non-removable objects have their visitable tile accessible.
Fixed overlaping of treasure piles.
Misc improvements & tests.
Templates can now use multiple configurations of treasure piles.
Fixed behaviour with extreme treasure values.
- Fixed guard generation
- Added Jebus template for comparison
Rearranged treasure pile info.