Commit Graph

15079 Commits (5f8a68c490f147161a506723c1ea6d0f621262c2)
 

Author SHA1 Message Date
Kelly Martin 3b9f21a1ea Autolabor: do not count designations in hidden squares (since your dwarves can't reach them anyway). Also apply an assignment penalty for assigning a dwarf to a labor other than the one the dwarf is doing 2012-12-12 10:37:09 -06:00
Kelly Martin 0fc01c48e1 Autolabor: add construct labor for GearAssembly, AxleHorizonal, and AxleVertical (the last is a guess, but probably right) 2012-12-12 09:52:13 -06:00
jj 7315f8cec4 scripts/devel/create-items.rb 2012-12-12 16:43:34 +01:00
Kelly Martin b75c1da95e Autolabor: add build waterwheel. 2012-12-12 08:46:52 -06:00
jj 662d3101c7 ruby: fix onupdate tick limiting + advmode, add pageprotect, add :script_finished 2012-12-11 17:25:51 +01:00
Kelly Martin bd1756e5d0 Autolabor: change the fallback labor (for dwarfs for which nothing seems appropriate) from NONE to CLEAN. Fiddle with weights in assignment algorithm. 2012-12-11 09:29:03 -06:00
Kelly Martin 3e8ba2dd06 Autolabor: fix bring-crutch labor 2012-12-11 09:19:38 -06:00
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