# First stab at faction camps

**URL:** <https://discourse.cataclysmdda.org/t/first-stab-at-faction-camps/26600>\
**Category:** The Lab\
**Created:** [July 5, 2021, 8:47am UTC](https://discourse.cataclysmdda.org/t/first-stab-at-faction-camps/26600 "2021-07-05T08:47:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonanon](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@anonanon](https://discourse.cataclysmdda.org/u/anonanon)\
**Post date:** [July 5, 2021, 8:47am UTC](https://discourse.cataclysmdda.org/t/first-stab-at-faction-camps/26600/1 "2021-07-05T08:47:59Z")

</div>

I’m looking for the file that lets a faction camp member modify a field or forest with a “fortification” I want to adjust it to be more even on the horizontals match up more cleanly on the corners and not have any easily circumnavigated corners on the verticals  
also can anyone quickly summarize what part of the data makes one option overtake the others? i.e. you build with wood panel you can no longer build the same building with metal

---

<div class="post-metadata">

**Author:** ![zL0ki](https://avatars.discourse-cdn.com/v4/letter/z/e95f7d/32.png) [@zL0ki](https://discourse.cataclysmdda.org/u/zL0ki)\
**Post date:** [July 5, 2021, 2:22pm UTC](https://discourse.cataclysmdda.org/t/first-stab-at-faction-camps/26600/2 "2021-07-05T14:22:57Z")

</div>

> also can anyone quickly summarize what part of the data makes one option overtake the others? i.e. you build with wood panel you can no longer build the same building with metal

If I recall it’s determined by what’s in:

…\data\json\recipes\basecamps

and what’s in your save file

…\save\<savename\>\o.0.0

The json recipes contain the blueprints/building options depending on the section in the o.0.0 that relates to basecamp.

Each type/method of construction has a json file associated with it. Each of these contain the recipes for building with your chosen construction method. Most of the recipes require knowledge of a blueprint which you gain by completing the ‘lower tier’ recipe first. It’s also where you get excluded from other blueprints.

```auto
e.g below part of a recipe for the fireplace 

"blueprint_name": "northeast fireplace",
"blueprint_requires": [{ "id": "fbmh_northeast" }],
"blueprint_provides": [{ "id": "fbmh_fire_northeast" }],
"blueprint_excludes": [{ "id": "fbmh_fire_northeast" }],

```

It’s been awhile but when I did a run with a basecamp it became bugged and some progress options were missing. Essentially stopping any further progression.

I had to edit the o.0.0 file to remove certain tags from an ‘already built/used blueprints’ list. The options were tagged as built according to the file but in the game it was missing. E.g radio tower option missing in game. Removing this tag from the file allowed it to reappear.

---

<div class="post-metadata">

**Author:** ![anonanon](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@anonanon](https://discourse.cataclysmdda.org/u/anonanon)\
**Post date:** [July 5, 2021, 2:45pm UTC](https://discourse.cataclysmdda.org/t/first-stab-at-faction-camps/26600/3 "2021-07-05T14:45:42Z")

</div>

thanks any idea what files allow the “build fortification” project?

---

<div class="post-metadata">

**Author:** ![anonanon](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@anonanon](https://discourse.cataclysmdda.org/u/anonanon)\
**Post date:** [July 5, 2021, 4:44pm UTC](https://discourse.cataclysmdda.org/t/first-stab-at-faction-camps/26600/4 "2021-07-05T16:44:38Z")

</div>

ok good news I found the code for map fortifications I think it was under data/json/overmap/overmap\_terrain/overmap\_terrain\_faction\_base the bad news is despite digging the trenches the overmap isn’t recognizing that the fields that have been fortified and responding accordingly and I probably need to fix this now

---

<div class="post-metadata">

**Author:** ![anonanon](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@anonanon](https://discourse.cataclysmdda.org/u/anonanon)\
**Post date:** [July 5, 2021, 4:53pm UTC](https://discourse.cataclysmdda.org/t/first-stab-at-faction-camps/26600/5 "2021-07-05T16:53:49Z")

</div>

it’s in data/json/mapgen/basecamps/primitive\_field  
looking into what it means now
