Commit Graph

47 Commits (0867f3d311260d3a1f8cd0bea1c2949355649f76)

Author SHA1 Message Date
lethosor 6f5e1260e3 exportlegends: wrap enum lookups to avoid errors or writing "nil" to xml files
Any unidentified enum items should now be represented as "unknown X"

Fixes an issue with occasion_schedule_type 8, and probably many others
2016-04-30 14:59:04 -04:00
Robert Janetzko 29ab4de8a6 export occasions and schedules 2016-01-21 22:28:13 +01:00
Robert Janetzko 5ab2706b11 materials for masterpieces 2016-01-17 16:45:39 +01:00
lethosor 514ae890be exportlegends-related documentation updates 2016-01-16 11:34:12 -05:00
Robert Janetzko aab5996d7c export landmasses, mountains and entity claims 2016-01-12 18:48:14 +01:00
Robert Janetzko 45121ce3ad race for HIST_FIGURE_NEW_PET event 2016-01-12 16:47:44 +01:00
Robert Janetzko 8ad71aae62 export contents of scrolls and books 2016-01-12 14:59:13 +01:00
Robert Janetzko a0836ac7b7 export substates (45=fled, 46/47=moved to study) from CHANGE_HF_STATE
event
2016-01-12 14:14:46 +01:00
Robert Janetzko 9715211a89 export all worships and fix group for HIST_FIGURE_REACH_SUMMIT fixes
#782
2016-01-11 15:31:50 +01:00
Robert Janetzko 5c6bcbdf0f fixed line ending 2016-01-11 14:52:13 +01:00
Robert Janetzko 8c031aa14e export hf sex and races in readable form 2016-01-11 14:20:48 +01:00
Robert Janetzko c5309a930d export entity position assignments to calculate postion on hf entity
links
2016-01-11 13:11:14 +01:00
Robert Janetzko 6c3a1008da additional entity information
- positions
- members
2016-01-11 11:03:46 +01:00
Robert Janetzko 15df508407 additional site and structure information 2016-01-11 10:34:58 +01:00
Robert Janetzko b262d495ec export only custom xml 2016-01-11 08:12:25 +01:00
Robert Janetzko 98991c6b89 fixed type checks 2016-01-11 07:52:19 +01:00
Robert Janetzko 20f97b0cf9 bugfix copy & paste musical_forms 2016-01-10 22:09:31 +01:00
Robert Janetzko 2583712224 bugfix wrong end tag 2016-01-10 21:26:33 +01:00
Robert Janetzko 9abb5942f4 moved code after everything else 2016-01-10 21:21:08 +01:00
Robert Janetzko 04cc9a2ad8 export poetic, musical and dance forms, export written content 2016-01-10 21:11:11 +01:00
lethosor 0bcc8dc443 exportlegends: fix day/month issues more reliably
Fixes #783, #791
2016-01-09 19:28:12 -05:00
Ben Lubar 08bebc94e1 Fix dates being offset by 1 day in legends_plus.xml - Fixes #783 2016-01-09 13:23:42 -06:00
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