Commit Graph

12694 Commits (527d8f84d298c21ac1b878a9da658170efd935c7)
 

Author SHA1 Message Date
Alexander Gavrilov 04ec2c9932 Update version to v0.40.14 and hack things so they compile.
Also make the find-offsets script less likely to crash if the
unit structure is misaligned and add more integrity checks.
2014-10-26 16:40:39 +03:00
Alexander Gavrilov beebd624e7 Last xml update for v0.40.13 2014-10-26 13:20:45 +03:00
Eric Wald ac73c0eeba Allowing non-labor skills to sort stably. 2014-10-21 22:49:50 -06:00
Eric Wald 169da1342d Switching Dwarf Manipulator to a stable sort.
This means, for example, that when you sort by one skill, then by a second, dwarves with the first skill but not the second will still be grouped together.
2014-10-21 22:43:56 -06:00
Eric Wald 5d53163e16 Repairing drain-aquifer layer counting. 2014-10-12 22:28:23 -06:00
Eric Wald b0b1dd62d1 Rewriting the drainaquifer script
The original drainaquifer script could occasionally fail to notice aquifer layers if they happen to skip each of the special tiles that it checks, two per block.  It also left the block-level aquifer flags set, which seems like a minor waste of FPS.

The new script uses the block-level flags to determine which blocks to check, which seems to be both more correct and faster.  It's also written in Lua instead of Ruby, for clarity and ease of debugging.  The name has changed slightly to prevent problems if both scripts are installed for some reason.
2014-10-12 21:55:36 -06:00
lethosor f3626c1004 embark-tools cleanup
Fix #358: Disable "s" keybinding for settings on notes screen
2014-10-12 13:35:20 -04:00
Quietust cdcc0d228d Merge branch 'develop' of https://github.com/angavrilov/dfhack into develop 2014-10-08 11:30:06 -05:00
lethosor e41a33ddea Allow console to be disabled by setting an environment variable 2014-10-06 17:10:33 -04:00
Lethosor 0fd3f3dbf4 Update digFlood documentation to mention onLoad(World).init
Per http://www.bay12forums.com/smf/index.php?topic=139553.msg5712785#msg5712785
2014-10-05 23:14:25 -04:00
Eric Wald 95dd009a15 Restoring automelt for items in bins.
The stockpile iterator yields bins, but not their contents.  Should other containers be checked, too?
2014-10-05 17:57:57 -06:00
expwnent 0471294b1e Fix syndrome-util. 2014-10-04 21:54:07 -04:00
expwnent 0df2d71506 Fix repeat.lua documentation. 2014-10-04 21:52:28 -04:00
Eric Wald aafa3a5f91 Expanding on the rollers menu.
As requested by fricy.
2014-10-02 22:00:40 -06:00
lethosor d2fb51f99e New tweak: nestbox-color 2014-10-01 20:14:41 -04:00
Eric Wald 6c9b94bcef Removing duplicate world and map loading events.
Saving a game in progress now goes through an extra viewscreen before reaching the condition that had been used to indicate whether the world was still valid, causing the core to emit bogus WORLD_LOADED, MAP_LOADED, MAP_UNLOADED, and WORLD_UNLOADED events.  Adding that viewscreen to the list of loading/saving screens prevents those duplicate events from firing.

Granted, if the game_cleaner viewscreen ever gets hit in play, this fix will cause more bogus events...
2014-09-30 23:02:35 -06:00
Eric Wald 2e80c6053c Autotrade bugfix: Mark All now unmarks bin contents.
This prevents a form of cheating, because they already get traded with the bin itself, so their value had been counted twice.
However, the search plugin still enables this kind of cheating...
2014-09-29 21:37:05 -06:00
lethosor e21613bf49 Update dfhack.init-example 2014-09-29 15:59:40 -04:00
Eric Wald 4af9b7a054 Checking for more required variables.
Trying to use trackstop without ui or world results in a hard crash.
2014-09-28 21:34:42 -06:00
Eric Wald 11d08518d6 Adding trackstop to the example init file. 2014-09-28 18:45:47 -06:00
Eric Wald c9cdc04177 Trackstop plugin documentation. 2014-09-28 18:43:19 -06:00
Eric Wald 0fad63bba7 New trackstop plugin.
Simply adds a menu to track stops, showing and changing friction and dump direction.
2014-09-28 18:24:07 -06:00
Mchl 543ef37bf9 scripts/markdown.lua: Fix description comment so that the script isdisplayed correctly by 'ls' 2014-09-28 23:50:50 +02:00
lethosor 425d81ea2d New tweak: civ-view-agreement 2014-09-28 13:13:53 -04:00
Mchl 81d1a1c20e scripts/markdown.lua: Added support for 'topicmeeting' screens. Added option to provide own filename. Added option to overwrite previous data. 2014-09-28 18:52:49 +02:00
hobotron-df da72848b0b Fixes for fastdwarf combat speed and attack retargeting. 2014-09-27 19:47:27 -05:00
lethosor eef86bc501 Update documentation 2014-09-27 20:04:05 -04:00
lethosor d34b22b2c2 New tweak: farm-plot-select 2014-09-27 19:56:31 -04:00
lethosor 999d265d50 New tweak: import-priority-category 2014-09-27 18:14:25 -04:00
lethosor aeb9ea54ec 'tweak' plugin cleanup/reorganization
* Removed confirm-embark, stable-temp, patrol-duty
* Split (enabled) tweaks into separate files
* New tweak: manager-quantity
2014-09-27 17:01:32 -04:00
Eric Wald e46a27c8a4 Switching automelt to the stockpile iterator. 2014-09-27 11:07:26 -06:00
Mchl febc9d08b4 Some nonfuncitonal updates to scripts/markdown.lua: update help text, move output filename to a variable for easier modification 2014-09-27 15:24:28 +02:00
Mchl 7b6197ecbf Update scripts/markdown.lua to work with 'announcelist' screens (most notably announcements and combat reports) 2014-09-27 14:46:38 +02:00
Mchl e62b6e9dc8 Add scripts/markdown.lua script. Based on forum-dwarves.lua but exports to markdown (obviously for reddit) 2014-09-27 01:37:29 +02:00
Mchl 7bf46b1584 Fix scripts/forum-dwarves.lua to work with 0.40.13 2014-09-27 01:36:12 +02:00
jj eed684a8df fix superdwarf 2014-09-26 11:39:05 +02:00
jj 0766538ecd ruby: add df.print_color(col, string) 2014-09-25 15:53:03 +02:00
jj 1a38c72763 ruby: add stl-fstream to codegen 2014-09-25 13:19:00 +02:00
lethosor beb5216640 Fix selection behavior of mousequery on lowest z-level 2014-09-24 17:48:49 -04:00
Alexander Gavrilov 6046d68639 Support std::fstream in data structures and add file_compressorst to xml.
One tricky thing is that fstream does not have operator=, so the new
file_compressorst requires a manually implemented one that skips it.
2014-09-24 22:47:04 +04: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 ce13eda930 properly documented the seedwatch plugin
Because telling users to try the help function *isn't actually
documentation*.  Info pulled from source code without verification.
2014-09-22 10:49:42 +10:00
expwnent b0b6a82c92 Merge remote-tracking branch 'jjyg/develop' 2014-09-19 17:09:43 -04:00
expwnent 218f1c27e7 Update NEWS. 2014-09-19 16:42:06 -04:00
expwnent ebab62744e Merge remote-tracking branch 'dfhack/develop' into HEAD 2014-09-19 16:39:11 -04:00
expwnent a0c55b8bc5 Update NEWS. 2014-09-19 16:26:23 -04:00
expwnent 0e8d6c6c0a Merge remote-tracking branch 'eswald/spurious-e' 2014-09-19 16:23:54 -04:00
jj c894346639 ruby: call RUBY_INIT_STACK 2014-09-19 21:38:22 +02:00
jj d75c01b0ff merge git://github.com/hobotron-df/dfhack 2014-09-19 21:37:28 +02:00
Alexander Gavrilov e6901a87d3 Update to 0.40.13 structures and fix compilation. 2014-09-19 00:05:15 +04:00