dfhack fork
 
 
 
 
 
 
Go to file
Myk Taylor 22ac163d55 improve UX between automaterial and buildingplan
solves the confusing behavior when both automaterial and buildingplan
are enabled for constructions. the two plugins now communicate with each
other over the Lua layer to negotiate consistent behavior.

if neither plugin is enabled, the standard DF UI acts as normal

if automaterial is enabled but buildingplan is not, then automaterial
behavior is unchanged.

if buildingplan is enabled and automaterial is not then behavior is
the same as other buildings with buildingplan (no material selection
screen, screen stays on building placement screen after placement).
this commit fixes a bug, though, where buildingplan would only lay
down a single tile of contruction instead of a solid block when a
block is requested.

if both plugins are enabled but buildingplan is not enabled for the
building type then automaterial is unchanged from previous behavior,
execpt for an additional header showing the separation between
automaterial hotkeys and buildingplan hotkeys.

finally, if both plugins are enabled and buildingplan is enabled for the
building type then buildingplan behavior prevails, but the box select and
hollow designations features of automaterial are still usable and
useful. the 'Auto Mat-select', 'Reselect Type', and "Open Placement"
automaterial hotkeys are hidden in the UI and ignored in the feed. This
is because buildingplan takes over material selection, so 'Auto
Mat-select' doesn't make sense. Buildingplan also already stays on the
placement screen after placement, so 'Reselect Type' is not necessary.
And all buildingplan-placed buildings have relaxed placement
restrictions (e.g. they can be built in mid-air) so 'Open Placement' is
also not necessary. The missing options are replaced with blank lines so
the vertical alignment of all other options stays constant.

we also remove a few extra lua_pop() calls that are made superfluous by
the StackUnwinder.
2020-10-29 11:00:49 -07:00
.github Reduce build matrix entries 2020-10-26 01:23:24 -04:00
CMake Clean up *.cmake style 2019-07-20 16:17:44 -04:00
build Make the win64 build/install batch files work with non-C system drives. 2018-05-14 14:15:38 -05:00
data fix typos in quantum alias 2020-10-23 20:26:37 -07:00
depends Update dependencies 2020-09-21 12:27:27 -04:00
dfhack-config migrate qf's buildings_use_blocks to buildingplan 2020-10-22 21:37:49 -07:00
docs improve UX between automaterial and buildingplan 2020-10-29 11:00:49 -07:00
library Merge remote-tracking branch 'myk002/quickfort_building_types' into develop 2020-10-27 23:14:38 -04:00
package Add --sizecheck option to Linux launcher script, update docs 2020-08-08 00:41:04 -04:00
plugins improve UX between automaterial and buildingplan 2020-10-29 11:00:49 -07:00
scripts@915f880558 Update scripts 2020-10-29 00:03:22 -04:00
test Expose to_search_normalized to Lua, add test, and use in ListColumn (most useful for the `stocks` plugin) 2020-10-10 01:40:00 -04:00
travis exempt scripts under 'internal' from docstring req 2020-07-24 23:40:27 -07:00
.gitignore quickfort files and docs 2020-07-18 08:54:24 -07:00
.gitmodules Fix some CMake warnings and extraneous output 2020-09-19 01:17:25 -04:00
.ycm_extra_conf.py Use jsoncpp 1.8.4 as a submodule 2018-06-14 21:20:46 +03:00
CMakeLists.txt Update to 0.47.04-r3 (authors, changelog, and submodules) 2020-10-10 17:31:30 -04:00
CMakeSettings.json Get intellisense and code analysis working in CMakeSettings.json. 2018-07-23 16:14:22 -05:00
LICENSE.rst License: sort, fix caps 2018-07-21 00:03:45 -04:00
README.html Fix html redirection to the docs 2016-04-11 09:30:05 +10:00
README.md Restrict status badge to push events only 2020-04-15 01:15:09 -04:00
conf.py Update some docs links to use HTTPS 2020-10-09 19:17:59 -04:00
dfhack.init-example Activate autodump in default config 2020-04-01 15:09:51 +01:00
index.rst Add user guides section to main toctree 2020-10-01 22:17:53 -04:00
onLoad.init-example Remove warn-stuck-trees from onLoad.init-example 2017-12-23 20:49:24 -05:00

README.md

DFHack Readme

Build Status Documentation Status License

DFHack is a Dwarf Fortress memory access library, distributed with scripts and plugins implementing a wide variety of useful functions and tools.

The full documentation is available online here, from the README.html page in the DFHack distribution, or as raw text in the ./docs folder. If you're an end-user, modder, or interested in contributing to DFHack - go read those docs.

If that's unclear or you need more help, try the Bay12 forums thread or the #dfhack IRC channel on freenode.