lethosor
31745f4a36
Fix a couple exportlegends issues and update xml
2015-12-31 14:32:31 -05:00
lethosor
d284d9e83a
exportlegends cleanup
...
* Remove unnecessary string concatenations (e.g.
`write("</sites>".."\n")`)
* Open a separate file instead of rerouting stdout - this ensures that
stdout doesn't point to the xml file if the export fails for some
reason
* Encode artifact descriptions properly
2015-12-30 14:45:15 -05:00
lethosor
aaae6d54cd
exportlegends: Fix issues with entities with no race
...
Some, such as specific site governments, have races of -1
Fixes #780
2015-12-30 12:15:01 -05:00
PeridexisErrant
92cd313776
Improve markup in scripts documentation
...
Plus minor changes for clarification.
2015-10-29 12:44:49 +11:00
PeridexisErrant
ddae19ad8b
Move base scripts
2015-10-24 15:10:15 +11:00
lethosor
7e8200603c
Fix whitespace
2015-10-13 21:31:14 -04:00
Mason11987
dea78d0627
Put mistakenly removed comments back
2015-10-12 06:02:51 -04:00
Mason11987
db3a1024e1
Fixes to allow open-legends to allow export as well.
2015-10-12 05:59:51 -04:00
Mason11987
2993edaf73
spacing
2015-10-12 05:21:16 -04:00
Mason11987
755b4fa384
Fixing assume identities since it causes a crash.
2015-10-12 05:15:32 -04:00
lethosor
505b1f0efc
assumed_identities -> identities
...
Fixes #709
2015-10-11 12:03:16 -04:00
PeridexisErrant
f8f7194f82
Make exportlegends compatible with open-legends
2015-08-15 16:44:12 +10:00
Lethosor
d14a8b4308
Convert TranslateName output to UTF-8
2015-02-16 13:55:19 -05:00
lethosor
c39d3165eb
Use consistent indentation
2015-02-12 19:00:41 -05:00
PeridexisErrant
62bec962f8
Standard function definition syntax
2015-02-13 10:08:44 +11:00
Peridexis Errant
74476bcd95
fix whitespace
...
PSA: do not assume that it's the same as last time you checked.
2015-02-12 16:14:25 +11:00
PeridexisErrant
f67370b817
exportlegends - more data in legends_plus.xml
...
Originally written by Mason11987, adapted and included with permission.
2015-02-12 09:39:56 +11:00
PeridexisErrant
d95c0878e1
fix -info option
...
to export info instead of detailed maps (oops!)
2014-12-24 22:10:04 +11:00
PeridexisErrant
b93eac1c7a
Fix "exportlegends maps"
...
Correct list index error which skipped export of detailed map. Allow
region-maps-only export to start from detailed maps viewscreen. More
informative error message. Closes #445.,
2014-12-15 10:22:05 +11:00
PeridexisErrant
994e98c5c1
Use name of now-identified field
...
Ready for DFHack 40.15-r1 and later
2014-11-09 09:18:53 +11:00
PeridexisErrant
27ae8f2ab9
exportlegends can do site maps, IDd field
...
Expanded exportlegends.lua to handle site maps as well, and improved
precision of args. Identified `vs.anon_21`; I'm not sure what the
process is so I've used it here and noted it's discovery.
2014-09-24 21:34:09 +10:00
PeridexisErrant
af79ae44c9
update exportlegends for DF40.x
...
Better code and also exports the new maps. Extending to also export
site maps would be cool eventually.
2014-09-09 17:47:26 +10:00
PeridexisErrant
01d302efc3
fixed whitespace again to four-space indentations
...
should have read the documentation before trying a style fix...
2014-05-12 10:34:57 +10:00
PeridexisErrant
795325b6ef
replace all tabs with eight spaces
...
apparently an important style thing, which I missed
2014-05-12 10:22:04 +10:00
PeridexisErrant
26c2d0e16b
added two scripts
...
Added scripts `exportlegends` and `log-region`, including init and
readme entries. The init file now has a section for legends-mode
keybindings.
2014-05-05 14:59:59 +10:00