-
Notifications
You must be signed in to change notification settings - Fork 205
Combine stacks of coins, make combine work in adventure mode #1227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
20cb6d8
3e0302f
817df70
5323a65
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ combine | |
|
||
.. dfhack-tool:: | ||
:summary: Combine items that can be stacked together. | ||
:tags: fort productivity items plants stockpiles | ||
:tags: adventure fort productivity items plants stockpiles | ||
|
||
This handy tool "defragments" your items without giving your fort the undue | ||
advantage of unreasonably large stacks. Within each stockpile, similar items | ||
|
@@ -31,6 +31,8 @@ Examples | |
Merge ``meat`` and ``plant`` type stacks in all stockpiles. | ||
``combine here`` | ||
Merge stacks in the selected stockpile. | ||
``combine item`` | ||
Merge stacks in the selected item. | ||
|
||
Commands | ||
-------- | ||
|
@@ -39,6 +41,8 @@ Commands | |
Search all stockpiles. | ||
``here`` | ||
Search the currently selected stockpile. | ||
``item`` | ||
Search the currently selected item. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. by "item" do you mean "container"? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. any item that could contain anything, yeah There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In that case, I would suggest naming the option |
||
|
||
Options | ||
------- | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why can't we send LEAVESCREEN here? If we're in a "details" screen, we can send LEAVESCREEN twice, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do we do that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gui.simulateInput(dfhack.gui.getDFViewscreen(), 'LEAVESCREEN')
and then if you're not back at the default adventurer view (use
dfhack.gui.matchFocusString
), then send it again