# The Toolbox

**URL:** https://discourse.cataclysmdda.org/c/game-talk/the-toolbox/21.md?page=6

[Latest](https://discourse.cataclysmdda.org/latest.md) · [Categories](https://discourse.cataclysmdda.org/categories.md) · [Tags](https://discourse.cataclysmdda.org/tags.md)

**Page:** 7

---

## [An Odd Mapgen Error](https://discourse.cataclysmdda.org/t/an-odd-mapgen-error/22448)

<div class="topic-metadata">

**Author:** [@Minecrafter\_Next\_Gen](https://discourse.cataclysmdda.org/u/Minecrafter_Next_Gen)\
**Replies:** 3\
**Last updated:** [January 12, 2020, 4:58pm UTC](https://discourse.cataclysmdda.org/t/an-odd-mapgen-error/22448 "2020-01-12T16:58:25Z")

</div>

Hello. I seem to posses a slight problem, having received this error. src/main\_menu.cpp:1060 \[bool main\_menu::load\_character\_tab(bool)\] Error: data/mods//Miscellaneous Magiclysm Expansions/mapgen/mapsettings.json: line …

---

## [Where are fishing poles listed?](https://discourse.cataclysmdda.org/t/where-are-fishing-poles-listed/22433)

<div class="topic-metadata">

**Author:** [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)\
**Replies:** 1\
**Last updated:** [January 8, 2020, 10:57pm UTC](https://discourse.cataclysmdda.org/t/where-are-fishing-poles-listed/22433 "2020-01-08T22:57:47Z")

</div>

As the titles implies I’m wondering where fishing poles are stored in the files. I am wanting to start work on a fishing based mod but I am not entirely sure how fishing poles are structured.

---

## [How to create a new item with a image (Tiles)](https://discourse.cataclysmdda.org/t/how-to-create-a-new-item-with-a-image-tiles/22416)

<div class="topic-metadata">

**Author:** [@PaulBlazek](https://discourse.cataclysmdda.org/u/PaulBlazek)\
**Replies:** 2\
**Last updated:** [January 8, 2020, 1:14am UTC](https://discourse.cataclysmdda.org/t/how-to-create-a-new-item-with-a-image-tiles/22416 "2020-01-08T01:14:02Z")

</div>

I am creating a mod that adds a new melee weapon, and I want to make it have an image in-game, instead of the generic gray bar. I’ve made a png image 128x32 and have copied some data from the Chesthole Indicator mod in a…

---

## [Random encounter json location](https://discourse.cataclysmdda.org/t/random-encounter-json-location/22104)

<div class="topic-metadata">

**Author:** [@sheeptime](https://discourse.cataclysmdda.org/u/sheeptime)\
**Replies:** 5\
**Last updated:** [January 7, 2020, 5:50am UTC](https://discourse.cataclysmdda.org/t/random-encounter-json-location/22104 "2020-01-07T05:50:26Z")

</div>

I dug the data file for a while and couldn’t find the JSON file for the random encounter (random corpse etc) anyone know where is their location? thank you

---

## [New NPCs - I need your help!](https://discourse.cataclysmdda.org/t/new-npcs-i-need-your-help/21800)

<div class="topic-metadata">

**Author:** [@Brytenwalda](https://discourse.cataclysmdda.org/u/Brytenwalda)\
**Replies:** 5\
**Last updated:** [January 6, 2020, 6:05pm UTC](https://discourse.cataclysmdda.org/t/new-npcs-i-need-your-help/21800 "2020-01-06T18:05:59Z")

</div>

I’ve finished phase one of my plan to add more Free Merchants and their suppliers (hunters, scavengers, fishermen, small-time farmers etc.) to the game, to make it feel more alive and plausible. https://github.com/Cleve…

---

## [Aid with structures](https://discourse.cataclysmdda.org/t/aid-with-structures/21666)

<div class="topic-metadata">

**Author:** [@Minecrafter\_Next\_Gen](https://discourse.cataclysmdda.org/u/Minecrafter_Next_Gen)\
**Replies:** 12\
**Last updated:** [October 14, 2019, 1:04am UTC](https://discourse.cataclysmdda.org/t/aid-with-structures/21666 "2019-10-14T01:04:39Z")

</div>

Hello. I’m working on expanding factions, but I have experienced some code error. I could use some help with this. \[ { “type”: “mapgen”, “method”: “json”, “om\_terrain”: \[ “survivor\_campsite” \], “weight”: 500, “ob…

---

## [No Sidebar In Overmap Screen](https://discourse.cataclysmdda.org/t/no-sidebar-in-overmap-screen/22394)

<div class="topic-metadata">

**Author:** [@Estranged](https://discourse.cataclysmdda.org/u/Estranged)\
**Replies:** 3\
**Last updated:** [January 5, 2020, 9:28am UTC](https://discourse.cataclysmdda.org/t/no-sidebar-in-overmap-screen/22394 "2020-01-05T09:28:16Z")

</div>

I’ve just updated the game to the newest version (10116) and I have no thing showing in the sidebar in the overmap screen. I can still toggle things like hordes on and off and the search results still shows on the right…

---

## [Swim speed moddifiers](https://discourse.cataclysmdda.org/t/swim-speed-moddifiers/22382)

<div class="topic-metadata">

**Author:** [@CreeperWatcher23](https://discourse.cataclysmdda.org/u/CreeperWatcher23)\
**Replies:** 12\
**Last updated:** [January 4, 2020, 10:23pm UTC](https://discourse.cataclysmdda.org/t/swim-speed-moddifiers/22382 "2020-01-04T22:23:29Z")

</div>

I was practicing coding by creating a few random mutations in a personal mod when I came across some trouble with modifying how well the player/avatar can move in the water. From what I understand, there isn’t an easy wa…

---

## [Multiple JSON root elements](https://discourse.cataclysmdda.org/t/multiple-json-root-elements/22388)

<div class="topic-metadata">

**Author:** [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)\
**Replies:** 6\
**Last updated:** [January 4, 2020, 5:11pm UTC](https://discourse.cataclysmdda.org/t/multiple-json-root-elements/22388 "2020-01-04T17:11:27Z")

</div>

I have been testing some code for a mod and I found that it was missing some parts but now I’m getting a message saying it contains multiple JSON root elements does anyone know what causes this to happen?

---

## [Help getting a mod running](https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374)

<div class="topic-metadata">

**Author:** [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)\
**Replies:** 13\
**Last updated:** [January 3, 2020, 2:19pm UTC](https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374 "2020-01-03T14:19:22Z")

</div>

I have a mod that I wrote some code for and it’s just for one mob and I have read the guides but I’m still confused. Can someone explain how I do this, I think my problem is it’s not a json but then how do I get it runni…

---

## [Is it possible to code an enemy so it doesn't get slowed down by terrain?](https://discourse.cataclysmdda.org/t/is-it-possible-to-code-an-enemy-so-it-doesnt-get-slowed-down-by-terrain/22354)

<div class="topic-metadata">

**Author:** [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)\
**Replies:** 6\
**Last updated:** [January 1, 2020, 4:35pm UTC](https://discourse.cataclysmdda.org/t/is-it-possible-to-code-an-enemy-so-it-doesnt-get-slowed-down-by-terrain/22354 "2020-01-01T16:35:37Z")

</div>

I’m making a mod and I am wanting to make an enemey that doesn’t get slowed down over tiles like rails, tables, window, etc. Basicly a parkour based enemy.

---

## [More Details In Consume Menu](https://discourse.cataclysmdda.org/t/more-details-in-consume-menu/22355)

<div class="topic-metadata">

**Author:** [@Estranged](https://discourse.cataclysmdda.org/u/Estranged)\
**Replies:** 6\
**Last updated:** [January 1, 2020, 8:29am UTC](https://discourse.cataclysmdda.org/t/more-details-in-consume-menu/22355 "2020-01-01T08:29:40Z")

</div>

How do you show more details in the consume menu like spoil time? I somehow managed to do it the other day, but I have no idea how I done it.

---

## [Advanced Inventory Move Whole Stack](https://discourse.cataclysmdda.org/t/advanced-inventory-move-whole-stack/22344)

<div class="topic-metadata">

**Author:** [@Estranged](https://discourse.cataclysmdda.org/u/Estranged)\
**Replies:** 3\
**Last updated:** [December 30, 2019, 3:41pm UTC](https://discourse.cataclysmdda.org/t/advanced-inventory-move-whole-stack/22344 "2019-12-30T15:41:56Z")

</div>

Has the way moving a stack of items, i.e. 19 Cash Cards, changed in the lastest build (10091)? Before you could move the whole stack at once, now it seems to only be doing 5 at a time.

---

## [How Does Firewood source work?](https://discourse.cataclysmdda.org/t/how-does-firewood-source-work/22329)

<div class="topic-metadata">

**Author:** [@Estranged](https://discourse.cataclysmdda.org/u/Estranged)\
**Replies:** 3\
**Last updated:** [December 28, 2019, 11:05pm UTC](https://discourse.cataclysmdda.org/t/how-does-firewood-source-work/22329 "2019-12-28T23:05:44Z")

</div>

I’ve stuck a firewood source construction next to a brazier and put a load of clothes in it. Stuff I put in the brazier and will just burn out. Am I missing something on how firewood source constructions work?

---

## [Corpse Butchering Adjacent Tile?](https://discourse.cataclysmdda.org/t/corpse-butchering-adjacent-tile/22318)

<div class="topic-metadata">

**Author:** [@Estranged](https://discourse.cataclysmdda.org/u/Estranged)\
**Replies:** 1\
**Last updated:** [December 27, 2019, 9:37pm UTC](https://discourse.cataclysmdda.org/t/corpse-butchering-adjacent-tile/22318 "2019-12-27T21:37:00Z")

</div>

As the title says, is there a way to butcher a corpse that’s on an adjacent tile? I’ve not tried a butchering rack yet, so maybe my answer lies there?

---

## [How does "place\_loot"'s chance work?](https://discourse.cataclysmdda.org/t/how-does-place-loot-s-chance-work/22142)

<div class="topic-metadata">

**Author:** [@sheeptime](https://discourse.cataclysmdda.org/u/sheeptime)\
**Replies:** 5\
**Last updated:** [December 5, 2019, 3:13am UTC](https://discourse.cataclysmdda.org/t/how-does-place-loot-s-chance-work/22142 "2019-12-05T03:13:37Z")

</div>

so I was figuring how to make a new building, I tried both “chance” and “prob” for the spawning in the “place\_loot”. But setting 100 on both did not guarantee the item spawn every time. Is it base on one is x or x/100? O…

---

## [Override item group](https://discourse.cataclysmdda.org/t/override-item-group/22109)

<div class="topic-metadata">

**Author:** [@sheeptime](https://discourse.cataclysmdda.org/u/sheeptime)\
**Replies:** 1\
**Last updated:** [December 1, 2019, 4:36am UTC](https://discourse.cataclysmdda.org/t/override-item-group/22109 "2019-12-01T04:36:59Z")

</div>

How do I override an item group instead of adding new items to it? There was a post from last year but with no solution.

---

## [How do I make clothing "looks\_like" a mutation?](https://discourse.cataclysmdda.org/t/how-do-i-make-clothing-looks-like-a-mutation/22084)

<div class="topic-metadata">

**Author:** [@The\_32-bit\_guy](https://discourse.cataclysmdda.org/u/The_32-bit_guy)\
**Replies:** 2\
**Last updated:** [November 28, 2019, 3:43am UTC](https://discourse.cataclysmdda.org/t/how-do-i-make-clothing-looks-like-a-mutation/22084 "2019-11-28T03:43:28Z")

</div>

How do I make clothing look like the cosmetic effect given by a mutation, In the deadpeople tileset?

---

## [M.A.G. Armory Mod](https://discourse.cataclysmdda.org/t/m-a-g-armory-mod/21997)

<div class="topic-metadata">

**Author:** [@Vinicius](https://discourse.cataclysmdda.org/u/Vinicius)\
**Replies:** 3\
**Last updated:** [November 26, 2019, 3:26pm UTC](https://discourse.cataclysmdda.org/t/m-a-g-armory-mod/21997 "2019-11-26T15:26:12Z")

</div>

Hi there. I’m Mark, and again i will be posting a new mod that i working. The mod will add new ammunition, new armors (OP), new guns and new weapons (OP too). If you want to help me out, I will be very glad. 》Current…

---

## [Help with spawning items](https://discourse.cataclysmdda.org/t/help-with-spawning-items/22040)

<div class="topic-metadata">

**Author:** [@sheeptime](https://discourse.cataclysmdda.org/u/sheeptime)\
**Replies:** 4\
**Last updated:** [November 24, 2019, 4:26am UTC](https://discourse.cataclysmdda.org/t/help-with-spawning-items/22040 "2019-11-24T04:26:52Z")

</div>

I am creating a mod to add in more firearm-related content into the game. I just added STANAG magazine with different capacity and changed all the .223 STANAG guns to accept them. Instead of a gun spawn with a default …

---

## [Help with weapon fire time](https://discourse.cataclysmdda.org/t/help-with-weapon-fire-time/22027)

<div class="topic-metadata">

**Author:** [@sheeptime](https://discourse.cataclysmdda.org/u/sheeptime)\
**Replies:** 2\
**Last updated:** [November 24, 2019, 1:14am UTC](https://discourse.cataclysmdda.org/t/help-with-weapon-fire-time/22027 "2019-11-24T01:14:13Z")

</div>

Hello everyone I have just started a new mod project that aims to change the game’s gunplay element It is a mod mostly because of the player base of CDDA seems to have some disagreement around how the firearms should b…

---

## [How to measure the in-game volume?](https://discourse.cataclysmdda.org/t/how-to-measure-the-in-game-volume/22031)

<div class="topic-metadata">

**Author:** [@Vinicius](https://discourse.cataclysmdda.org/u/Vinicius)\
**Replies:** 4\
**Last updated:** [November 23, 2019, 3:36pm UTC](https://discourse.cataclysmdda.org/t/how-to-measure-the-in-game-volume/22031 "2019-11-23T15:36:17Z")

</div>

Hi, I’m Mark. I are making a new Mod and I want to learn how to calculate the in-game volume of items. e.g. I have a sword that have a total length of 2 meters (200 cm or 78,7 inch) how do I convert theses numbers to i…

---

## [How to associate an effect\_type with a field\_type?](https://discourse.cataclysmdda.org/t/how-to-associate-an-effect-type-with-a-field-type/22018)

<div class="topic-metadata">

**Author:** [@harison86](https://discourse.cataclysmdda.org/u/harison86)\
**Replies:** 2\
**Last updated:** [November 22, 2019, 11:43pm UTC](https://discourse.cataclysmdda.org/t/how-to-associate-an-effect-type-with-a-field-type/22018 "2019-11-22T23:43:43Z")

</div>

I’m trying to make an enemy that puts the player/enemies to sleep with knockout gas. How do I make the gas apply the effect? I’m basing it on tear gas, and have found the tear gas itself in field\_type.json and the Tear g…

---

## [Map gen data for burned forest and lava rifts](https://discourse.cataclysmdda.org/t/map-gen-data-for-burned-forest-and-lava-rifts/21975)

<div class="topic-metadata">

**Author:** [@harison86](https://discourse.cataclysmdda.org/u/harison86)\
**Replies:** 1\
**Last updated:** [November 17, 2019, 6:30am UTC](https://discourse.cataclysmdda.org/t/map-gen-data-for-burned-forest-and-lava-rifts/21975 "2019-11-17T06:30:08Z")

</div>

Where is the map gen data for the burned forest and lava rift map specials? I want to add certain enemies to these locations in a mod.

---

## [Adding a custom basement that can spawn organically within the base game](https://discourse.cataclysmdda.org/t/adding-a-custom-basement-that-can-spawn-organically-within-the-base-game/21919)

<div class="topic-metadata">

**Author:** [@Odieman](https://discourse.cataclysmdda.org/u/Odieman)\
**Replies:** 2\
**Last updated:** [November 11, 2019, 3:23pm UTC](https://discourse.cataclysmdda.org/t/adding-a-custom-basement-that-can-spawn-organically-within-the-base-game/21919 "2019-11-11T15:23:52Z")

</div>

Hello. I’m making a very small, basic mod that does effect the way the game generates cities. Basically, a custom basement that is specifically for a neckbeard. I’ve tried doing this: https://pastebin.com/t0GCqJJC H…

---

## [Professions starting with the tiny mutation](https://discourse.cataclysmdda.org/t/professions-starting-with-the-tiny-mutation/21808)

<div class="topic-metadata">

**Author:** [@The\_32-bit\_guy](https://discourse.cataclysmdda.org/u/The_32-bit_guy)\
**Replies:** 6\
**Last updated:** [November 1, 2019, 11:17am UTC](https://discourse.cataclysmdda.org/t/professions-starting-with-the-tiny-mutation/21808 "2019-11-01T11:17:26Z")

</div>

Should’nt professions starting with tiny or any other trait that influences the size of clothes relative to you have them already refitted? If you were small before the Cataclysm you would just got clothes fitted to you…

---

## [How do I resolve github conflicts?](https://discourse.cataclysmdda.org/t/how-do-i-resolve-github-conflicts/21835)

<div class="topic-metadata">

**Author:** [@crazykiddeath](https://discourse.cataclysmdda.org/u/crazykiddeath)\
**Replies:** 0\
**Last updated:** [November 1, 2019, 1:22am UTC](https://discourse.cataclysmdda.org/t/how-do-i-resolve-github-conflicts/21835 "2019-11-01T01:22:01Z")

</div>

I’ve run into a bit of an issue with github and was wondering if anyone could help me? I’ve been doing some rebalancing of some JSON files over the last few days, I’m trying to merge changes that have come into affect w…

---

## [Making music for menu?](https://discourse.cataclysmdda.org/t/making-music-for-menu/21518)

<div class="topic-metadata">

**Author:** [@SirPeloDOOD](https://discourse.cataclysmdda.org/u/SirPeloDOOD)\
**Replies:** 2\
**Last updated:** [October 29, 2019, 2:21pm UTC](https://discourse.cataclysmdda.org/t/making-music-for-menu/21518 "2019-10-29T14:21:00Z")

</div>

I want to add a few tracks into existing soundpack. The thing is - those tracks seem to fit exactly Menu (making it feel like those old NES games, and it’s awesome); so I don’t want to hear them in game itself. Is it pos…

---

## [Easy way to turn made vehicle to json?](https://discourse.cataclysmdda.org/t/easy-way-to-turn-made-vehicle-to-json/21755)

<div class="topic-metadata">

**Author:** [@The\_32-bit\_guy](https://discourse.cataclysmdda.org/u/The_32-bit_guy)\
**Replies:** 3\
**Last updated:** [October 28, 2019, 10:59am UTC](https://discourse.cataclysmdda.org/t/easy-way-to-turn-made-vehicle-to-json/21755 "2019-10-28T10:59:53Z")

</div>

Is there a way to directly convert vehicle data from a save to json for a mod?

---

## [Visual Studio 2019 Debugging issue](https://discourse.cataclysmdda.org/t/visual-studio-2019-debugging-issue/21746)

<div class="topic-metadata">

**Author:** [@Mikesteam1234](https://discourse.cataclysmdda.org/u/Mikesteam1234)\
**Replies:** 3\
**Last updated:** [October 23, 2019, 8:08am UTC](https://discourse.cataclysmdda.org/t/visual-studio-2019-debugging-issue/21746 "2019-10-23T08:08:41Z")

</div>

Compiled new version today, at 2:44PM PST. Attempt at debugging with debugging working directory $(ProjectDir).., results in immediate exit code 1. Looking for advice on how to remedy the situation, new to the reposito…

[Previous page](https://discourse.cataclysmdda.org/c/game-talk/the-toolbox/21.md?page=5)

[Next page](https://discourse.cataclysmdda.org/c/game-talk/the-toolbox/21.md?page=7)
