summaryrefslogtreecommitdiff
path: root/plugins/zone.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of http://github.com/peterix/dfhackTimothy Collett2012-09-101-9/+13
|\
| * Merge remote-tracking branch 'upstream/master'Kelly Martin2012-07-161-7/+11
| |\
| | * Check zone plugin parameters betterPetr Mrázek2012-07-121-7/+11
| | |
| * | * Autolabor: really exclude the broker from all labors when trader requestedKelly Martin2012-07-111-2/+2
| |/ | | | | | | | | | | * Autolabor: add 'haulpct' config option to control percentage of non-idle dwarfs assigned to hauling labors (default is 33) * Zones: allow nontamed birds to be nestboxes. warning: does not check for 'hostile to civilization' birds, so if you try to tame a hostile elk bird, !!fun!! will happen * Stripcaged: changed default behavior to keep armor, reduced noisiness
* | Merge further changes (???)Timothy Collett2012-09-101-2/+2
|/
* Merge remote-tracking branch 'ab9rf/master'Alexander Gavrilov2012-05-051-0/+48
|\
| * Add "tamable" for animals that can be tamed (PET or PET_EXOTIC in raws)Kelly Martin2012-04-201-0/+28
| |
| * Add "naked" (has no inventory) predicate to zone (useful for mass pitting)Kelly Martin2012-04-201-0/+20
| |
* | Update building creation code with new knowledge, and fix zone.Alexander Gavrilov2012-05-011-2/+2
|/ | | | Also, document new lua api, and add a more convenient wrapper.
* zone: don't assign to cages which are designated but not yet placed (minor ↵Robert Heinrich2012-04-171-0/+8
| | | | fix, it's not like bad things happen without it)
* minor stuff, use building->is_room instead of building->isRoom() which ↵Robert Heinrich2012-04-171-28/+9
| | | | returns unexpected values
* autopasture: only process domesticated own units to avoid problems with wild ↵Robert Heinrich2012-04-161-14/+24
| | | | animals forgetting their training and going on a rampage
* zone: mass-assign nicknames, assign units to multiple cages inside a ↵Robert Heinrich2012-04-161-19/+173
| | | | pasture. autobutcher: some fixes regarding autowatch and butchering caged units.
* autobutcher: only ignore built cages which are defined as rooms/zoos.Robert Heinrich2012-04-161-9/+154
| | | | zone: allow mass-assigning of nicknames (to protect a pasture/cage from autobutcher)
* zone: fixed filter 'trained' so it now finds war/hunting creatures (who ↵Robert Heinrich2012-04-161-34/+45
| | | | strangely don't have a training level)
* zone: don't assign owned pets to a cage. the owner will release them, ↵Robert Heinrich2012-04-151-16/+11
| | | | resulting into infinite hauling (df bug)
* autonestbox: don't assign to nestboxes which are already claimed or contain ↵Robert Heinrich2012-04-151-1/+24
| | | | | | eggs. bprobe: look a bit closer at nestboxes
* zone: added keyword 'not' which negates the filter followed by it (e.g. 'not ↵Robert Heinrich2012-04-151-49/+195
| | | | grazer')
* zone: added filters to search for creatures who can be trained for war/huntingRobert Heinrich2012-04-151-0/+42
|
* Add noegglayer zone filterKelly Martin2012-04-151-0/+7
|
* Track structures, fix trivial problem in zone pluginPetr Mrázek2012-04-151-0/+2
|
* tweak makeown: converts MERCHANT to TRADER (otherwise you can't assign jobs ↵Robert Heinrich2012-04-141-5/+7
| | | | | | to kidnapped merchants. zone: fixed a bug which could lead to units being assigned to more than one cage and/or accidentally marked for slaughter
* zone: fixed major derp (assign commands would accidentally free caged ↵Robert Heinrich2012-04-141-1/+0
| | | | creatures). tweak: added cheat to kidnap caravan escorts (works fine even for other races, does NOT work for traders because they can't be assigned any labors for whatever reason)
* zone: fixed assigning to pit/pond. regrass: look for grass events in the map ↵Robert Heinrich2012-04-111-12/+16
| | | | block, increase amount of grass at map position instead of simply changing the tile type
* zone: can now assign to and from built cages. autobutcher: fixed ↵Robert Heinrich2012-04-101-61/+215
| | | | initializing when getting SC_MAP_LOADED event while a map is currently running
* zone tool: added new filter 'nograzer'Robert Heinrich2012-04-101-2/+23
|
* added tweak clear-resident which fixes bugged migrants and makes them proper ↵Robert Heinrich2012-04-101-1/+13
| | | | members of the fortress. added tweak clear-merchant which assimilates merchants who linger at the map edge into the fortress. updated readme.rst
* autobutcher: fixed behaviour of keywords 'all' and 'new'. (didn't work ↵Robert Heinrich2012-04-091-31/+59
| | | | properly with watch, unwatch and forget)
* fixed wrong description of the behaviour for using keyword 'all' in ↵Robert Heinrich2012-04-091-2/+1
| | | | autobutcher (affects all races on the watchlist, not all races in your fort)
* autobutcher: added a forgotten ';'Robert Heinrich2012-04-091-1/+1
|
* autonestbox and autobutcher store settings in the savegame. added command ↵Robert Heinrich2012-04-091-57/+369
| | | | list_export to autobutcher which prints the current settings and watchlist in a batch file format (to allow importing settings to other savegames). updated readme.rst
* zone: can now search for merchants (to allow pitting them). autobutcher: ↵Robert Heinrich2012-04-081-41/+67
| | | | ignore merchant animals, ignore war/hunting creatures, fixed autowatch, stop spamming the console if there is nothing to report. updated readme.rst
* Leave merchant stuff alone, even if they're certainly dwarfs.Kelly Martin2012-04-081-3/+16
|
* Stealing animals from traders is bad.Kelly Martin2012-04-071-0/+9
|
* Don't assign dead animals to pastures.Kelly Martin2012-04-071-0/+5
|
* Exclude grazing units from autonestbox to avoid starving da poor boidsKelly Martin2012-04-071-0/+1
|
* autobutcher: added keywords 'all' and 'new' for handling the whole ↵Robert Heinrich2012-04-071-93/+78
| | | | watchlist. added option 'autowatch' which will put all new tame animal races onto the watchlist using the current default settings
* fixed handling of units in cages who have an invalid map pos.Robert Heinrich2012-04-071-9/+15
|
* autobutcher: now accepts list of races in one commandRobert Heinrich2012-04-071-212/+187
|
* added autobutcher: watch lifestock, mark excess animals for slaughter. Not ↵Robert Heinrich2012-04-071-25/+659
| | | | quite done yet (doesn't save config etc) but already works fine.
* some cleanup in zone tool, added slaughter option, autonestbox is now an own ↵Robert Heinrich2012-04-051-104/+317
| | | | command which can be set to run every X ticks
* Merge branch 'master' of git://github.com/peterix/dfhackRobert Heinrich2012-04-051-3/+3
|\
| * Fix zone toolPetr Mrázek2012-04-051-3/+3
| |
* | zone tool: some cleanup, added 'slaughter' commandRobert Heinrich2012-04-051-72/+124
|/
* zone plugin: fixed bug when parsing optionsRobert Heinrich2012-04-041-14/+16
|
* zone tool: added lots of filters, added mass-assigning of nestboxesRobert Heinrich2012-04-041-81/+694
|
* minor fix in zone tool: ignore dead unitsRobert Heinrich2012-04-021-1/+12
|
* Added plugin 'zone'. Helps with assigning units to pens/pastures and pits.Robert Heinrich2012-04-021-0/+895