Skip to content
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

Give position.rst the "dfhack" tag; changes relating to active units #1308

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Bumber64
Copy link
Contributor

@Bumber64 Bumber64 commented Sep 21, 2024

Give position tool the dfhack tag since it can be used to copy coords for other tools. (Need to update spreadsheet doc.)

units.getUnitsInBox will already check for active units after DFHack/dfhack#4959 merges.

Left a note in the unavailable modtools/reaction-trigger.lua that inactive unit positions are meaningless. (Should probably ignore range for these units and have some kind of filter?) If it's meant to work on corpses, you'd need to operate on items.

Fixed a stray period in exterminate.rst.

getUnitsInBox now only returns active units
Inactive units shouldn't use range if anybody updates this tool.
getUnitsInBox now returns active by default
Stray punctuation
@myk002
Copy link
Member

myk002 commented Sep 28, 2024

you might want to move the parts that depend on DFHack/dfhack#4959 to another PR. 4959 might spark research and debate and might not get merged any time soon

@@ -3,7 +3,7 @@ position

.. dfhack-tool::
:summary: Report cursor and mouse position, along with other info.
:tags: adventure fort inspection map
:tags: adventure dfhack fort inspection map
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Review In Progress
Development

Successfully merging this pull request may close these issues.

2 participants