cmss13-devs / cmss13-devs/cmss13

CLF van can drive through windows but can't drive back out again(Also can't run over wooden cades)

Open
#11,494 2 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
DM
Stars
170
Forks
940
Avg merge
5d 16h
Merged PRs (30d)
61

Description

### Testmerges

not due to testmerges, been a problem for a while now

### Round ID

_No response_

### Description of the bug

CLF van can break the glass in window frames and run over them, but it cant drive over window frame that have no glass in them, leading to the van easily getting itself trapped after running through the glass. They also can't run over wooden barricades like they used to, despite the fact they can literally demolish metal doors.

### What's the difference with what should have happened?

CLF van should be able to run over window frames and wooden barricades: As far as I can tell neither of those objects are listed in the code as items that can block the van. Dunno why it can't do it anymore:

if(istype(A, /turf/closed/wall) || \
istype(A, /obj/structure/barricade/sandbags) || \
istype(A, /obj/structure/barricade/metal) || \
istype(A, /obj/structure/barricade/deployable) || \
istype(A, /obj/structure/machinery/cryopod)) //Can no longer runover cryopods

return FALSE

### How do we reproduce this bug?

Just drive around the CLF van on LV.

### Issue Bingo

- [x] Issue could be reproduced at least once
- [x] Issue happened in a recent (less than 7 days ago) round
- [x] Couldn't find an existing issue about this (https://github.com/cmss13-devs/cmss13/issues)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.