Commit Graph

795 Commits (700392ba55b68759e3a1dbdca8bd21470574ecbd)

Author SHA1 Message Date
Ben Lubar d36bb20d91 Add brew, mill, and thread to ban-cooking. See #796.
brew: bans cooking of plants and fruits that can be made into alcohol
(assuming default brewing reaction)
mill: bans cooking of plants that can be milled.
thread: bans cooking of plants that can be turned into thread.
2016-01-18 15:07:09 -06:00
lethosor 1498eae4b5 save-version: 0.42.05 (1537) 2016-01-18 10:40:12 -05: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
lethosor 5f9817bdab Merge remote-tracking branch 'robertjanetzko/additional-exports' into develop 2016-01-16 11:22:10 -05:00
lethosor ba3731016b Only show prerelease warning once 2016-01-16 11:12:36 -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 984ca83c83 Merge pull request #788 from stonetoad/patch-1
autolabor-artisans.lua remove brewer skill
2016-01-08 16:59:57 -05:00
Jim Lisi 203b9aca2a autolabor-artisans.lua remove brewer skill
alcohol has no quality level, so brewer skill has no effect on output quality
2016-01-08 14:53:33 -05:00
lethosor 7eb442e98c Feed D_ORDERS instead of relying on sidebar mode enum 2016-01-04 20:09:05 -05:00
lethosor 9ae55177ef Stop feed_menu_choice exit sequence from triggering after restarting scan 2016-01-04 20:05:45 -05:00
lethosor aa435a14d7 find-offsets: Look up colors from colors.txt if possible 2016-01-04 19:55:12 -05:00
lethosor bdd4b11e2d Add an option to scan for all "standing_orders_*" globals 2016-01-04 19:30:10 -05:00
lethosor 06b3b94e8d Tweak prerelease warning - low risk of save corruption at this point 2016-01-02 17:06:30 -05:00
lethosor 51690b4ba2 weather: re-add val_override, minor cleanup 2016-01-01 11:46:40 -05:00
PeridexisErrant 81b055ee93 Implement "weather" as a script 2016-01-01 11:35:58 -05: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
lethosor bd7039f4e0 Don't show prerelease message during worldgen 2015-12-30 10:11:27 -05:00
lethosor 2079093d5a Fix new addresses in export-dt-ini 2015-12-28 23:19:02 -05:00
lethosor 51164d5547 Add standing orders scans to find-offsets 2015-12-28 21:35:47 -05:00
lethosor 0a4287afba gps scan: fall back to data section 2015-12-28 17:28:50 -05:00
lethosor 7431329e2d New script: devel/save-version.lua 2015-12-28 17:01:47 -05:00
lethosor 9dbb5b92f9 Fix some issues in devel/export-dt-ini.lua 2015-12-28 15:55:09 -05:00
lethosor 39086acf64 Merge export-dt-ini changes from splintermind/Dwarf-Therapist 2015-12-28 15:46:42 -05:00
lethosor d087f4f741 Expose process MD5/PE to Lua (useful in export-dt-ini) 2015-12-27 14:59:18 -05:00
lethosor c8b937b115 Update 3rdparty/lethosor (install devel/send-key) 2015-12-26 14:25:25 -05:00
lethosor d4b631d9fd tweak prerelease pack warning 2015-12-25 10:53:48 -05:00
lethosor 7fe71c94f6 A few devel/unit-path fixes
* Handle unrecognized unit_path_type values
* Handle getSelectedUnit()
* Only zoom to path.dest if it's valid
2015-12-25 10:05:13 -05:00
lethosor 14f1e6b06c Improve prerelease warning somewhat 2015-12-22 19:34:54 -05:00
lethosor 97a39e0c53 Merge branch 'develop' of https://github.com/dfhack/dfhack into develop 2015-12-19 17:09:47 -05:00
lethosor eb1ae54d63 Add ui_lever_target_type scan to find-offsets 2015-12-19 17:09:29 -05:00
Alexander Gavrilov 5eccb1ed1c Fix find-offsets for cur_year_tick on windows.
The old reference moved far away, so switch to a new one.
2015-12-19 23:03:40 +03:00
lethosor 83603fcf45 Add prerelease build flag and warning script 2015-12-11 20:27:46 -05:00
lethosor a73110f7f0 startdwarf: Provide feedback if offset is missing 2015-12-11 16:36:09 -05:00
lethosor 571df39878 Update submodules 2015-12-11 16:35:42 -05:00
lethosor 734d2c03db Fix several issues with gui/family-affairs
* Fix mismatched variable names
* Fix help display
* Remove redundant write to gamelog.txt
* Check for adulthood and fortress mode more reliably

See #730
2015-11-27 16:26:47 -05:00
lethosor 8ec232570b Fix some emigration issues
See #730
2015-11-27 16:12:34 -05:00
lethosor c09eafcaf3 Fix fix/dry-buckets 2015-11-26 16:50:46 -05:00
lethosor 3783cbb672 feature.lua: Several improvements
* List names of features
* List some flags (water, magma, layer, etc.)
* Detect invalid IDs
* Remove =begin/=end from displayed help text
2015-11-26 16:41:45 -05:00
lethosor df61233774 Merge remote-tracking branch 'PeridexisErrant/new-scripts' into develop 2015-11-26 16:13:27 -05:00
lethosor 81b750c2f0 Merge remote-tracking branch 'Putnam3145/patch-22' into develop 2015-11-26 16:10:04 -05:00
PeridexisErrant 9ac9ff15a2 Ensure event_loop will be disabled 2015-11-24 16:59:15 +09:30
PeridexisErrant 7ed5a810b9 Improve fix/dry-buckets checks 2015-11-23 17:51:26 +09:30
lethosor af92b3ae1f Fix some confirm plugin issues and add a simple configuration UI
- Detect null pointers in trade-related functions
- Fix typo/issues pointed out by @dscorbett
- Reorder includes
2015-11-21 20:58:49 -05:00
PeridexisErrant e0346ede56 Merge gamelog scripts to modtools/extra-gamelog 2015-11-18 17:59:34 +09:30
Putnam3145 c152b9033a Add indeterminate orientation to gaydar 2015-11-17 09:58:04 -08:00
PeridexisErrant 1067eeb6d3 Improve drybuckets checks
Must also be liquid and in a container.
2015-11-17 16:52:06 +09:30
PeridexisErrant 842b9c5191 Implement feature as a script, add magma option
Functionality is exactly equivalent to the plugin, but with a new option
for players who want to enable magma furnaces without spoilers.
2015-11-17 16:43:56 +09:30
PeridexisErrant 2ba9ef04e3 Replace drybuckets plugin with a script
Also closes #248, by checking job and building flags.
2015-11-17 13:55:43 +09:30
PeridexisErrant 80e4b8d3df Remove DFusion plugin and script system
It's been four years since meaningful updates, and in that time
alternatives have emerged to almost everything.  Any remaining
functionality to replace is on the issue tracker.

Simpler is better, for users and developers, and removing a legacy
system makes it easier to understand how DFHack works.
2015-11-17 11:13:19 +09:30
lethosor 48670251e4 Make ESC work in quantity prompt 2015-11-09 17:33:33 -05:00
lethosor f3d86f5947 Restore correct game type 2015-11-09 17:25:55 -05:00
lethosor d276d4d46b Add devel/clear-script-env 2015-11-07 17:36:42 -05:00
lethosor e176c3ea05 Merge remote-tracking branch 'PeridexisErrant/docs-again' into develop 2015-11-07 15:50:11 -05:00
lethosor 3ae0b17031 tidlers: Use next_item() 2015-11-07 15:24:57 -05:00
PeridexisErrant 0bb203e7c9 Replace initflags plugin with scripts
Progress towards #722
2015-11-07 23:42:14 +11:00
PeridexisErrant 1c25f8f1a3 Unify docs for designation and map-mod plugins
Plus some cleanup and flattening of the behaviour mod plugin docs
2015-11-07 13:04:47 +11:00
PeridexisErrant 3506921447 Add cross-links for similar commands 2015-11-07 10:53:12 +11:00
PeridexisErrant 193e71793a Fix compile, intro, scripts
- script-syntax.py now exits with 1 instead of silently catching the
error if lua or ruby are missing
- index paths are absolute (from the repo root)
- less strong suggestion for third-party packs
- re-added lua-example and test-perlin doc
- corrected and clarified Compile some more
2015-11-06 16:58:58 +11:00
Lethosor 2f8f5b071a Merge pull request #730 from PeridexisErrant/add-scripts
Add updated emigration script, gui/family-affairs
2015-11-05 19:55:15 -05:00
lethosor ac4927d409 Update scripts/3rdparty/* (docs) 2015-11-05 19:38:47 -05:00
PeridexisErrant 5018af9a9e Document devel scripts 2015-11-06 10:15:18 +11:00
PeridexisErrant 58e6ef6524 De-alias migrants-now 2015-11-06 10:15:18 +11:00
PeridexisErrant 3623659a9b Add emigration script 2015-11-05 16:40:35 +11:00
PeridexisErrant 45c3f145e5 Add gui/family-affairs 2015-11-05 13:17:26 +11:00
lethosor b01d79e502 Update scripts/3rdparty submodules 2015-11-04 20:08:34 -05:00
lethosor cbf31dcb37 Merge remote-tracking branch 'PeridexisErrant/NEWS-cleanup' into develop 2015-11-04 19:54:13 -05:00
lethosor cb22e2639e Merge branch 'develop' of https://github.com/dfhack/dfhack into develop 2015-11-02 22:29:09 -05:00
Putnam3145 5e727b301d minor typo fix 2015-11-02 10:51:23 -08:00
lethosor 28940b9b8a Temporarily disable 3rdparty/roses
See #712
2015-11-01 17:25:36 -05:00
lethosor 73e871231f Update 3rd-party scripts 2015-10-31 15:27:16 -04:00
PeridexisErrant e11ce3bff4 Merge develop 2015-10-31 15:46:41 +11:00
Lethosor 54996d9543 Merge pull request #717 from PeridexisErrant/state-of-decay
State of decay - Onmiclasm's FPS boosting scripts
2015-10-30 18:27:46 -04:00
PeridexisErrant a8ab595428 Tweak plugins docs
- Minor updates and clarifying edits
- Better use of markup throughout the document
- linked references to bugs and other things
- moved gui/siege-engine docs to the script
2015-10-29 12:46:31 +11:00
PeridexisErrant 92cd313776 Improve markup in scripts documentation
Plus minor changes for clarification.
2015-10-29 12:44:49 +11:00
PeridexisErrant 94cadbf1ec Add FPS-boosting 'state of decay' scripts
By Omniclasm.
http://www.bay12forums.com/smf/index.php?topic=150782.msg6482346#msg6482346
2015-10-28 21:13:17 +11:00
PeridexisErrant 056c1bcb2d Document new scripts 2015-10-28 10:18:44 +11:00
PeridexisErrant aee2655886 Merge branch 'develop' of https://github.com/DFHack/dfhack into NEWS-cleanup 2015-10-28 10:07:13 +11:00
lethosor d58c9019be alias migrants-now -> devel/migrants-now 2015-10-27 17:33:51 -04:00
lethosor 74860e2904 Add spawnunit wrapper
See #716
2015-10-26 21:02:38 -04:00
lethosor 7dd091e57a create-unit: add nickname option 2015-10-26 21:02:03 -04:00