CHOMPStation2 / CHOMPStation2

An update of Space Station 13 CHOMPStation using code derived from YawnWider, which is derived from VOREStation, which is derived from Polaris
Other
35 stars 171 forks source link

Reinforcing doors doesn't work. #8635

Open crabcube opened 2 months ago

crabcube commented 2 months ago

Brief description of the bug

You can slot 2 sheets of plasteel into an airlock and weld to reinforce it. Though the plasteel is not listed when slotted into the door.

What you expected to happen

Plasteel reinforcement would increase the resiliance of the doors.

What actually happened

Reinforced and non reinforced door both break in exactly 30 hits from a fire extinguisher.

Steps to reproduce

Code Revision

-Server revision: Unknown TGS version: 6.5.0 DMAPI version: 5.9.0

Anything else you may wish to add:

image

Kashargul commented 1 month ago

https://github.com/CHOMPStation2/CHOMPStation2/blob/fd7edf8df19ddf2659d6fd236813acc368b1639b/code/game/machinery/doors/door_vr.dm#L39-L78

Also... stack is called after it had been deleted... stack.use will delete it if it reaches 0. So the stack.singular_name will also return null. Instead, it should have that name as a var higher up before doing the math.

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 150 days.