summaryrefslogtreecommitdiff
path: root/plugins/advtools.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Extract the color enum from color_ostream to toplevel.Alexander Gavrilov2012-08-191-1/+1
|
* Rename units.other[0] to units.active.Alexander Gavrilov2012-04-211-2/+2
|
* More maps api refactoring and renaming.Alexander Gavrilov2012-04-111-1/+1
| | | | getBlockAbs is a very confusing name; getTileBlock is better.
* Pull a few utility functions into the core and publish to lua.Alexander Gavrilov2012-04-071-28/+5
|
* Track world and map changes separately for plugin_onstatechangePetr Mrázek2012-04-011-2/+2
|
* Tweaks!Petr Mrázek2012-03-291-2/+0
| | | | | Strip commands.clear() from all plugins Fix changeitem - a variable name has changed in item flags
* Make plugins accept explicit output stream references.Alexander Gavrilov2012-03-101-49/+49
| | | | | | | | This is an incompatible change to the plugin ABI. The Console is not thread-safe unless used indirectly via color_ostream_proxy, so everything should use their per-thread stream.
* Fix advtools metal-detectorAlexander Gavrilov2012-03-071-23/+30
| | | | | | Trader items are now inside tables, and thus not in the block item lists. Thus it is necessary to scan the global item vector and look up blocks by coords.
* sqrt() doesn't work on integersQuietust2012-03-031-1/+1
|
* Merge branch 'master' of git://github.com/peterix/dfhackQuietust2012-03-031-1/+1
|\
| * Get rid of Simple namespace, Gui module is now a namespace.Petr Mrázek2012-03-031-1/+1
| |
* | Support items in bags, and tweak the output format in metal-detector.Alexander Gavrilov2012-03-021-10/+93
| |
* | Don't put clothing held in hands into the first 3 columns of list-equipped.Alexander Gavrilov2012-03-021-0/+6
| | | | | | | | | | For some reason that stuff has INV_WEAPON and shows up in the report, so since it does, put it in the weapon column.
* | Add an advtool for detecting metal stuff in shops.Alexander Gavrilov2012-03-021-0/+97
| | | | | | | | Inspired by Q's advmode reveal. Obviously doesn't work in travel mode.
* | Fix advtools: player_id is an array index, not nemesis id.Alexander Gavrilov2012-02-291-3/+7
|/ | | | In most worlds they happen to be the same, but not always.
* Add advtools list-equipped to quickly check companion equipment.Alexander Gavrilov2012-02-281-3/+312
| | | | | Items are printed as a table, with columns for head, body, legs, and weapons/ammo/misc.
* Add a command for swapping body with another units in adventure mode.Alexander Gavrilov2012-02-251-0/+332
Based on dfusion code, with lots of safety checks added. Supports two swap modes: transient and permanent; the former does a minimal change and is intended for managing companion inventory. The permanent one performs all known actions necessary to turn it into the real adventurer. Note: the transient mode is a hack and may cause the game to crash if not reverted while within range of the real adventurer unit.