dfhack/docs/plugins/rename.rst

34 lines
1.0 KiB
ReStructuredText

rename
======
.. dfhack-tool::
:summary: Easily rename things.
2022-08-12 00:34:37 -06:00
:tags: adventure fort productivity buildings stockpiles units
Use `gui/rename` for an in-game interface.
2022-08-17 23:42:02 -06:00
Usage
-----
2022-07-29 17:08:00 -06:00
``rename squad <ordinal> "<name>"``
Rename the indicated squad. The ordinal is the number that corresponds to
the list of squads in the squads menu (:kbd:`s`). The first squad is ordinal
``1``.
``rename hotkey <ordinal> "<name>"``
Rename the indicated hotkey. The ordinal the the number that corresponds to
the list of hotkeys in the hotkeys menu (:kbd:`H`). The first hotkey is
ordinal ``1``.
``rename unit "<name>"``
Give the selected unit the given nickname.
``rename unit-profession "<name>"``
Give the selected unit the given profession name.
``rename building "<name>"``
Set a custom name to the selected building. The building must be a
stockpile, workshop, furnace, trap, siege engine, or activity zone.
Example
-------
``rename squad 1 "The Whiz Bonkers"``
Rename the first squad to The Whiz Bonkers.