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

AIM liquid transfer fix #45298

Merged
merged 2 commits into from
Nov 8, 2020
Merged

Conversation

RoyBerube
Copy link
Contributor

@RoyBerube RoyBerube commented Nov 8, 2020

Summary

SUMMARY: Bugfixes "AIM liquid transfer endless liquid fix"

Purpose of change

Fixes #45287

Describe the solution

Deducts the amount of content used from the source container and unseals it.

Describe alternatives you've considered

Wait for PR #45243 as it will overwrite all this code eventually anyway.

Testing

Full test program ran with no errors.

Transfer of liquids using AIM. Sealed water bottles, 60L barrel, 2.5L canteen, condom, and gallon jug all tested between each other.

Additional context

Issue found while testing: Encumbrance is not updated when source of water is in a non-rigid container in inventory. This is after flagging the container, pocket, and avatar to update encumbrance.

This also happens when unloading from a non-rigid container in inventory - not using the AIM screen. Problem is likely related to Issue #42983.

@anothersimulacrum anothersimulacrum added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` labels Nov 8, 2020
@RoyBerube RoyBerube changed the title AIM liquid transfer fix [WIP] AIM liquid transfer fix Nov 8, 2020
@RoyBerube RoyBerube changed the title [WIP] AIM liquid transfer fix AIM liquid transfer fix Nov 8, 2020
@ZhilkinSerg ZhilkinSerg merged commit 09e00a8 into CleverRaven:master Nov 8, 2020
@RoyBerube RoyBerube deleted the AIM_liquid_dupe branch November 8, 2020 23:11
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) [C++] Changes (can be) made in C++. Previously named `Code`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Advanced Inventory Management Container Menu Duplicates Instead of Moving Liquids
3 participants