Commit Graph

513 Commits (caff9ae741eb9a5ae1df4cbc4a743d168dde1851)

Author SHA1 Message Date
Lethosor 695f04a51d Delete embark.lua
This has been replaced by embark-tools, and there have been reports of this not working in 0.40.xx (http://www.bay12forums.com/smf/index.php?topic=139553.msg5885446#msg5885446)
2014-12-17 21:26:01 -05:00
PeridexisErrant dba7d1bd5d Add file checks to digfort
Checking file type and existence before we start avoids a few issues,
and prevents (highly) misleading feedback of "done" regardless of action
taken.  Closes #453
2014-12-18 09:50:00 +11:00
Warmist 651a8ab497 fixed crashing bug. 2014-12-17 23:05:48 +02:00
PeridexisErrant f3826abc0c cleaning up in needs_porting
Removed obsolete plugins.  Started hotkeys port.  Mostly-finished
position port.  Corrected dwarfmonitor date display.  Documented
putontable.lua in readme.
2014-12-15 23:11:23 +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
Warmist e22c3b099b New and improved. Fixed bugs, now work gets done automatically. 2014-12-12 10:32:22 +02:00
AndreasPK 88354c7183 Fixed error with passing nil to unit.find 2014-12-12 02:47:59 +01:00
Warmist 550cddc604 Gui for item selection in advfort 2014-12-10 00:09:28 +02:00
Warmist f47565465e more fixes, improvements 2014-12-08 22:19:22 +02:00
Putnam3145 17772954cc Made restrictive mat filter work properly
Yeah, not sure what the heck I was doing there before.
2014-12-07 21:04:39 -08:00
Warmist f84a5dbce1 Fixed a bug where it does not find building ref. 2014-12-08 00:55:46 +02:00
Warmist 05887ffdb8 Fixed advfort somewhat: now it teleports items so you can build/craft stuff. 2014-12-07 22:21:19 +02:00
Warmist c1da5e2741 Removed (for now) all the cruft involving item selection gui. Added unit_action for adventurer to perform work. 2014-12-07 22:21:18 +02:00
Casey Link 52f4cb3fc1 stockpiles: load prompt uses typing + filtering 2014-12-05 14:49:40 +01:00
Casey Link 332566f6a1 stockpiles: disable gui/script when plugin is disabled 2014-12-05 13:27:58 +01:00
Casey Link 1f1780cae9 stockpiles: fix usage help 2014-12-05 12:35:24 +01:00
Casey Link b6118d272c stockpiles: integrate gui plugin into dfhack.init-example 2014-12-05 12:35:24 +01:00
expwnent 19e977528c Merge branch 'autolabor-artisans' of https://github.com/pkdawson/dfhack into develop
Conflicts:
	NEWS
2014-12-04 23:49:13 -05:00
expwnent 6e86336b8f Merge pull request #427 from Ramblurr/fix-teleport
teleport: fix unused code causing crash
2014-12-04 23:39:13 -05:00
expwnent a107e41bda Merge pull request #430 from splintermind/master
update DT scripts for versions 29.0.0+
2014-12-04 23:38:34 -05:00
Josh 5d1efa82f1 update DT scripts 2014-12-03 23:34:22 +01:00
Casey Link c1d36be6e8 teleport: fix unused code causing crash
The `teleportSettings` variable was never used and the line referenced
the non-existing function `getArgsTogether`
2014-12-03 11:33:05 +01:00
expwnent d9ae3cc612 Removed removebadthoughts and updated Readme.rst and NEWS. 2014-11-30 09:26:04 -05:00
expwnent 81b75161d6 Updated remove-stress to the new argument system. 2014-11-30 09:23:35 -05:00
PeridexisErrant 5dcec6f683 Add Putnam's remove-stress script 2014-11-30 22:30:13 +11:00
expwnent 16fcdc3035 modtools/item-trigger should now work with items 2014-11-28 23:03:27 -05:00
expwnent 762f5231e2 reaction-trigger typo. 2014-11-28 23:01:44 -05:00
Patrick Dawson 8b1b32a499 autolabor: Add a talent pool parameter. 2014-11-27 15:56:14 +01:00
Patrick Dawson 42dd60a24c Add autolabor-artisans.lua 2014-11-24 02:32:22 +01:00
Putnam3145 ae6675a188 Update add-thought.lua 2014-11-17 22:47:33 -08:00
Yoann Guillot c43685ae76 superdwarf: remove ruby global function 2014-11-16 13:06:14 +01:00
expwnent 723d6af9f8 Merge https://github.com/Mchl/dfhack into develop. Manually remove trailing whitespace, update NEWS.
Conflicts:
	scripts/forum-dwarves.lua
2014-11-15 15:33:48 -05:00
expwnent 15194613f5 Manually add hobotron's superdwarf fix. 2014-11-15 15:23:00 -05:00
expwnent a04ea52e19 Added Putnam's gaydar script. 2014-11-15 00:22:58 -05:00
expwnent ba8b964f8d reaction-trigger-transition.lua should work now. 2014-11-15 00:06:10 -05:00
expwnent 59ef4e0cc2 It is now possible to remove syndromes by SYN_CLASS. 2014-11-14 23:33:49 -05:00
expwnent c7e0a13505 Merge branch 'adaptation-4015' of https://github.com/hobotron-df/dfhack into develop
Conflicts:
	NEWS
2014-11-14 19:06:04 -05:00
expwnent a474bc4dea Merge remote-tracking branch 'dfhack/develop' into develop
Conflicts:
	NEWS
2014-11-14 18:58:21 -05:00
expwnent c40c4460ba Merge remote-tracking branch 'putnam/fullhealfix' into develop
Conflicts:
	NEWS
2014-11-14 18:56:21 -05:00
expwnent 428fe6a400 interaction-trigger tweaks 2014-11-14 18:50:19 -05:00
expwnent 38c4edf858 Merge pull request #388 from Putnam3145/add-thought
Add "add-thought" script to main repo
2014-11-14 16:05:38 -05:00
expwnent 0642333f97 Merge pull request #343 from PeridexisErrant/exportlegends-sites
exportlegends can do site maps, IDd field
2014-11-14 16:05:06 -05:00
hobotron-df a6b7d6beeb New script for viewing or setting cavern adapation of citizens. 2014-11-13 12:13:23 -06:00
Putnam3145 9f6a04db7f Switched subthought and severity in function arg 2014-11-12 13:55:38 -08:00
Putnam3145 4ccd4a96be Updated add-thought to allow subthoughts.
Only works in non-gui mode for now, since there's no easy way to tell people what subthought is which with the GUI.
2014-11-12 13:54:44 -08:00
Putnam3145 f980ecf38d Added add-thought to scripts.
I figure that it's useful enough and good enough by this point to be
included.
2014-11-10 01:44:30 -08:00
Putnam3145 3a403d8ec6 Updated full-heal to properly use args system.
Also updated NEWS.
2014-11-10 01:09:15 -08:00
expwnent 6220a21de6 More straggling documentation errors in modtools. 2014-11-09 18:39:23 -05:00
expwnent 55348e9c80 Correct reaction-trigger documentation. 2014-11-09 18:37:39 -05:00
expwnent 838bbd97f6 New devel scripts for testing interaction-trigger. 2014-11-09 18:37:11 -05:00
expwnent 779ac3fd50 Updated interaction-trigger to work better. 2014-11-09 18:36:21 -05:00
expwnent 7549169cd2 Merge remote-tracking branch 'dfhack/develop' into develop 2014-11-09 00:39:40 -05:00
expwnent f6a281ebc7 Merge pull request #379 from Putnam3145/teleport-update
Updated teleport for new args system.
2014-11-09 00:35:33 -05: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
Lethosor ae001c60ad Update export-dt-ini.lua
From https://github.com/splintermind/Dwarf-Therapist/blob/DF2014/export-dt-ini.lua
2014-11-07 16:40:53 -05:00
expwnent 82dade1ae0 interaction-trigger documentation tweak. 2014-11-07 14:14:49 -05:00
Putnam3145 6b2b13b186 Updated teleport for new args system.
Also updated the teleport function to properly check for units at
destination.
2014-11-06 22:15:21 -08:00
expwnent e4d4f7230b modtools/item-trigger: fix equip/unequip bug and correct minor documentation error 2014-11-06 23:46:10 -05:00
expwnent 87443035a9 Merge remote-tracking branch 'quietust/develop' into develop
Conflicts:
	plugins/manipulator.cpp
2014-11-02 04:05:51 -05:00
expwnent 6fa3f92f21 Merge pull request #361 from eswald/drainaquifer
Rewriting the drainaquifer script
2014-11-02 03:27:08 -05:00
Lethosor c60e06aed3 Fix forum-dwarves.lua
formatted_text -> src_text
2014-11-01 17:28:08 -04:00
Quietust 8769af8935 Merge branch 'develop' of https://github.com/expwnent/dfhack into develop 2014-10-31 13:34:20 -05:00
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
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
expwnent 0df2d71506 Fix repeat.lua documentation. 2014-10-04 21:52:28 -04: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
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
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
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
expwnent f114aee758 Merge branch 'fix-exportlegends' of https://github.com/PeridexisErrant/dfhack 2014-09-16 17:13:51 -04:00
expwnent d425c2edf9 Merge remote-tracking branch 'lethosor/lua-printall-ipairs' 2014-09-16 17:08:45 -04: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
lethosor fadca0aef2 Add a variant of printall() that uses ipairs 2014-09-08 20:30:22 -04:00
Putnam3145 a30780420b Removed hackwish crash.
It's mostly a user error issue, but it is certainly not one that's hard to come across.
2014-09-08 17:00:49 -07:00
expwnent 4800794ba6 Merge remote-tracking branch 'dfhack/develop' 2014-09-08 13:23:28 -04:00
hobotron-df fd657134ff [Fix: Issue 291] bow_item_(sub)type is now shooter_item_(sub)type in history_hit_item struct. 2014-08-30 20:42:48 -05:00
Putnam3145 baeb894502 Made hack-wish work properly. 2014-08-29 18:43:22 -07:00
Eric Wald eeb22c099d Nitpicking log-region
One line was improperly indented, and a variable name no longer made sense.
2014-08-28 14:02:22 -06:00
Eric Wald 73a67b4a64 Repairing the log-region script
A typo was causing the gamelog to always omit the fortress group's untranslated name, while failing to fully prevent the error message caused by unloading the fortress.
2014-08-17 11:01:23 -06:00
expwnent 59e6607d8c Merge remote-tracking branch 'warmist/dev_building_hacks' into develop 2014-08-16 10:26:24 -04:00
Warmist 6868cab1fe Exposed dfhack.jobs.linkIntoWorld. Simplified eventful and gui.dwarfmode for sidebar use/creation. 2014-08-16 16:58:01 +03:00
expwnent c5fb4c1260 Update hack-wish. 2014-08-16 08:45:49 -04:00
expwnent 49f43423c8 Tweaks. 2014-08-15 09:40:49 -04:00
expwnent ce4d1db5a0 More removing unneeded fixes. 2014-08-15 04:23:54 -04:00
expwnent bb46ccfdf0 Fix reaction-trigger to use the right library name for syndrome-util. 2014-08-15 02:52:20 -04:00
Alexander Gavrilov 002bd5240b Bump version to v0.40.07 and update find-offsets to new pressure plate UI. 2014-08-11 14:14:42 +04:00
lethosor 14208577dd Display all found offsets on completion 2014-08-03 22:02:15 -04:00
Quietust 1450298484 assumed_identity -> identity 2014-07-29 16:30:22 -05:00
Quietust d6162cd189 death_info -> incident 2014-07-29 16:26:14 -05:00
Alexander Gavrilov 4902c577b3 Fix some crashes when running without globals and update structures. 2014-07-24 23:10:37 +04:00
Quietust 34ce7f61de Update find-offsets, find gview properly even if INTRO is enabled 2014-07-22 16:38:18 -05:00
Quietust 9435d8f4d9 Fix crashes caused by missing globals 2014-07-21 19:14:43 -05:00
expwnent a8f810cc3b Lots of tweaks. 2014-07-09 06:21:52 -04:00
expwnent 0a16bc2e12 Merge remote-tracking branch 'origin/perSaveScripts' into scriptOrganization
Conflicts:
	plugins/CMakeLists.txt
2014-07-07 09:01:07 -04:00
expwnent 9a17ecbf89 item-trigger typo 2014-07-07 05:52:54 -04:00