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

RC car with EMP grenade onboard vanishes when save file loaded. #46852

Closed
PaulBlay opened this issue Jan 18, 2021 · 2 comments
Closed

RC car with EMP grenade onboard vanishes when save file loaded. #46852

PaulBlay opened this issue Jan 18, 2021 · 2 comments
Labels
<Bug> This needs to be fixed

Comments

@PaulBlay
Copy link

PaulBlay commented Jan 18, 2021

Describe the bug

I had a RC car with an EMP grenade installed in my inventory. On loading I get an error message and the RC car (and EMP grenade) is gone.

DEBUG : error: item radio_car cannot fit into pocket while loading: pocket is holding too much weight

FUNCTION : void item_contents::combine(const item_contents&, bool)
FILE : src/item_contents.cpp
LINE : 335

Steps To Reproduce

  1. Load save file (see end of report)
  2. Observe error message.
  3. Check inventory - no RC car.

Additional steps to confirm repeatability

  1. spawn in new RC car, ultra-light battery, EMP grenade, radio activation mod
  2. (r)eload RC car with battery
  3. attach radio activation mod to EMP grenade
  4. (a)ctivate RC car and attach bomb
  5. Save game and Quit
  6. Load game
  7. Observe error message
  8. Check inventory - no RC car.

Expected behavior

RC car to not vanish.

Screenshots

Versions and configuration

  • OS: Windows x64 8.1
  • Game Version: 0.E-9000-g8f6b461-dirty [64-bit]
  • Graphics Version: Tiles
  • Game Language: English [en]
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Bionic Professions [package_bionic_professions],
    No Fungal Monsters [No_Fungi],
    Stats Through Skills [StatsThroughSkills],
    SpeedyDex [speedydex],
    Stats Through Kills [stats_through_kills]
    ]

Additional context

Little Rapids.zip

I suspect that the mass of the stuff when installed / put together is greater than the mass when they are separate items.
Nope. That doesn't seem to be it.

@PaulBlay PaulBlay changed the title RC car (on) with EMP grenade onboard vanishes when save file loaded. RC car with EMP grenade onboard vanishes when save file loaded. Jan 18, 2021
@PaulBlay
Copy link
Author

Checking mass conservation.

Apart

  • ultra-light battery 0.01 kg
  • radio activation mod 0.14 kg
  • EMP grenade 0.40 kg
  • RC car 2.34 kg

Together (1)

  • EMP grenade with radio activation mod 0.40 kg
  • rc car with battery 2.35 kg

Together (2)

  • rc car with battery and EMP grenade attached 2.75 kg

@Night-Pryanik
Copy link
Contributor

Can't confirm on 0.F-12701.

@Night-Pryanik Night-Pryanik closed this as not planned Won't fix, can't repro, duplicate, stale Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bug> This needs to be fixed
Projects
None yet
Development

No branches or pull requests

3 participants