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

Open doors can be constructed over

Open Procyonae opened this issue 2 years ago • 2 comments

Describe the bug

You can currently build window frames, door frames, floors, walls and stairs etc in open doors which makes the original door and it's frame effectively disappear. You can't build any of these in empty door frames. image For multi tile gates/doors this unsurprisingly cuts the gate in two when closed image

This is caused by the FLAT flag which is what construction's check_empty checks against, removing the flag isn't a clean fix though bc that's also used to determine what you can drag furniture into among other things

Attach save file

N/A

Steps to reproduce

  1. Find a door and open it
  2. Construct a wooden staircase in the same tile
  3. Behold as your character obliges

Expected behavior

Open doors shouldn't be able to be constructed over

Screenshots

No response

Versions and configuration

  • OS: Windows 10
  • Game Version: 0.G-923-g6d311a79b1
  • Graphics Version: Tiles
  • In-game Language: English
  • Mods Loaded: Default

Additional context

No response

Procyonae avatar Mar 31 '23 00:03 Procyonae

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

github-actions[bot] avatar Apr 30 '23 00:04 github-actions[bot]

/confirm

Milopetilo avatar Nov 29 '24 22:11 Milopetilo