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

Portable containers revert to previous content when dropped. #89

Closed
KolnIV opened this issue Sep 19, 2015 · 3 comments
Closed

Portable containers revert to previous content when dropped. #89

KolnIV opened this issue Sep 19, 2015 · 3 comments

Comments

@KolnIV
Copy link

KolnIV commented Sep 19, 2015

A container that was on the ground and now is carried by a kerbal will revert to the content that it had on the ground if it is dropped by the kerbal.

Steps to reproduce:

-Put a container on the ground.
-Load it on a kerbal.
-Change the content of the container.
-Drop the container by right-clicking on it in the kerbal's inventory.
-Now the content is the same as it was before loading it on the kerbal.

Parts added to the container disappear, and part that were taken from it now appear in it again and staying wherever you moved them. I've lost parts with this and after finding how to do it I've created them again with it.

It has happened to me with stock parts (1x6 solar panel, docking port jr, cyllindrical monopropellant tank). I haven't tried with other modded parts, but I don't think it has anything to do with other mods. Here's my list of mods in any case:

-Active Texture Management
-Contracts Window
-Distant Object Enhancement
-Engine Light
-EVE
-Hull Camera
-KAS
-Kerbal Engineer
-KJR
-KIS
-AVC
-Docking port alignment indicator
-RCS Build Aid
-RealChute
-Science alert
-Ship Manifest
-Stage Recovery
-TAC fuel balancer
-TAC life support
-Texture Replacer
-Alarm Clock
-Universal Storage
-WASD editor camera

@ihsoft
Copy link
Owner

ihsoft commented Feb 19, 2016

Yes, it is reproducible.

One of possible solutions (and the easiest one) would be disallowing access to the container being carried. Updating serialized state in the kerbal's container may be tricky.

@ihsoft ihsoft added the bug label Feb 19, 2016
@ihsoft ihsoft closed this as completed in 762a0b9 Feb 22, 2016
@ihsoft
Copy link
Owner

ihsoft commented Feb 22, 2016

It's fixed as a bug: access to the carried inventories is restricted to prevent items loss.

I keep this issue opened as enchancement. It should be invetigated if it's feasible to try mangling with the persistent state of an inventory.

@ihsoft ihsoft reopened this Feb 22, 2016
@ihsoft ihsoft added enhancement and removed bug labels Feb 22, 2016
@ihsoft ihsoft closed this as completed Sep 15, 2017
@ihsoft ihsoft reopened this May 12, 2019
@ihsoft ihsoft closed this as completed in f315fbd May 17, 2019
@ihsoft
Copy link
Owner

ihsoft commented May 17, 2019

Now the carriable containers can be used to store or pull out the items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants