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

allow consume menu to look in containers #40285

Merged
merged 1 commit into from
May 7, 2020

Conversation

KorGgenT
Copy link
Member

@KorGgenT KorGgenT commented May 7, 2020

Summary

SUMMARY: Bugfixes "allow consume menu to look in containers"

Purpose of change

re-implement previous behavior of being able to eat anything nearby, even if it's in a container.
Fixes #40272

Describe the solution

So i actually found a bug while fixing this, that the inventory selector was constructing the item locations incorrectly. So i fixed add_contained_items while i'm at it, and noticed that add_items_from_vehicle and add_items_from_map do not add contained items.

Testing

dropped a backpack and opened the consume menu. screenshot to follow

@KorGgenT KorGgenT added Info / User Interface Game - player communication, menus, etc. <Bugfix> This is a fix for a bug (or closes open issue) labels May 7, 2020
@ZhilkinSerg ZhilkinSerg merged commit 4ab8e06 into CleverRaven:master May 7, 2020
@KorGgenT KorGgenT deleted the fix-consume-menu-again branch August 13, 2020 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) Info / User Interface Game - player communication, menus, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to drink liquids from nearby containers
2 participants