Cataclysm-dda: Loading a save opens all canned items

Created on 8 Apr 2020  路  6Comments  路  Source: CleverRaven/Cataclysm-DDA

Describe the bug

Loading a world in the latest experimental (Build 10499) causes all canned goods to become opened.

Steps To Reproduce

Start a fresh world, find canned goods, then save and reload. The goods will now be opened and start spoiling.

Expected behavior

Loading a save will keep all canned goods safely unopened.

Versions and configuration

  • OS: Windows

    • OS Version: 10.0 1903

  • Game Version: 0.E-414-ge0bf561 [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food]
    ]

Most helpful comment

Nice QoL

All 6 comments

Nice QoL

I can confirm as of build 10501, my sealed glass jars were also all open.

I can confirm as well, ported my save to the latest experimental and all my canned foods, sealed glass jars were opened and spoiled. Spilling some food such as dog food or canned ravioli causes the game to crash too. Not quite sure what to do with these spoiled canned foods.

Also confirming for 10501

This is definitely happening when loading a save, not when serializing the world.

Spawned a couple cans of chicken, left one on the ground and one in the character's inventory, then saved.

Checking the JSON shows can_medium in both the .sav and .map files prior to loading, then can_medium_unsealed after loading the save and saving a second time.

thanks @cadend that really helped me narrow it down quickly!

Was this page helpful?
0 / 5 - 0 ratings