Commit Graph

3846 Commits (0bfe006016d76206c9a05f4c8c0d5aede3dd748e)
 

Author SHA1 Message Date
Alexander Gavrilov 0bfe006016 Try to reimplement the inventory monitor by falconne in lua.
For no other reason than to provide a complete example of lua
interface for a native plugin :)

TODO: paint the graph in the right pane.
2012-11-30 19:10:17 +04:00
Alexander Gavrilov 2cb594ba89 Tweak the workflow lua api: include history in output of listConstraints. 2012-11-30 14:48:05 +04:00
jj 184082b379 scripts/lever: fix for links to cage/support 2012-11-29 17:11:29 +01:00
jj d7f7538d01 ruby: fix Pointer assignment 2012-11-29 17:11:29 +01:00
Alexander Gavrilov 5ea26d9cae Only show the advanced new constraint dialog on Shift-Enter.
Upon reflection it is a bit too scary to be always shown.
2012-11-29 16:27:51 +04:00
Alexander Gavrilov 94e6690586 Don't complain about fake input tokens in simulateInput. 2012-11-29 13:37:16 +04:00
jj 771a5ac50b ruby: tweak flagarray#inspect 2012-11-28 20:08:34 +01:00
jj 614225cc5f follow rename itemst.flags.artifact1 -> artifact 2012-11-28 19:48:47 +01:00
Alexander Gavrilov bfc11cf946 Add persistent history of per-constraint item counts in workflow.
This will be needed for properly merging or integrating the status
screen by falconne. The history is maintained as a circular buffer
of up to 28 entries, and persists in save files.
2012-11-28 19:25:01 +04:00
Anuradha Dissanayake 593dc4f554 Fix handling of manipulator hotkey in unit search screen 2012-11-28 17:18:38 +04:00
jj 8f0d552556 ruby: add DFHack::VERSION 2012-11-28 13:33:07 +01:00
Quietust 46fb69663b Pack manipulator screenshots 2012-11-27 11:55:53 -06:00
Alexander Gavrilov 536fd5546a Update manipulator screenshots. 2012-11-27 13:56:02 +04:00
jj 76bb5f0196 ruby: items in containers are free 2012-11-26 20:09:56 +01:00
jj f091284a75 ruby: avoid crash on ArgumentError in onupdate 2012-11-25 17:29:03 +01:00
Quietust e9141f34f6 Adjust minimum widths so they actually work at 80x25 without glitching out 2012-11-24 11:13:54 -06:00
Quietust c58f30ba00 Use teal background instead of red for no-labor cells 2012-11-24 10:37:22 -06:00
Quietust cdc44b74f2 Fix possible crash when using shift+enter on cells that don't have labors 2012-11-24 10:36:32 -06:00
jj 4dfe46e26f manipulator: fix column width calculations for 80x25 window 2012-11-24 16:52:21 +01:00
jj e73274d281 ruby: add description field to onupdate_register 2012-11-24 16:10:55 +01:00
jj cb06c89698 stripcaged: dont list empty cages individually 2012-11-24 16:10:55 +01:00
jj b577bcde1a scripts/lever: show pending jobs 2012-11-24 16:10:55 +01:00
jj 8429f65176 add scripts/stripcaged.rb and documentation 2012-11-24 16:10:55 +01:00
Quietust 139fd07df3 missed a spot 2012-11-23 19:23:06 -06:00
Quietust e3eb325d36 Minimize references to gps->dimx/dimy 2012-11-23 19:18:56 -06:00
Alexander Gavrilov 2a0d048040 Make tweak stable-cursor interact with the build menu properly. 2012-11-22 20:08:47 +04:00
Alexander Gavrilov e7905a5cff Add docs for the automaterial plugin, and use the new Painter class. 2012-11-22 19:38:45 +04:00
Alexander Gavrilov 2794143f77 Merge remote-tracking branch 'falconne/automaterial' 2012-11-22 18:27:31 +04:00
jj fd9a4ffafa script/lever: synchronize linked buildings as the game does 2012-11-22 03:17:41 +01:00
jj 5f92561cd9 add scripts/lever, add binary patches section in NEWS file 2012-11-22 02:57:55 +01:00
Alexander Gavrilov be8f87ade9 Add a couple of screenshots for tweaks, and comment on example config keys. 2012-11-21 14:56:41 +04:00
Anuradha Dissanayake 2a83d92290 Code cleanup 2012-11-21 23:45:26 +13:00
Anuradha Dissanayake 0d9efec062 Disable plugin in non construction menu 2012-11-21 20:17:36 +13:00
jj 5b5c674f6e ruby: update map_tile.mat_info for soil/stone special cases 2012-11-20 21:17:33 +01:00
Quietust 284f02d4dd Merge https://github.com/ab9rf/dfhack 2012-11-20 09:42:21 -06:00
Kelly Martin bb3c5c02c1 Adjustments for MSVC compatibility 2012-11-20 09:32:04 -06:00
Quietust ff40ef6d59 Run screenshots through pngout, shrinking them by about 50% 2012-11-20 08:46:24 -06:00
Kelly Martin 364030f06b Add unsuspend and autounsuspend scripts. The latter is especially useful when trying to build near aquifers. :) 2012-11-20 08:41:35 -06:00
Kelly Martin 79b6a8f9f9 Add autofarm script. 2012-11-20 08:40:42 -06:00
Kelly Martin 5ac8d3be82 Added option to region-pops script to additively augment populations. 2012-11-20 08:28:06 -06:00
Kelly Martin 3b2b77c693 sync structures 2012-11-20 08:22:21 -06:00
Anuradha Dissanayake 9cb1a45855 Automaterial branch commit 2012-11-20 23:12:11 +13:00
Alexander Gavrilov fb8532ad84 Add some screenshots to the readme document.
Using the standard 800x600 tileset as the common
denominator (and it results in smaller images too).
2012-11-20 13:07:27 +04:00
Alexander Gavrilov f587d603e8 Allow the workflow goal gap in any range between 1..goal-1 2012-11-19 18:59:58 +04:00
Alexander Gavrilov 767c1b9368 Duplicate the lua Painter class in C++. 2012-11-19 18:11:26 +04:00
Alexander Gavrilov 902d2d5597 Try reducing the replace with sparring chance due to xp gain overkill.
Also add more debug spam to make behavior tracking easier.
2012-11-18 22:06:47 +04:00
Alexander Gavrilov ae7bf5aca6 Check unit inventory when replacing skill demo with sparring.
E.g. if they have no shields, they won't gain that skill when sparring.
2012-11-18 13:02:49 +04:00
Alexander Gavrilov 2953e4c386 Implement a dialog to specify a workflow constraint with all features. 2012-11-17 20:32:39 +04:00
Alexander Gavrilov 0b568942f4 Follow changes in the xml defs. 2012-11-17 16:43:29 +04:00
Quietust 1ab48aa2de Merge https://github.com/ab9rf/dfhack 2012-11-16 21:15:38 -06:00