Added directory listing to lua api (internal category).
added mod manager and updated readme/news
Added internal lua change to NEWS
Command prompt plugin with docs and readme patch.
Cmake fix
Make siege engine debug markings toggleable via lua.

Also check that the tile actually exists to avoid crashes.
Squash uninitialized variable warnings.
Switch to the new random number generator class.
Compute quality of siege engines and use it to extend firing range.

Since parts aren't there until it is built, it requires checking that.
Rewrite aiming error code to account for distance and engine quality.

Now the error is simulated by using an approximate normal distribution.
Always shatter glass items within bins thrown by a catapult.

The glass materials have impact strength copied from compression
strength, so the items had 1/5 chance to survive without damage.
Since glass is infinite, it makes sense to make it single-use.
Removed rendermax from NEWS.
Added an output stream, now response is visible in same window. Also added a way to start prompt pre-filled.
It's nice to bind it to e.g. ctrl-shift-o "command-prompt :lua"
Forbid the items shot by siege engines if the forbid ammo order is set.

This only applies when targeting the engine, so you could still make
cheaty infinite ammo training units by using stock aiming mode.
Update NEWS.
Merge branch 'siege-quality' into develop
Make createitem default to the controlled unit in adventure mode.
Add a script that clones the currently selected military uniform.

To be precise, it applies to the entity uniform templates, not
uniforms for specific squad positions.
Sync structures.
Merge remote-tracking branch 'warmist/dev-modmanager' into develop
Merge remote-tracking branch 'warmist/dev-cmdprompt' into develop