CleverRaven / Cataclysm-DDA

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

Activating folded vehicle on a "forbidden" tile deletes it #23961

Closed FulcrumA closed 5 years ago

FulcrumA commented 6 years ago

Game version: Currently 0.C-28092

Operating system: Windows 7

Tiles or curses: Tiles

Mods active: More Survival Tools, No Explosive Zombies, No Fungal Monsters, StatsThroughSkill, Vehicle Additions Pack, Tanks and Other Vehicles, Bionics Systems Mod, Boats, Icecoon's Arsenal, Filthy Clothing, Makeshift Items Mod, More Buildings, No Flaming Weapons, Disable Mutagens, Disable NPC Needs, No Antique Firearms, No Fictional Guns, NPC Traits

Expected behavior

Folded vehicle cannot be unfolded on a tile it's forbidden from being on or moved next to it if possible.

Actual behavior

Moving onto a tile where vehicles cannot be unfolded and activating folded vehicle informs the player on how unfolding was succesful but no vehicle spawns and the folded item disappears

Steps to reproduce the behavior

Create a vehicle composed of a few frames, move onto it, unfold a vehicle composed of a single frame.

AMurkin commented 6 years ago

For me it have placed over 'big' vehicle's tile and still interactive. e on that tile opens 'small' vehicle's menu.

FulcrumA commented 6 years ago

Hm, understood, it worked now. Would you be kind to also try to verify it with a vehicle with quarterpanels around the tile you activate the smaller vehicle on? I am certain the item disappeared as I dismantled everything around and picked up parts in search of the lost folding one, but maybe I didn't factor something else that led to the bug.

Guess I'll try to fiddle around more with things to reproduce it reliably.

AMurkin commented 6 years ago

I've managed to reproduce it. I think it's vehicles cache problem. Vehicle reappears after some actions near it position.