Autoclear zones
This is a debug option that takes a list of zones and automatically clears them. All enemies are killed, looted, various stats per zone are logged, and any escorts found are applied at the end of the path. Campaigns can define shortcut list of zones and races/zones can define special behavior to go with those shortcuts to handle things like tier1 not being the same for all builds.
At the moment this is mostly to quickly advance test characters to the phase of the game you want without having to make unsafe assumptions about character state, but I'd like to expand it later to let me simulate repeated runs and average data on them. For example, I was recently wondering of the exact average impact of exp bonuses/reductions given how they interact with zone level caps. Would be very useful for answering that.
There is a lot of hacky stuff done to make this work (2 turns forced after zone move, steps to avoid dialogs) so its likely there are more special cases I haven't noticed yet.
Please god let me never have to artificially force escorts again that is way uglier than you'd think.
Example strings:
- trollmire, ruins-kor-pul, rhaloren-camp
- tier1, old-forest
- tier1, tier2, dreadfell