CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.68k stars 4.19k forks source link

Unable to unload RC Car #55481

Closed Arokha closed 2 years ago

Arokha commented 2 years ago

Describe the bug

Unload does not work on the RC car. It does nothing. You can still reload it with nearby batteries, though, so it doesn't block use.

Steps to reproduce

  1. Have an RC car with an ultralight battery (the type it accepts).
  2. Attempt to Unload the RC car, menu closes, but checking inventory shows it's still got the battery.

Expected behavior

The battery is removed from the RC car.

Screenshots

No response

Versions and configuration

Additional context

McGill.zip Here's the save file. I'm standing on the RC car. Just hit Unload and pick the RC car. The mods are all stock mods so shouldn't have an issue loading.

haveric commented 2 years ago

Can confirm. Unloading a flashlight works perfectly fine, but unloading an RC car does nothing.

LeahLuong commented 2 years ago

I believe this issue is related to #54330. The RC car has multiple pockets & I think this is confusing the 'U'nload command in the same way. There may be other items like this: battery-using items w/ additional pockets.