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

Fix gui/autodump dumping into walls, etc. #1242

Merged
merged 13 commits into from
Jul 31, 2024
Merged

Fix gui/autodump dumping into walls, etc. #1242

merged 13 commits into from
Jul 31, 2024

Conversation

Bumber64
Copy link
Contributor

@Bumber64 Bumber64 commented Jul 28, 2024

Prevent gui/autodump from attempting to dump into or select within unallocated tiles (e.g., below HFS), which causes a script error. Also prevent dumping into hidden tiles.

Prevent dumping into walls. Set proper projectile flags so falling items don't get destroyed on impact.

gui/autodump.lua Outdated Show resolved Hide resolved
gui/autodump.lua Outdated Show resolved Hide resolved
gui/autodump.lua Outdated Show resolved Hide resolved
gui/autodump.lua Outdated Show resolved Hide resolved
@myk002
Copy link
Member

myk002 commented Jul 28, 2024

also needs a doc update defining what an acceptable target tile is

@Bumber64 Bumber64 closed this Jul 29, 2024
@Bumber64 Bumber64 deleted the patch-1 branch July 29, 2024 21:50
@Bumber64 Bumber64 restored the patch-1 branch July 29, 2024 21:51
@Bumber64
Copy link
Contributor Author

Renaming branches closes PRs, apparently.

@Bumber64 Bumber64 reopened this Jul 29, 2024
@Bumber64
Copy link
Contributor Author

Looks like we need to be setting some projectile flags. The falling items are sometimes getting destroyed regardless.

changelog.txt Outdated Show resolved Hide resolved
gui/autodump.lua Outdated Show resolved Hide resolved
gui/autodump.lua Show resolved Hide resolved
@myk002 myk002 merged commit c9523f7 into DFHack:master Jul 31, 2024
10 checks passed
@Bumber64 Bumber64 deleted the patch-1 branch July 31, 2024 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants