# Split rail fence gate terrain blocking vehicles on dairy farm - stable 0.F

**URL:** <https://discourse.cataclysmdda.org/t/split-rail-fence-gate-terrain-blocking-vehicles-on-dairy-farm-stable-0-f/26903>\
**Category:** The Garage\
**Created:** [August 25, 2021, 6:47pm UTC](https://discourse.cataclysmdda.org/t/split-rail-fence-gate-terrain-blocking-vehicles-on-dairy-farm-stable-0-f/26903 "2021-08-25T18:47:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soymilk](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@Soymilk](https://discourse.cataclysmdda.org/u/Soymilk)\
**Post date:** [August 25, 2021, 6:47pm UTC](https://discourse.cataclysmdda.org/t/split-rail-fence-gate-terrain-blocking-vehicles-on-dairy-farm-stable-0-f/26903/1 "2021-08-25T18:47:00Z")

</div>

From terrain-fence-gates json:  
“id”: “t\_splitrail\_fencegate\_o”,  
“description”: “A commercial quality gate made of wood with a latch system. The gate is wide open, allowing anything to travel through.”,  
“flags”: [“TRANSPARENT”, “FLAMMABLE\_ASH”, “FLAT”, “ROAD”, “BURROWABLE”],

Seeing the description, and the automatically spawned cube van and quad inside a completely fenced-in dairy farm, I think vehicle collision with this gate terrain is unintended. Is it possible to modify this via json to allow vehicles, such as a shopping cart, to pass through? Must I drive through this as well? 😏

---

<div class="post-metadata">

**Author:** ![Valase](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valase/32/6972_2.png) [@Valase](https://discourse.cataclysmdda.org/u/Valase)\
**Post date:** [August 25, 2021, 6:55pm UTC](https://discourse.cataclysmdda.org/t/split-rail-fence-gate-terrain-blocking-vehicles-on-dairy-farm-stable-0-f/26903/2 "2021-08-25T18:55:45Z")

</div>

It’s possible that this issue is already known, see:

> <https://github.com/CleverRaven/Cataclysm-DDA/issues/49346>
>
> \# Describe the bug
> 
> The \`farm\_dairy\` and \`farm\_dairy\_2\` maps have lines of \`t\_…splitrail\_fencegate\_c\` and \`t\_gate\_metal\_c\` gates respectively at the end of roads, and sometimes even with vehicles spawning behind them. However these gates act as a line of individual gates, and do not allow vehicle access, even when all are open.
> 
> \# Steps To Reproduce
> 
> 1. Explore or debug until you find a \`farm\_dairy\` or \`farm\_dairy\_2\` map.
> 2. Look at the gates that connect it to the road
> 
> \# Expected behavior
> 
> Vehicle-accessible sections of dairy farms have multi-tile gates with pully systems, so vehicles can pass.
> 
> \# Extra notes
> 
> \- @jtgibson01 has tracked this down to #49173, which adds bash data for split-rail fences, which causes them to participate in collisions.
> 
> \# Versions and configuration
> 
> \- Version: af4b28f40907e9807b3916f76deb62fe6ec8c673 (cdda-experimental-2021-06-17-2045)

Also from that report, as a possible fix:

> [@Maleclypse from GitHub](#):
>
> They do allow vehicles to pass if they are all open and the line of them is wide enough to allow passage.

---

<div class="post-metadata">

**Author:** ![Soymilk](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@Soymilk](https://discourse.cataclysmdda.org/u/Soymilk)\
**Post date:** [August 25, 2021, 7:18pm UTC](https://discourse.cataclysmdda.org/t/split-rail-fence-gate-terrain-blocking-vehicles-on-dairy-farm-stable-0-f/26903/3 "2021-08-25T19:18:40Z")

</div>

EDIT: Sorry, ignore below. I misunderstood and thought bash data was a flag. Removing bash data from the json does seem to be the simplest current fix. Thanks!

Thank you. That issue does seem relevant. However, 0.F does not have BASH tag on these gates, but I just tested and vehicles are still colliding, even with all open gates.

---

<div class="post-metadata">

**Author:** ![Valase](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valase/32/6972_2.png) [@Valase](https://discourse.cataclysmdda.org/u/Valase)\
**Post date:** [August 25, 2021, 7:26pm UTC](https://discourse.cataclysmdda.org/t/split-rail-fence-gate-terrain-blocking-vehicles-on-dairy-farm-stable-0-f/26903/4 "2021-08-25T19:26:40Z")

</div>

> [@Soymilk](#):
>
> However, 0.F does not have BASH tag on these gates, […]

From what I can see, both my local version and the online version do (`t_splitrail_fencegate_o` 0.F version):

> <https://github.com/CleverRaven/Cataclysm-DDA/blob/8c7366e8615d924cea231762147fb93787500082/data/json/furniture_and_terrain/terrain-fences-gates.json#L653-L667>

Try removing this part and see if it works.
