Page 1 of 1

(CLOSED) BUGFIX - False wall iconstate and floor

Posted: Fri Mar 11, 2022 10:41 pm
by ReginaldHJ
Hi hello!

False walls (walls what slide when you click on them a bunch of times, formed by using a crowbar on a girder to dislodge it and then otherwise adding metal sheets to complete as normal) do not spawn in with the correct perspective wall. It appears as the old flat regular wall, with no lighting effects. This means they stick out way bad.

There are also some issues with the underlying floor turf showing only black.

Furthermore, there might be some constraints that would be good to apply, for when and how it opens.

Off the top of my head: Check cardinal directions for walls. if there's walls to the east and west, slide horizontally if so. Check if there's walls to the north and south and slide vertically if so.
Handle 1 wall by sliding into the single wall. Handle 3 walls by sliding into the middle wall. Handle 4 by doing nothing.
Update behavior and sprite any time walls are constructed or deconstructed, do not update when walls are destroyed by bombs or adminbusen.

I have not checked if this has been fixed on Goonstation since forking and maybe I'll do that tomorrow.

Re: BUGFIX - False wall iconstate and floor

Posted: Thu Mar 31, 2022 9:34 am
by ReginaldHJ
hey i'm a doofus and forgot to set my map's wall state config thing so it's not actually a proble,b