# Attempting to mod subway system

**URL:** https://discourse.cataclysmdda.org/t/attempting-to-mod-subway-system/29147
**Category:** The Toolbox
**Created:** [February 17, 2024, 8:45pm UTC](https://discourse.cataclysmdda.org/t/attempting-to-mod-subway-system/29147 "2024-02-17T20:45:02Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Adronath](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@Adronath](https://discourse.cataclysmdda.org/u/Adronath)
#### Post date: [February 17, 2024, 8:45pm UTC](https://discourse.cataclysmdda.org/t/attempting-to-mod-subway-system/29147/1 "2024-02-17T20:45:02Z")

</div>

I wanted to build a large vehicle to navigate the subway system while staying out of the sunlight as a trog, but the tracks cannot be driven over with a normal wheeled vehicle. I considered using a train vehicle but decided this to be unsuitable for a few reasons. The solution I am attempting to implement is to replace all of the train track tiles with rock floor. I was successful in doing this on the bottom level of the subway stations, but I cannot seem to find where the rest of the subway network is defined in the game files. Does anyone know where I can find the needed files or have a suggestion for a better method to acheive my goal? Thanks in advance.

---

<div class="post-metadata">

### Author: ![RenechCDDA](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/renechcdda/32/12231_2.png) [@RenechCDDA](https://discourse.cataclysmdda.org/u/RenechCDDA)
#### Post date: [February 17, 2024, 8:47pm UTC](https://discourse.cataclysmdda.org/t/attempting-to-mod-subway-system/29147/2 "2024-02-17T20:47:22Z")

</div>

That would be because subways are hardcoded.

There is a WIP PR to move them to json ([Json subway by Procyonae · Pull Request #68496 · CleverRaven/Cataclysm-DDA · GitHub](https://github.com/CleverRaven/Cataclysm-DDA/pull/68496)), but it’s tough business.

---

<div class="post-metadata">

### Author: ![Adronath](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@Adronath](https://discourse.cataclysmdda.org/u/Adronath)
#### Post date: [February 17, 2024, 8:51pm UTC](https://discourse.cataclysmdda.org/t/attempting-to-mod-subway-system/29147/3 "2024-02-17T20:51:24Z")

</div>

So I would have to edit the source code to change them? That should be possible right? I’m a novice coder at best but I might be able to figure that out if it’s not too complicated.

---

<div class="post-metadata">

### Author: ![RenechCDDA](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/renechcdda/32/12231_2.png) [@RenechCDDA](https://discourse.cataclysmdda.org/u/RenechCDDA)
#### Post date: [February 17, 2024, 8:54pm UTC](https://discourse.cataclysmdda.org/t/attempting-to-mod-subway-system/29147/4 "2024-02-17T20:54:29Z")

</div>

Correct, you’ll probably want to follow the compiling guide. [Cataclysm-DDA/doc/COMPILING/COMPILING.md at a9a11202e2925b0867293917d90f73cfd5849484 · CleverRaven/Cataclysm-DDA · GitHub](https://github.com/CleverRaven/Cataclysm-DDA/blob/a9a11202e2925b0867293917d90f73cfd5849484/doc/COMPILING/COMPILING.md)

---

<div class="post-metadata">

### Author: ![Adronath](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@Adronath](https://discourse.cataclysmdda.org/u/Adronath)
#### Post date: [February 17, 2024, 8:55pm UTC](https://discourse.cataclysmdda.org/t/attempting-to-mod-subway-system/29147/5 "2024-02-17T20:55:02Z")

</div>

I’ll give it a shot. Thank you for the assistance.

---

<div class="post-metadata">

### Author: ![Adronath](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@Adronath](https://discourse.cataclysmdda.org/u/Adronath)
#### Post date: [February 17, 2024, 10:24pm UTC](https://discourse.cataclysmdda.org/t/attempting-to-mod-subway-system/29147/6 "2024-02-17T22:24:38Z")

</div>

So I looked at that stuff for a while, but decided to try something simpler first, which worked. I went into the “terrain-railroads.json” and changed the “move\_cost” value from “3” to “2” which allowed me to drag a test shopping cart over the tracks unimpeded. Just thought I’d post this solution in case anyone else needs and comes looking for it. Thanks again!
