Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

Interrupting cutting logs into planks makes the log vanish

Open BarndoBoi opened this issue 1 year ago • 2 comments

Describe the bug

If you stop during the action to chop a log into planks the log will vanish from the world and leave nothing behind. I was at least expecting the log to stay behind and let me restart the task from scratch, but the blob consumed it instead. :c

Attach save file

Debug-trimmed.tar.gz

Steps to reproduce

  1. Grab any item that will let you use the 'Chop Logs into Planks' action, e.g. Bow Saw, bronze axe, etc.
  2. Start the action on a log and stop at any point before completion. This occurs whether you spot a creature, press 5 to manual stop, or anything else.
  3. Watch as the log simply vanishes

Expected behavior

It's expected that the log should either remain there and revert all your progress, or should become a resumable task (it's marked as can_resume: false which does seem silly to me since CHOP_TREE and CHOP_LOGS seem like they can be resumed although I can't do that in my save either.)

Screenshots

No response

Versions and configuration

  • OS: Windows
    • OS Version: 10.0.22631.3593 (23H2)
  • Game Version: de4ec39 [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [ Dark Days Ahead [dda], Disable NPC Needs [no_npc_food], Portal Storms Ignore NPCs [personal_portal_storms], Slowdown Fungal Growth [no_fungal_growth] ]

Additional context

No response

BarndoBoi avatar May 24 '24 19:05 BarndoBoi

Resumption of activities is something that's being introduced gradually, so that inconsistency is probably explained by this being a task that hasn't yet been upgraded to support it.

I failed to repeat your issue with your save. I tried both trunks to the NE and the stump to the S, and none of them disappeared when the task was cancelled. I performed the job both with a 'a'pply action on the saw and by setting up a tree chopping zone and order the PC to perform the tree chopping task ('O' menu).

  • OS: Windows
    • OS Version: 10.0.19045.4412 (22H2)
  • Game Version: 0.G-9804-gde4ec39f57-dirty [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [ Dark Days Ahead [dda], Disable NPC Needs [no_npc_food], Portal Storms Ignore NPCs [personal_portal_storms], Slowdown Fungal Growth [no_fungal_growth] ] 'Dirty' because the code has a hack disabling add_roofs in it. That hack should have no effect on this task.

PatrikLundell avatar May 25 '24 06:05 PatrikLundell

/confirm @PatrikLundell This bug isn't about chopping down trees, but instead chopping logs into planks.

  • OS: Windows
    • OS Version: 10.0.19045.4412 (22H2)
  • Game Version: cdda-experimental-2024-05-25-0134 22d851b [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [ Dark Days Ahead [dda], Disable NPC Needs [no_npc_food], Portal Storms Ignore NPCs [personal_portal_storms], Slowdown Fungal Growth [no_fungal_growth] ]

TealcOneill avatar May 25 '24 09:05 TealcOneill