Commit Graph

15222 Commits (060becec7ccd347ff22f454e403755e9a3019c31)
 

Author SHA1 Message Date
Kelly Martin 017b986987 Autolabor: fix wound cleaning labor. 2012-12-11 09:06:37 -06:00
Alexander Gavrilov 966deb4647 Fix crash and confusing behavior in automaterial. 2012-12-11 22:05:00 +13:00
jj 6bc791d985 follow df-structure rename unit.unknown8 + able_stand_* 2012-12-10 22:50:33 +01:00
jj 0403e008d5 deathcause: show more info for non histfigs 2012-12-10 17:48:53 +01:00
Kelly Martin a914f8e8e0 Autolabor: busy dwarfs may be reassigned now, but with a strong preference for their current job; armed dwarfs are given preference for outside jobs; include experience gained toward next level in preference weighting 2012-12-10 08:34:11 -06:00
Warmist bd4f49598d Yet again forgot to disable debug spam. 2012-12-10 07:23:05 +02: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 bd368ea81c Added check for reaction class items 2012-12-10 00:14:05 +02:00
Warmist ff4278d04e Removed debug spam, added support for "HAS_MATERIAL_REACTION_PRODUCT" type reactions. 2012-12-09 23:07:13 +02: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
Kelly Martin 0ef4522f95 Merge branch 'master' into autolabor 2012-12-08 21:26:50 -06:00
Kelly Martin 2018ac1d17 Sync structures 2012-12-08 21:25:16 -06:00
Kelly Martin 468412b9fc Autolabor: fix unitialized variable bug causing broker to be inappropriately excluded from work 2012-12-08 21:14:23 -06:00
Warmist bf0fe796ea Added advfort to news. 2012-12-09 01:24:36 +02:00
Warmist 4f5fdebbe9 furnaces added and custom reactions. 2012-12-09 00:53:03 +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
Kelly Martin 412a004751 Autolabor: identify labors that may involve going outside and apply an assignment penalty for such labors to dwarfs who have minor children (in order to keep the kids inside) 2012-12-08 10:55:44 -06:00
Alexander Gavrilov a0e671d75d Make rename unit reset the name if it becomes completely empty. 2012-12-08 20:39:57 +04:00
Alexander Gavrilov 10667dfb9e Make the inspect screen background look more sane on some tilesets.
Namely where ' ' is not totally transparent.
2012-12-08 14:45:17 +04:00
Kelly Martin 6ae82187d2 Autolabor: more tweaks to hauling labor decoding, fix heap corruption due to array underflow 2012-12-08 03:51:07 -06:00
Kelly Martin e7d3fbe97b Autolabor: track labors actually being used (to avoid "gone fishing" bug); fix several wrong labor map entries; add several special cases for hauling (still not all there yet); add debug warning if job deduction appears wrong; flail about mightily trying to resolve heap corruption on unload 2012-12-08 02:42:22 -06:00
Alexander Gavrilov 7307f4e870 Fix crash and confusing behavior in automaterial. 2012-12-08 09:51:35 +04:00
Alexander Gavrilov 6fd306b558 Add tiles colored separately by fg and bg in inspect-screen. 2012-12-08 09:51:09 +04:00
Kelly Martin 42670f0233 Autolabor: only care about skills that are used for labors, when determining a dwarf's highest skill. 2012-12-07 15:41:39 -06:00
Alexander Gavrilov 99e9785826 Add a script for inspecting screen tile parameters. 2012-12-07 18:10:24 +04:00
jj a1eeb02a1b autocomplete command names from the console 2012-12-07 01:34:04 +01:00
jj ebc2625d97 ditch the unused Vegetation module 2012-12-06 23:47:25 +01:00
Warmist c174998fec Advfort: added ability to put items on table or in buildings that can hold them. 2012-12-06 18:27:54 +02:00
Kelly Martin fa9b71adc5 autolabor: add archery targets, improve JobLaborMapper's destructor 2012-12-06 09:39:14 -06:00
Alexander Gavrilov 885059c887 Add a script to expose the correct season to soundsense on world load. 2012-12-06 19:00:48 +04:00
jj 126c31684e deathcause: ghosts are dead 2012-12-06 13:43:58 +01:00
jj 9a6eff0370 deathcause: allow selection from unitlist screen 2012-12-06 13:00:33 +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
Kelly Martin 0df60a0b4f Autolabor: slabs, animal trainers 2012-12-06 01:38:43 -06:00
Kelly Martin f8d6b83088 Add 'allow fishing' and 'allow hunting' config options. Protect against accidentially trying to set or unset the NONE labor or any other invalid labor value (which corrupts DF). Add traction benches. Change prioritization around quite a bit. 2012-12-04 20:23:19 -06: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
Kelly Martin 0f1aaa6ec4 Autolabor: Items marked for dump now generate haul refuse demand. Also corrected labor for dump item jobs. 2012-12-04 01:59:44 -06:00
Anuradha Dissanayake 745b347b5b Fix const correctness 2012-12-04 10:30:49 +13:00
Kelly Martin 287ee2bc04 Autolabor: allow multiple simultaneous jobs at farms. 2012-12-03 14:20:57 -06:00
Warmist 3bce3838af Advfort now supports workshops and siege weapons >:) 2012-12-03 21:49:17 +02:00
Warmist d9a5eefb9a gm-editor fix: cursor remembers its position. 2012-12-03 21:48:23 +02:00
jj 3953112eb9 dump Vegetation::t_plant, fix plant.is_burning 2012-12-03 19:03:07 +01:00
Kelly Martin 208b9915ea Autolabor: splints and crutches are furniture (at least at a forge); remove test that excludes pet owners from being given jobs when they're idle; add test for hungry/thirsty dwarves to trigger a feed/water civilians requirement; add a vehicle hauling requirement based on the existence of hauling routes 2012-12-03 04:28:08 -06:00
Kelly Martin 9563dae5d7 Autolabor: add labors for construct bridge, construct nestbox, construct trap, deconstruct wagon; fix error in labor for deconstruct furnace/tradedepot/construction; actually update the "active dwarf" numbers displayed in "autolabor list"; increase assignment penalty for dwarfs using skills lower than their best skill; increase assignment bonus for continuing in the same labor and for having the right tool for the job. 2012-12-03 01:41:02 -06:00
Kelly Martin 44bb965c97 Autolabor: add more building labors 2012-12-02 18:41:20 -06:00
Kelly Martin 4cd217b782 to new assignment algorithm. Add priority boost for labors based on how long it's been since they were last used, to avoid labor starvation. Move persistent configuration to "autolabor/2.0" to avoid conflicting with older versions. 2012-12-02 14:27:13 -06:00