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

Implement RUMMAGE_POCKET activity #52975

Closed
wants to merge 11 commits into from
Closed

Implement RUMMAGE_POCKET activity #52975

wants to merge 11 commits into from

Conversation

NotGura
Copy link

@NotGura NotGura commented Nov 23, 2021

Summary

Features "Implement RUMMAGE_POCKET activity"

Purpose of change

This was requested in #40163 . This implementation covers activating, droping, Eating, Reading, Wearing and wielding actions, both standalone and inside the game::item_inventory_menu.

Describe the solution

This implementation expands on the work of @rsulli55 in PR #40413, adding support for the activate, drop and Eat actions.

Describe alternatives you've considered

I didn't.

Testing

I've tested each action in both the standalone hotkey and in the game::item_inventory_menu hotkeys. I've tested also for items inside multiple containers. As expected, everything worked.
One thing that I noticed during testing is that after finishing the action, the moves counter in game shows 0 moves, but the rummage action did use the moves. I don't know how to remedy this though.

Additional context

Pinging @actual-nh because he asked me to do this a long time ago.
Other actions could be added too, like reloading or mending, shouldn't be too difficult.

@wapcaplet wapcaplet added <Enhancement / Feature> New features, or enhancements on existing Items: Containers Things that hold other things [C++] Changes (can be) made in C++. Previously named `Code` labels Nov 24, 2021
@github-actions github-actions bot added astyled astyled PR, label is assigned by github actions json-styled JSON lint passed, label assigned by github actions labels Nov 30, 2021
@kevingranade
Copy link
Member

We do want the feature, but before committing to this I want to spend a little time seeing if we can use action queuing instead of having the rummage action be responsible for kicking off the target action.

Ideally what happens is you trigger the main action, and then trigger the rummage action, which pushes the main action onto a queue. Once the rummage action is done the main action triggers automatically.

@stale
Copy link

stale bot commented Jan 8, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not 'bump' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

@stale stale bot added the stale Closed for lack of activity, but still valid. label Jan 8, 2022
@stale
Copy link

stale bot commented Mar 2, 2022

This issue has been automatically closed due to lack of activity. This does not mean that we do not value the issue. Feel free to request that it be re-opened if you are going to actively work on it

@stale stale bot closed this Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions [C++] Changes (can be) made in C++. Previously named `Code` <Enhancement / Feature> New features, or enhancements on existing Items: Containers Things that hold other things json-styled JSON lint passed, label assigned by github actions stale Closed for lack of activity, but still valid.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants