Skip to content

Commit

Permalink
Merge pull request #1066 from myk002/myk_cleanowned_nodump
Browse files Browse the repository at this point in the history
[gui/control-panel] add option for cleanowned nodump
  • Loading branch information
myk002 authored Apr 2, 2024
2 parents 9a8062a + 328a870 commit f58e604
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Template for new versions:

## Misc Improvements
- `gui/reveal`: show aquifers even when not in mining mode
- `gui/control-panel`: add alternate "nodump" version for `cleanowned` that does not cause citizens to toss their old clothes in the dump. this is useful for players who would rather sell old clothes than incinerate them

## Removed
- `drain-aquifer`: replaced by ``aquifer drain --all``; an alias now exists so ``drain-aquifer`` will automatically run the new command
Expand Down
5 changes: 4 additions & 1 deletion internal/control-panel/registry.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ COMMANDS_BY_IDX = {
{command='buildingplan set logs false', group='automation', mode='run',
desc='Enable if you usually don\'t want to use logs for construction.'},
{command='cleanowned', group='automation', mode='repeat',
desc='Encourage dwarves to drop tattered clothing and grab new ones.',
desc='Encourage dwarves to discard tattered clothing at the dump when there is new available clothing.',
params={'--time', '1', '--timeUnits', 'months', '--command', '[', 'cleanowned', 'X', ']'}},
{command='cleanowned nodump', group='automation', mode='repeat',
desc='Encourage dwarves to drop tattered clothing on the floor when there is new available clothing.',
params={'--time', '1', '--timeUnits', 'months', '--command', '[', 'cleanowned', 'X', 'nodump', ']'}},
{command='gui/settings-manager load-standing-orders', group='automation', mode='run',
desc='Go to the Standing Orders tab in the Labor screen to save your current settings.'},
{command='gui/settings-manager load-work-details', group='automation', mode='run',
Expand Down

0 comments on commit f58e604

Please sign in to comment.