Commit Graph

359 Commits (1ca90de647d9d0adc727279bf516ebed4087e15b)

Author SHA1 Message Date
Quietust 06547c8948 Update showmood to recognize corpses (fell mood) and remains (macabre mood) 2012-01-24 10:03:28 -06:00
Alexander Gavrilov 174d9d0739 Tweak showmood, add a few validity checks, commit a dfhack.init example. 2012-01-24 15:36:30 +04:00
Quietust 6502f0f6ae Print mood item flags if it's an unrecognized body part 2012-01-23 16:08:37 -06:00
Quietust e3f875b9a5 Add "showmood" plugin, provides a detailed description of the currently
active mood (if any)
2012-01-23 16:03:29 -06:00
Quietust 2cc6bcf0e9 Use CoreSuspender and namespace df::enums 2012-01-21 18:31:15 -06:00
Quietust ccf22bed10 Replace df_plant with df::plant - this leaves the Vegetation module a bit empty, but I'll leave it in case we decide to add something new there 2012-01-21 17:54:57 -06:00
Quietust 7b2835e2a9 Get rid of df_name 2012-01-21 13:12:40 -06:00
Quietust 8052305c2e Cleanup the Units module 2012-01-21 13:03:39 -06:00
Quietust 118e5c6617 Major cleanup of Materials modul, precursor to eventually nuking it 2012-01-21 10:12:26 -06:00
Quietust 1b419313f4 Merge https://github.com/angavrilov/dfhack 2012-01-20 10:40:25 -06:00
Alexander Gavrilov 3a908eb64b Support reporting the Z range of holes in the adamantine tubes. 2012-01-20 20:29:51 +04:00
Quietust cbac8259ed Fix unreveal 2012-01-20 10:13:34 -06:00
Alexander Gavrilov cc510a2c4b Replace DFCoord with df::coord and df::coord2d. 2012-01-20 14:28:00 +04:00
Quietust d35d070ff3 Only skip refilling tiles beneath non-featstone tiles if said tiles don't already have floors; also skip tiles filled with liquid 2012-01-19 22:41:59 -06:00
Quietust 7da633b6ef Optimize reveal - instead of walking the entire map, just iterate across the list of blocks 2012-01-19 22:36:34 -06:00
Quietust 9dddb79165 Optimize tubefill, and also try to handle the floors above newly filled tiles (as well as tiles which were floors to begin with) 2012-01-19 22:34:06 -06:00
Quietust 3a11d0c86e Switch deramp to using Maps::getBlockAbs() 2012-01-19 22:12:51 -06:00
Quietust 6a000811aa Cleanowned doesn't touch the Maps module 2012-01-19 22:12:26 -06:00
Quietust e7ecda1434 Kill the Maps module 2012-01-19 21:44:17 -06:00
Quietust 4bb724cd6c Significant cleanup of Maps module - next step will be to kill it properly 2012-01-19 14:11:52 -06:00
Alexander Gavrilov 7db467a740 Update code to accomodate the new coord/coord2d/coord_path structs.
Also replicate the methods of DFCoord.
2012-01-19 14:30:22 +04:00
Alexander Gavrilov d75292acc7 Merge remote-tracking branch 'q-github/master' 2012-01-19 12:07:00 +04:00
Quietust 35ad84c58a angavrilov changed general_ref_type to be all uppercase 2012-01-18 08:26:08 -06:00
Alexander Gavrilov 1aec9649c5 Support including material value in the prospector output. 2012-01-17 20:04:54 +04:00
Alexander Gavrilov 43476b2ea7 Fix Z level computation in prospect, and add levels for flows & aquifer. 2012-01-17 20:04:49 +04:00
Quietust fd653a0227 Kill the Items module 2012-01-16 22:12:58 -06:00
Quietust e75291ee91 Unlink seedwatch plugin from Materials module 2012-01-16 21:29:09 -06:00
Quietust 9d8c67b710 Kill the Kitchen module (which was never really a proper module to begin with) 2012-01-16 21:22:42 -06:00
Quietust 64b55acf37 df_item -> df::item, t_itemflags -> df::item_flags 2012-01-16 20:16:16 -06:00
Alexander Gavrilov 89cb12add1 Merge remote-tracking branch 'q-github/master' 2012-01-16 19:55:47 +04:00
Alexander Gavrilov 4811d2945e Count hospital supplies as busy, and detect soap-producing reactions. 2012-01-16 19:45:38 +04:00
Quietust e84904f5c5 Typo - "desctruction" -> "destruction" 2012-01-15 15:01:40 -06:00
Quietust 0e0bca5dbb Fix deadlock in autodump 2012-01-15 14:59:47 -06:00
Quietust e82055986e Only use #include <> for system libraries - for everything else, use "" 2012-01-15 14:54:14 -06:00
Quietust f3cbf07a01 Use general_ref::getType() instead of strict_virtual_cast<> 2012-01-15 13:59:34 -06:00
Petr Mrázek d972b07d57 Merge https://github.com/quietust/dfhack
Conflicts:
	plugins/autodump.cpp
	plugins/cleaners.cpp
2012-01-15 19:51:34 +01:00
Alexander Gavrilov f0f354f3c7 Don't count stuff in flasks and backpacks as available in workflow. 2012-01-15 20:45:02 +04:00
Alexander Gavrilov 8158733745 Support changing the custom profession via rename.
Likewise, it works for any unit, including animals and enemies.
2012-01-15 15:57:33 +04:00
Alexander Gavrilov bcb51d8ff7 Use the announcement API to report starting and stopping workflow jobs. 2012-01-15 15:39:20 +04:00
Alexander Gavrilov 54485d2551 Move plant material detection to guess_job_material in workflow.
So that the data will be available to shortJobDescription.
2012-01-15 12:58:36 +04:00
Alexander Gavrilov 8135420d87 Let job-material use any material in the build item selection mode. 2012-01-15 12:50:53 +04:00
Alexander Gavrilov 990a69ce9b Add hotkey commands to destroy items under cursor, and a specific item. 2012-01-14 21:13:30 +04:00
Alexander Gavrilov a31542862a Add utility functions to retrieve the selected job/unit/item.
Units can be selected via 'u', 'j', 'v' and 'k'; full-screen
unit details view not supported.

Items can be selected via 't', 'k', 'v'->inventory.

Also, when viewing a container item full-screen, the selected
contained item or unit is returned; never the container itself.

The api is used in rename to allow setting nicknames for
arbitrary units, including animals and enemies.
2012-01-14 19:31:43 +04:00
Alexander Gavrilov 53e9a1659b Add automatic drybucket and melting to workflow. 2012-01-12 20:07:53 +04:00
Quietust 59b66a2681 Fix output formatting 2012-01-11 11:04:20 -06:00
Quietust 18f2459b5d Add missing newline to "clean" usage 2012-01-11 11:04:06 -06:00
Quietust bb0959e470 Fix confusion between "cout" and "c->con" 2012-01-11 10:59:56 -06:00
Quietust 555183cb25 Remove unreferenced variables 2012-01-11 10:57:05 -06:00
Quietust 5173be649f Silence warning 2012-01-11 10:49:42 -06:00
Quietust a3d2cf3a85 Minor cleanup 2012-01-11 10:31:23 -06:00