Skip to content

Commit e4cdfb4

Browse files
authored
Merge pull request #1500 from amade-w/store-owned
add new tool `store-owned`
2 parents 17a3354 + a05c2ca commit e4cdfb4

File tree

3 files changed

+450
-1
lines changed

3 files changed

+450
-1
lines changed

changelog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Template for new versions:
2929
## New Tools
3030
- `fix/archery-practice`: combine ammo items in units' quivers to fix 'Soldier (no item)' issue
3131
- `gui/adv-finder`: UI for tracking historical figures and artifacts in adventure mode
32+
- `store-owned`: task owned items to be stored in the owner's room furniture
3233

3334
## New Features
3435

@@ -49,7 +50,6 @@ Template for new versions:
4950
- `autotraining`: new tool to assign citizens to a military squad when they need Martial Training
5051
- `gui/autotraining`: configuration tool for autotraining
5152
- `entomb`: allow any unit that has a corpse or body parts to be assigned a tomb zone
52-
5353
- `husbandry`: Automatically milk and shear animals at nearby farmer's workshops
5454

5555
## New Features

docs/store-owned.rst

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
store-owned
2+
===========
3+
4+
.. dfhack-tool::
5+
:summary: Task units to store their owned items.
6+
:tags: fort items buildings
7+
8+
Task any owned item to be stored in an appropriate storage furniture in
9+
a room assigned to the item's owner.
10+
11+
Usage
12+
-----
13+
14+
``store-owned [<option>]``
15+
16+
Select an owned item and run the tool to task the owner to put the item
17+
into storage.
18+
19+
If the storage furniture is full, unreachable, or unavailable, the item
20+
will be dropped off on the floor of the owner's room. If the owner has
21+
no assigned room or is unable to access their room(s), the item will be
22+
stored in the dormitory if available. If the dormitory is unreachable or
23+
unavailable, the item will be dropped off at the trade depot instead.
24+
25+
This tool can be used to unburden a unit that has acquired too many
26+
trinkets, or simply as an alternative to ``cleanowned`` when cleaning
27+
up scattered owned items. It can also be used to force a unit to
28+
relinquish ownership of the selected item.
29+
30+
Options
31+
-------
32+
33+
``--dorm``
34+
Task the selected owned item for storage in an appropriate storage
35+
furniture, or on the floor, in any available dormitory zone.
36+
37+
``--depot``
38+
Task the selected owned item to be dropped off at the trade depot.
39+
40+
``--discard``
41+
Force the owner of the selected item to relinquish ownership of
42+
said item. The item will not be tasked for storage. If the item
43+
is in the owner's inventory, they will drop it on the ground.

0 commit comments

Comments
 (0)