2022-07-25 07:08:59 -06:00
|
|
|
.. _liquids-here:
|
|
|
|
|
2022-07-10 00:01:46 -06:00
|
|
|
liquids
|
|
|
|
=======
|
sync tags spreadsheet to git
spreadsheet - https://docs.google.com/spreadsheets/d/1hiDlo8M_bB_1jE-5HRs2RrrA_VZ4cRu9VXaTctX_nwk/edit#gid=170388995
sync command - for fname in *rst; do name=$(echo $fname | sed 's/[.]rst//'); tagline=$(egrep ",$name," ~/Downloads/DFHack\ taxonomy\ -\ Tool\ tags.csv | ~/Downloads/csvtotags.sh); sed -ri "s;[*]*Tags:.*;$tagline;" $fname; done
contents of csvtotags.sh -
fgrep . | sed -r 's/^[^,]+,([^,]+),[^.]+[.]"?,/\1,/' | awk -F, '
function tag(idx, tagname) {
if ($idx == "TRUE") {
if (hastag == 1) {printf(", ")}
printf("`tag/%s`", tagname)
hastag = 1
}
}
{
printf("%s", "**Tags:** ")
hastag = 0
tag(2, "adventure")
tag(3, "fort")
tag(4, "legends")
tag(5, "embark")
tag(6, "system")
tag(7, "dev")
tag(8, "auto")
tag(9, "productivity")
tag(10, "inspection")
tag(11, "design")
tag(12, "quickfort")
tag(13, "interface")
tag(14, "fps")
tag(15, "fix")
tag(16, "mod")
tag(17, "armok")
tag(18, "animals")
tag(19, "buildings")
tag(20, "items")
tag(21, "jobs")
tag(22, "map")
tag(23, "labors")
tag(24, "units")
tag(25, "stockpiles")
tag(26, "trees")
printf("\n")
}
'
2022-08-05 18:55:33 -06:00
|
|
|
**Tags:** `tag/adventure`, `tag/fort`, `tag/armok`, `tag/map`
|
2022-07-27 18:14:40 -06:00
|
|
|
:dfhack-keybind:`liquids`
|
|
|
|
:dfhack-keybind:`liquids-here`
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-27 18:14:40 -06:00
|
|
|
Place magma, water or obsidian. See `gui/liquids` for an in-game interface for
|
|
|
|
this functionality.
|
|
|
|
|
|
|
|
Also, if you only want to add or remove water or magma from a single tile, the
|
|
|
|
`source` script may be easier to use.
|
|
|
|
|
|
|
|
Usage:
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-27 18:14:40 -06:00
|
|
|
``liquids``
|
|
|
|
Start the interactive terminal settings interpreter. This command must be
|
|
|
|
called from the DFHack terminal and not from any in-game interface.
|
|
|
|
``liquids-here``
|
|
|
|
Run the liquid spawner with the current/last settings made in ``liquids``
|
|
|
|
(if no settings in ``liquids`` were made, then it paints a point of 7/7
|
|
|
|
magma by default). This command is intended to be used as keybinding, and it
|
|
|
|
requires an active in-game cursor.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-27 18:14:40 -06:00
|
|
|
.. warning::
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-27 18:14:40 -06:00
|
|
|
Spawning and deleting liquids can mess up pathing data and temperatures
|
|
|
|
(creating heat traps). You've been warned.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-27 18:14:40 -06:00
|
|
|
Interactive interpreter
|
|
|
|
-----------------------
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-27 18:14:40 -06:00
|
|
|
The interpreter replaces the normal dfhack command line and can't be used from a
|
|
|
|
hotkey. Settings will be remembered as long as dfhack runs. It is intended for
|
|
|
|
use in combination with the command ``liquids-here`` (which *can* be bound to a
|
|
|
|
hotkey).
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-27 18:14:40 -06:00
|
|
|
You can enter the following commands at the prompt.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
|
|
|
Misc commands:
|
|
|
|
|
|
|
|
:q: quit
|
|
|
|
:help, ?: print this list of commands
|
|
|
|
:<empty line>: put liquid
|
|
|
|
|
|
|
|
Modes:
|
|
|
|
|
|
|
|
:m: switch to magma
|
|
|
|
:w: switch to water
|
|
|
|
:o: make obsidian wall instead
|
|
|
|
:of: make obsidian floors
|
|
|
|
:rs: make a river source
|
|
|
|
:f: flow bits only
|
|
|
|
:wclean: remove salt and stagnant flags from tiles
|
|
|
|
|
|
|
|
Set-Modes and flow properties (only for magma/water):
|
|
|
|
|
|
|
|
:s+: only add mode
|
|
|
|
:s.: set mode
|
|
|
|
:s-: only remove mode
|
|
|
|
:f+: make the spawned liquid flow
|
|
|
|
:f.: don't change flow state (read state in flow mode)
|
|
|
|
:f-: make the spawned liquid static
|
|
|
|
|
|
|
|
Permaflow (only for water):
|
|
|
|
|
|
|
|
:pf.: don't change permaflow state
|
|
|
|
:pf-: make the spawned liquid static
|
|
|
|
:pf[NS][EW]: make the spawned liquid permanently flow
|
|
|
|
:0-7: set liquid amount
|
|
|
|
|
|
|
|
Brush size and shape:
|
|
|
|
|
|
|
|
:p, point: Single tile
|
|
|
|
:r, range: Block with cursor at bottom north-west (any place, any size)
|
|
|
|
:block: DF map block with cursor in it (regular spaced 16x16x1 blocks)
|
|
|
|
:column: Column from cursor, up through free space
|
|
|
|
:flood: Flood-fill water tiles from cursor (only makes sense with wclean)
|