Commit Graph

1486 Commits (8741983aaa9ef166234b4a7de7011e6596ebebc9)

Author SHA1 Message Date
expwnent 155a4d044c EventManager: fiddled with time events. Made it possible to register for time events before a world is loaded. Also added some files I forgot to add to the previous commit. 2012-12-14 23:29:28 -05:00
expwnent cf619a519e EventManager: made event handlers unregister when plugins are unloaded. Also changed PluginManager so that plugins can call core.getPluginManager() during plugin_init. 2012-12-14 22:14:38 -05:00
expwnent 747723187f EventManager: first draft. 2012-12-14 21:05:38 -05:00
Warmist 08f454cc81 Removed old reactionhooks.lua 2012-12-14 16:41:59 +02:00
Warmist e46d434c25 Missing lua file for eventful. 2012-12-14 16:33:26 +02:00
expwnent af7f11fdfa autoSyndrome: made the syndrome logic make more sense. 2012-12-13 11:30:37 -05:00
jj bba96494f3 ruby: add unit_hostiles to list hostiles units (duh) 2012-12-13 17:20:21 +01:00
expwnent a28fc65e6d autoSyndrome now deals with creature_class. 2012-12-13 11:13:56 -05:00
expwnent 3a541e26be autoSyndrome: automatically detects boiling rock syndromes better, and checks if each syndrome is applicable to the unit that finished the job. 2012-12-12 23:01:05 -05:00
Warmist ddceabbfb7 Merge branch 'master' of git://github.com/jjyg/dfhack 2012-12-12 18:58:11 +02:00
jj 662d3101c7 ruby: fix onupdate tick limiting + advmode, add pageprotect, add :script_finished 2012-12-11 17:25:51 +01:00
jj 6bc791d985 follow df-structure rename unit.unknown8 + able_stand_* 2012-12-10 22:50:33 +01:00
expwnent e85f4eb880 First draft of autoSyndrome: a tool for replacing boiling rock syndromes with something more reliable. Uses non-df-recognized tags in material definition raws. 2012-12-09 21:19:40 -05:00
Warmist 6c4f163a5e Merge branch 'master' of https://github.com/angavrilov/dfhack
Conflicts:
	NEWS
2012-12-09 14:25:31 +02:00
Warmist 6d0e505fd2 Added onItemContaminate to eventful and readme/news for eventful 2012-12-09 14:15:39 +02:00
Warmist a0a566dbf2 Tidy up eventful.cpp 2012-12-09 13:00:49 +02:00
expwnent 72921fbfd5 Made workNow only check jobs when the game becomes paused instead of constantly when paused. Also made it enable/disable on command. 2012-12-08 12:50:33 -05:00
Alexander Gavrilov 7307f4e870 Fix crash and confusing behavior in automaterial. 2012-12-08 09:51:35 +04:00
jj ebc2625d97 ditch the unused Vegetation module 2012-12-06 23:47:25 +01:00
jj e1b70d171c ruby: tweak is_citizen test 2012-12-06 12:48:16 +01:00
Alexander Gavrilov cd6eb9edd3 If training ammo is forbidden for all use, don't move it to combat chests. 2012-12-06 12:00:18 +04:00
jj 74ebe7d207 ruby: add df-static-flagarray 2012-12-04 17:55:29 +01:00
jj 0b80dff09d ruby: add d-float support 2012-12-04 17:18:09 +01:00
jj 3953112eb9 dump Vegetation::t_plant, fix plant.is_burning 2012-12-03 19:03:07 +01:00
Alexander Gavrilov dc7f9f56cd Implement a low stock level announcement as suggested by falconne. 2012-12-02 15:31:43 +04:00
Alexander Gavrilov df2e9f00e1 Document that search now works in the stockpile settings screen. 2012-12-01 17:21:06 +04:00
Alexander Gavrilov fd5b19fe8d Merge remote-tracking branch 'falconne/search'
Conflicts:
	plugins/search.cpp
2012-12-01 16:55:52 +04:00
Kelly Martin 05dce0d2f1 Fix inadvertently prematurely terminated block comment. 2012-11-30 21:24:18 -06:00
Anuradha Dissanayake 210c1650ec Add stockpile screen searching capability 2012-12-01 01:01:04 +13:00
Alexander Gavrilov 2cb594ba89 Tweak the workflow lua api: include history in output of listConstraints. 2012-11-30 14:48:05 +04:00
Anuradha Dissanayake abe027c940 Copy changes from ag fork 2012-11-30 22:44:05 +13:00
jj d7f7538d01 ruby: fix Pointer assignment 2012-11-29 17:11:29 +01:00
Warmist 57b69da1f0 Merge branch 'master' of https://github.com/angavrilov/dfhack 2012-11-29 12:13:28 +02:00
Warmist 2c9b560872 Made dfusion not stop df on input. 2012-11-28 22:13:28 +02: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
jj 76bb5f0196 ruby: items in containers are free 2012-11-26 20:09:56 +01:00
Warmist 2bbcfe912a Site spawner added to adv_tools 2012-11-26 21:04:17 +02: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
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
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
Anuradha Dissanayake 9cb1a45855 Automaterial branch commit 2012-11-20 23:12:11 +13:00
expwnent fe2257427f workNow: plugin to make DF process jobs every time you pause. 2012-11-19 20:17:05 -05: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 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
Warmist ee15086963 Some preparations for new plugin. 2012-11-18 01:52:46 +02: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
Quietust e2b9b703a0 Get rid of tabs 2012-11-16 15:33:36 -06:00
Kelly Martin fc1a1e1f0e Merge remote-tracking branch 'jjyg/master'
Conflicts:
	NEWS
2012-11-16 13:20:46 -06:00
Kelly Martin 2a0171a4ff Merge remote-tracking branch 'angavrilov/master' 2012-11-16 13:15:55 -06:00
Kelly Martin cbe3741751 Check all depots for trader requested, not just the last one. 2012-11-16 13:09:05 -06:00
Alexander Gavrilov d506dd7137 Add a tweak to speed up melee squad training. 2012-11-16 22:51:07 +04:00
jj 423c122424 ruby: fix unit_find for advmode 2012-11-16 17:59:39 +01:00
Quietust bbe94c006f Update for temperaturest 2012-11-12 11:54:21 -06:00
Quietust 55fcb7e3ca One more missed 2012-11-12 08:33:05 -06:00
Quietust 766aca4911 Rename general_ref vectors for consistency 2012-11-12 08:27:58 -06:00
Alexander Gavrilov c32f85d637 Merge remote-tracking branch 'warmist/master'
Conflicts:
	plugins/Dfusion/include/OutFile.h
2012-11-12 10:50:48 +04:00
Warmist ce8ada4419 More bug fixing 2012-11-11 22:14:00 +02:00
Warmist 3eb852a43b Added cheat commands to companion-order, (including rumrushers) 2012-11-11 21:18:59 +02:00
Warmist df3b791665 Fixed error in dfusion and added some readme. 2012-11-11 17:19:37 +02:00
Alexander Gavrilov 683da39636 Fix dfusion build on linux. 2012-11-11 17:24:25 +04:00
Alexander Gavrilov d5c31942b5 Add a way to only count locally-made items in workflow. 2012-11-11 15:56:31 +04:00
Warmist 0e4df55364 Merge branch 'master' of https://github.com/angavrilov/dfhack 2012-11-11 12:46:55 +02:00
Warmist 33f674eee2 Removed dfusion lua files. Updated plugins. 2012-11-11 12:33:54 +02:00
Warmist f1d4eac700 Pre-class remove 2012-11-11 11:58:43 +02:00
Alexander Gavrilov f86371cfc3 Try blocking any use of stockpiles for squad stuff in fix-armory. 2012-11-10 18:06:41 +04:00
Alexander Gavrilov 56ef33ea0e Support building steam engines on top of brooks without any down stairs. 2012-11-10 17:33:05 +04:00
Alexander Gavrilov eb936c4ce0 Support milking and shearing in workflow. 2012-11-10 17:06:54 +04:00
Alexander Gavrilov a7bf526f41 Make workflow consider squad-assigned items busy. 2012-11-08 21:27:56 +04:00
Petr Mrázek 0c70a448d0 Update submodules 2012-11-07 23:06:02 +01:00
Alexander Gavrilov f6b6d730a0 Fix fix-armory constantly trying to store ammo already stored in chest. 2012-11-07 22:49:40 +04:00
Alexander Gavrilov edf80ff748 Show the sex of the unit in the bottom line of Dwarf Manipulator. 2012-11-04 18:03:02 +04:00
Alexander Gavrilov 9bf24bde10 More various updates for search.
- Keep the search state as long as the screen is alive.
- Properly forget saved state when clearing search.
- Fix the start column in render for stocks screen.
- Allow search by profession in all Units pages.
- Dismiss search when trying to trade.
2012-11-03 15:34:04 +04:00
Alexander Gavrilov 8bccfb1e9a Fix gcc compiler errors and warnings in search, reindent plugin_init, etc. 2012-11-03 14:31:07 +04:00
Alexander Gavrilov 43ab172652 Merge remote-tracking branch 'falconne/master'
Conflicts:
	plugins/zone.cpp
2012-11-03 14:07:42 +04:00
Alexander Gavrilov 71c1ba84e3 Merge remote-tracking branch 'q-github/master' 2012-11-03 14:05:15 +04:00
Quietust 3257eb80a1 Add checks to avoid crashing if we encounter a soulless unit 2012-11-02 16:28:48 -05:00
Warmist e887c60e93 Removed unused buffers. 2012-11-02 21:00:35 +02:00
Warmist 86e4a42bdd Small fix due to vmethod change 2012-11-02 20:59:05 +02:00
Warmist 6be65690f7 Merge branch 'master' of https://github.com/angavrilov/dfhack into experimental-dontmerge 2012-11-02 20:29:27 +02:00
Warmist 5295be5fdb More work done. Only bin-plugs left (and docs) 2012-11-02 20:28:08 +02:00
Warmist 296d1cf090 More scripts for dfusion. Only fixes left, and updating bin-plugins (friendship and migrants(??)) 2012-11-02 00:50:20 +02:00
Warmist ba071468dc New way of doing things!
Now using a class for menus, also no (non script) way to use bin-plugins.
2012-11-02 00:28:16 +02:00