Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add three scripts #231

Closed
wants to merge 8 commits into from
Closed

add three scripts #231

wants to merge 8 commits into from

Conversation

PeridexisErrant
Copy link
Contributor

Kurik Amudnil's script exportmaps with minor spelling fixes;
log-region with an extra test to catch the nil value error and only
run in fort mode. New script exportlegends (closely related) which
exports the map/gen info, xml, and all detailed maps.

Adding `exportmaps` and `log-region`, having fixed a typo and added
attribution as a second-line comment.  First (broken) attempt at
`exportlegends`.  `log-region` returns a nil value (for 'site') if a
world is loaded in adventure or legends mode.
adds readme info for `log-region` and `exportmaps`, which work.
`exportlegends` is broken and thus undocumented.
stuck in an extra test that `site ~= nil` before writing; which catches
the error and also confines the script to fort mode - fortunate since
the output only make sense for fort mode.
Instead of trying to add stuff to the cycle, I just stuck two pairs of
lines in before the cycle starts.
Kurik Amudnil's script `exportmaps` with minor spelling fixes;
`log-region` with an extra test to catch the nil value error and only
run in fort mode.  New script exportlegends (closely related) which
exports the map/gen info, xml, and all detailed maps.
includes new legends-mode section of the init file
@angavrilov
Copy link
Member

The two export scripts are so similar that they should be one script with an argument. The dfhack.init entry is also a complete duplicate.

@PeridexisErrant
Copy link
Contributor Author

I'll fix and send a new request.

@PeridexisErrant PeridexisErrant deleted the PeridexisErrant/log-region-and-exportlegends branch May 5, 2014 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants