-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Unload containers into tile key #52201
Conversation
It's not actually an Cataclysm-DDA/src/activity_actor.cpp Lines 3422 to 3429 in c17298f
It's probably enough to add another case for items not on character to make it work with that. Alternatively use the unload activity. You would need to adjust the loop here to allow dropping directly on a tile, with the added benefit that you can also move your special handling code from the menu to there so you only have to pass the selected containers, simplifying the menu code. Cataclysm-DDA/src/activity_actor.cpp Lines 2837 to 2847 in c17298f
|
Does this solve the problem of accidently pouring liquids into a bathtub when examining? |
No, as this feature does not drop liquids. Containers with only liquid in them won't even show up. |
I saw some people complaining about the key being removed on reddit too. |
Summary
Interface "Unload container in tile keybind"
Purpose of change
Drop contents of a container inside the player inventory into an adjacent tile.
Describe the solution
Does not recursively drop contents.
Due to
item_location
limitations, currently it can only drop items inside the players inventory ( wielded or wearing ).Add a new menu for dropping items into a tile.
Describe alternatives you've considered
None
Testing
--
--
--
Additional context
Repurposes the
d
key since it's essentiallyD
+5
.I've also changed the
insert
menu to get items in a1
tile radius instead of only tiles the player is on top of of.unload_container.mp4