# The Toolbox

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

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

**Page:** 17

---

## [Help editing JSON files](https://discourse.cataclysmdda.org/t/help-editing-json-files/11799)

<div class="topic-metadata">

**Author:** [@Alec\_White](https://discourse.cataclysmdda.org/u/Alec_White)\
**Replies:** 6\
**Last updated:** [May 1, 2016, 4:23am UTC](https://discourse.cataclysmdda.org/t/help-editing-json-files/11799 "2016-05-01T04:23:55Z")

</div>

Is there anyway or form to edit JSON trees/nodes, and apply complex modifications in bulk, like editing certain nodes that have certain values and so on?

---

## [Removing species from the game](https://discourse.cataclysmdda.org/t/removing-species-from-the-game/11775)

<div class="topic-metadata">

**Author:** [@Fourty\_two](https://discourse.cataclysmdda.org/u/Fourty_two)\
**Replies:** 2\
**Last updated:** [April 27, 2016, 4:19pm UTC](https://discourse.cataclysmdda.org/t/removing-species-from-the-game/11775 "2016-04-27T16:19:54Z")

</div>

I’am kinda new to modding so expect me not to know things. I want to remove everything except Wildlife,Zombies,Zombies Animals, and robots. I tried mods that remove Monsters but all of them simply remove too less or rem…

---

## [Creating a slow-moving fireball](https://discourse.cataclysmdda.org/t/creating-a-slow-moving-fireball/11490)

<div class="topic-metadata">

**Author:** [@pisskop](https://discourse.cataclysmdda.org/u/pisskop)\
**Replies:** 13\
**Last updated:** [April 23, 2016, 4:07am UTC](https://discourse.cataclysmdda.org/t/creating-a-slow-moving-fireball/11490 "2016-04-23T04:07:44Z")

</div>

Rather, creating something that gives a ranged opponent time to dodge or react before the impact/explosion. The specific instance I have in mind is a Doom monster, say an imp or a caccodemon, that is firing projectiles …

---

## [Questions about tilesets](https://discourse.cataclysmdda.org/t/questions-about-tilesets/11740)

<div class="topic-metadata">

**Author:** [@nuker22110](https://discourse.cataclysmdda.org/u/nuker22110)\
**Replies:** 0\
**Last updated:** [April 21, 2016, 9:41am UTC](https://discourse.cataclysmdda.org/t/questions-about-tilesets/11740 "2016-04-21T09:41:35Z")

</div>

Hello i would like to learn more about making tilesets. I am wondering if it requires more expertise in drawing said tiles, or in coding? Would anyone be interested in taking a noob like me under his/her wing?

---

## [Changing color of NPC messages](https://discourse.cataclysmdda.org/t/changing-color-of-npc-messages/11713)

<div class="topic-metadata">

**Author:** [@Firn](https://discourse.cataclysmdda.org/u/Firn)\
**Replies:** 2\
**Last updated:** [April 16, 2016, 6:35pm UTC](https://discourse.cataclysmdda.org/t/changing-color-of-npc-messages/11713 "2016-04-16T18:35:24Z")

</div>

Hi. It’s less for a mod, more for readabillity. Currently the messages of a NPC is white like the most of the other notes. It’s often difficult to recognise the needs of the NPC while reading a book or bashing a zombie. …

---

## [Heal Function](https://discourse.cataclysmdda.org/t/heal-function/11654)

<div class="topic-metadata">

**Author:** [@pisskop](https://discourse.cataclysmdda.org/u/pisskop)\
**Replies:** 1\
**Last updated:** [April 15, 2016, 2:30pm UTC](https://discourse.cataclysmdda.org/t/heal-function/11654 "2016-04-15T14:30:15Z")

</div>

Im trying to add a heal function to effects, since negative hurt doesnt seem to do it and the only other workaround Ive found is using artifact properties or aid kit style menus instead of a slow ‘regen’ effect. Im foun…

---

## [Adding new iuse functions to a mod?](https://discourse.cataclysmdda.org/t/adding-new-iuse-functions-to-a-mod/11646)

<div class="topic-metadata">

**Author:** [@Cagone](https://discourse.cataclysmdda.org/u/Cagone)\
**Replies:** 2\
**Last updated:** [April 3, 2016, 8:31pm UTC](https://discourse.cataclysmdda.org/t/adding-new-iuse-functions-to-a-mod/11646 "2016-04-03T20:31:42Z")

</div>

Is there any way to add a simple “toggle” function to an item? Something like “activate to turn on, activate to turn off, no batteries required”? I’ve added the “use\_action” : “turnon” and “use\_action” : “turnoff” to the…

---

## [Military locations?](https://discourse.cataclysmdda.org/t/military-locations/11617)

<div class="topic-metadata">

**Author:** [@Genn\_Faol](https://discourse.cataclysmdda.org/u/Genn_Faol)\
**Replies:** 5\
**Last updated:** [March 29, 2016, 6:20pm UTC](https://discourse.cataclysmdda.org/t/military-locations/11617 "2016-03-29T18:20:25Z")

</div>

Hey. Maybe this is a noob question, but searching the forum and the repository did not help me. I’m looking for the files that determine the loot in locations like the military camp and the military bunker and the likes?…

---

## [Item Lists not working?](https://discourse.cataclysmdda.org/t/item-lists-not-working/11563)

<div class="topic-metadata">

**Author:** [@pisskop](https://discourse.cataclysmdda.org/u/pisskop)\
**Replies:** 3\
**Last updated:** [March 26, 2016, 4:04pm UTC](https://discourse.cataclysmdda.org/t/item-lists-not-working/11563 "2016-03-26T16:04:21Z")

</div>

\[spoiler\] \[ { "type": "vehicle\_group", "id": "VETS", "vehicles": \[ \[ "car", 300 \], \[ "pickup", 100 \], \[ "suv", 50 \] \] },{ "type": "item\_gro…

---

## [Making a Wearable Multi tool](https://discourse.cataclysmdda.org/t/making-a-wearable-multi-tool/11601)

<div class="topic-metadata">

**Author:** [@TheMightyHercules](https://discourse.cataclysmdda.org/u/TheMightyHercules)\
**Replies:** 16\
**Last updated:** [March 25, 2016, 1:59pm UTC](https://discourse.cataclysmdda.org/t/making-a-wearable-multi-tool/11601 "2016-03-25T13:59:26Z")

</div>

Hi, I plan on making a tool that is wearable and has multiple tools which I could activate individually. Is there anyway I could do that? Thanks in advance. Also, sorry for making a new topic, I didn’t know where to pu…

---

## [Act\_cost and react\_cost in bionics](https://discourse.cataclysmdda.org/t/act-cost-and-react-cost-in-bionics/11589)

<div class="topic-metadata">

**Author:** [@Mattamue](https://discourse.cataclysmdda.org/u/Mattamue)\
**Replies:** 1\
**Last updated:** [March 24, 2016, 1:37am UTC](https://discourse.cataclysmdda.org/t/act-cost-and-react-cost-in-bionics/11589 "2016-03-24T01:37:18Z")

</div>

Hey coders, act\_cost and react\_cost in the bionics JSON files don’t have a clear use that I can pin down in the code. This MD seems to be a little outdated and searching the code for react\_cost only has 3 instances in th…

---

## [How can I fix this error?](https://discourse.cataclysmdda.org/t/how-can-i-fix-this-error/9470)

<div class="topic-metadata">

**Author:** [@qqq5255](https://discourse.cataclysmdda.org/u/qqq5255)\
**Replies:** 7\
**Last updated:** [March 22, 2016, 6:39am UTC](https://discourse.cataclysmdda.org/t/how-can-i-fix-this-error/9470 "2016-03-22T06:39:43Z")

</div>

there is error code : https://drive.google.com/file/d/0BxQkS6JHXRayVmpibml2QXhJMG8/view?usp=sharing If you want my mod file to fix this error, I will send my mod file to your e-mail.(Please comment your e-mail adress) p…

---

## [Modify movement speed through .json on an item?](https://discourse.cataclysmdda.org/t/modify-movement-speed-through-json-on-an-item/11596)

<div class="topic-metadata">

**Author:** [@secretfire](https://discourse.cataclysmdda.org/u/secretfire)\
**Replies:** 1\
**Last updated:** [March 22, 2016, 5:45am UTC](https://discourse.cataclysmdda.org/t/modify-movement-speed-through-json-on-an-item/11596 "2016-03-22T05:45:19Z")

</div>

This is based off of a silly whim I had while swimming through a river to escape zombies. Question. I was thinking of making a neoprene mermaid tail item, that would slow you to a (literal) crawl on land, but be pretty …

---

## [How (not) to compile with MinGW](https://discourse.cataclysmdda.org/t/how-not-to-compile-with-mingw/10688)

<div class="topic-metadata">

**Author:** [@Random\_dragon](https://discourse.cataclysmdda.org/u/Random_dragon)\
**Replies:** 36\
**Last updated:** [March 15, 2016, 10:32am UTC](https://discourse.cataclysmdda.org/t/how-not-to-compile-with-mingw/10688 "2016-03-15T10:32:29Z")

</div>

The Legend of Derpdragon: A tale of failed commits and unending compiling. I’ve been fumbling my way through actually following the instructions in COMPILING.md, and…to call this a clusterfuck would be putting it mildly…

---

## [Monofilaments mod helped wanted](https://discourse.cataclysmdda.org/t/monofilaments-mod-helped-wanted/11529)

<div class="topic-metadata">

**Author:** [@Sethfcm](https://discourse.cataclysmdda.org/u/Sethfcm)\
**Replies:** 2\
**Last updated:** [March 8, 2016, 7:36pm UTC](https://discourse.cataclysmdda.org/t/monofilaments-mod-helped-wanted/11529 "2016-03-08T19:36:07Z")

</div>

Working on adding a monofilament wire type weapon, trying to figure out the appropriate implementation, probably going to use Random\_Dragons (the modinfo lists chaosvolt as well, so his too) arcane skill, and essence as …

---

## [Can't find bonus\_effect](https://discourse.cataclysmdda.org/t/cant-find-bonus-effect/11491)

<div class="topic-metadata">

**Author:** [@zombie11121](https://discourse.cataclysmdda.org/u/zombie11121)\
**Replies:** 0\
**Last updated:** [February 29, 2016, 4:32pm UTC](https://discourse.cataclysmdda.org/t/cant-find-bonus-effect/11491 "2016-02-29T16:32:59Z")

</div>

I have this bit of code for a mod that is supposed to change the base stats of the character function update\_player\_skills(bonus\_effect,bonus\_amount) player:remove\_effect(bonus\_effect) if bonus\_amount \> 0 then …

---

## [Spawning Tents and tent-like structures for prefab buildings in JSON](https://discourse.cataclysmdda.org/t/spawning-tents-and-tent-like-structures-for-prefab-buildings-in-json/11387)

<div class="topic-metadata">

**Author:** [@Nymall](https://discourse.cataclysmdda.org/u/Nymall)\
**Replies:** 3\
**Last updated:** [February 11, 2016, 2:51pm UTC](https://discourse.cataclysmdda.org/t/spawning-tents-and-tent-like-structures-for-prefab-buildings-in-json/11387 "2016-02-11T14:51:04Z")

</div>

Hey guys, hopefully this will be a simple fix. I’m working on building a number of prefab camping sites of various states of repair, and i’ve ran into an issue. I can’t quite figure out how to spawn Canvas Flaps, Canvas…

---

## [I cant get this building to spawn](https://discourse.cataclysmdda.org/t/i-cant-get-this-building-to-spawn/11367)

<div class="topic-metadata">

**Author:** [@pisskop](https://discourse.cataclysmdda.org/u/pisskop)\
**Replies:** 4\
**Last updated:** [February 7, 2016, 12:04pm UTC](https://discourse.cataclysmdda.org/t/i-cant-get-this-building-to-spawn/11367 "2016-02-07T12:04:18Z")

</div>

I created a semi-reliable place to get pet item - The Veterinarian’s Clinic. Ive got it running and got the items to spawn in what I consider to be a roughly balanced way. Ive gotten the items and car to spawn where th…

---

## [How smash works?](https://discourse.cataclysmdda.org/t/how-smash-works/11361)

<div class="topic-metadata">

**Author:** [@jboadas](https://discourse.cataclysmdda.org/u/jboadas)\
**Replies:** 4\
**Last updated:** [February 6, 2016, 12:50am UTC](https://discourse.cataclysmdda.org/t/how-smash-works/11361 "2016-02-06T00:50:50Z")

</div>

I was messing with json files and wonder how smash things works, I just want to know what kind of creature could smash walls or what wall the character could smash with the current equiped weapon, a wall have min and ma…

---

## [Lua on\_day\_passed from statsthruskills](https://discourse.cataclysmdda.org/t/lua-on-day-passed-from-statsthruskills/11184)

<div class="topic-metadata">

**Author:** [@Malkeus](https://discourse.cataclysmdda.org/u/Malkeus)\
**Replies:** 16\
**Last updated:** [February 1, 2016, 4:53pm UTC](https://discourse.cataclysmdda.org/t/lua-on-day-passed-from-statsthruskills/11184 "2016-02-01T16:53:03Z")

</div>

How does it know? Where is on\_day\_passed defined? I want to see if there are more events I can trigger on but I can’t even figure out how this one gets triggered. Can someone please help?

---

## [New NPC Classes](https://discourse.cataclysmdda.org/t/new-npc-classes/11284)

<div class="topic-metadata">

**Author:** [@Survivor\_Kane](https://discourse.cataclysmdda.org/u/Survivor_Kane)\
**Replies:** 2\
**Last updated:** [January 23, 2016, 10:11pm UTC](https://discourse.cataclysmdda.org/t/new-npc-classes/11284 "2016-01-23T22:11:58Z")

</div>

So, I’m working on a couple of mods that will need more than the default NPC classes, but I haven’t any idea on how to implement these, or if it’s even possible, without modifying the hardcode. If anyone could help, it’d…

---

## [Mentor wanted!](https://discourse.cataclysmdda.org/t/mentor-wanted/11218)

<div class="topic-metadata">

**Author:** [@Normalno](https://discourse.cataclysmdda.org/u/Normalno)\
**Replies:** 2\
**Last updated:** [January 11, 2016, 1:37pm UTC](https://discourse.cataclysmdda.org/t/mentor-wanted/11218 "2016-01-11T13:37:25Z")

</div>

So, hi. I am yong developer and I want to enhance my coding skills. I think great way to do this is to contribute to community and find someone who can help me. I got basics in C++ so… Is there someone who will agree to …

---

## [Modding \*groups.json overwrites or adds?](https://discourse.cataclysmdda.org/t/modding-groups-json-overwrites-or-adds/11203)

<div class="topic-metadata">

**Author:** [@Malkeus](https://discourse.cataclysmdda.org/u/Malkeus)\
**Replies:** 3\
**Last updated:** [January 6, 2016, 4:30pm UTC](https://discourse.cataclysmdda.org/t/modding-groups-json-overwrites-or-adds/11203 "2016-01-06T16:30:14Z")

</div>

monstergroups.json mod entries override completely anything with the same name, figured that out the hard way. Stupid goblins… The last to be loaded is the one that will make it into your world. itemgroups.json has item…

---

## [Player::has\_two\_arms](https://discourse.cataclysmdda.org/t/player-has-two-arms/11108)

<div class="topic-metadata">

**Author:** [@Alec\_White](https://discourse.cataclysmdda.org/u/Alec_White)\
**Replies:** 1\
**Last updated:** [December 19, 2015, 1:24pm UTC](https://discourse.cataclysmdda.org/t/player-has-two-arms/11108 "2015-12-19T13:24:13Z")

</div>

Trying to make an amputee arm trait(yes I’m a horrible person). I saw that while there’s the has\_two\_arms check I didn’t found any item with the ALWAYS\_TWOHAND flag. Only player::can\_wield, other about handcuff and a if…

---

## [What describes a corpse?](https://discourse.cataclysmdda.org/t/what-describes-a-corpse/11025)

<div class="topic-metadata">

**Author:** [@Malkeus](https://discourse.cataclysmdda.org/u/Malkeus)\
**Replies:** 17\
**Last updated:** [December 9, 2015, 9:35pm UTC](https://discourse.cataclysmdda.org/t/what-describes-a-corpse/11025 "2015-12-09T21:35:00Z")

</div>

I have this crazy idea of making corpses over into a draggable container which conceals its contents, much like a locker. I’m having difficulty tracking down what MAKES a corpse though. I’d like to test this idea by addi…

---

## [Motorcycle setup problems](https://discourse.cataclysmdda.org/t/motorcycle-setup-problems/11029)

<div class="topic-metadata">

**Author:** [@Steelmaniac](https://discourse.cataclysmdda.org/u/Steelmaniac)\
**Replies:** 0\
**Last updated:** [December 4, 2015, 7:19pm UTC](https://discourse.cataclysmdda.org/t/motorcycle-setup-problems/11029 "2015-12-04T19:19:27Z")

</div>

Hey everyone I was fiddling with vehicles and quickly enough started to make my own. I added some engines to make more motorbikes bu the game wont let me put engines where I want them to be, despite there being no probl…

---

## [Buildings with multiple parts](https://discourse.cataclysmdda.org/t/buildings-with-multiple-parts/10993)

<div class="topic-metadata">

**Author:** [@Mad\_Jackal](https://discourse.cataclysmdda.org/u/Mad_Jackal)\
**Replies:** 1\
**Last updated:** [November 28, 2015, 7:55am UTC](https://discourse.cataclysmdda.org/t/buildings-with-multiple-parts/10993 "2015-11-28T07:55:25Z")

</div>

I asked this about a year ago. I was told it wasn’t possible through JSON yet and that you had to mess around with the mapgen code in order to get it to work. Has that changed? Just to clarify, when I say “buildings with…

---

## [Checking worn items for flag](https://discourse.cataclysmdda.org/t/checking-worn-items-for-flag/10929)

<div class="topic-metadata">

**Author:** [@Ygdrad](https://discourse.cataclysmdda.org/u/Ygdrad)\
**Replies:** 2\
**Last updated:** [November 26, 2015, 12:30am UTC](https://discourse.cataclysmdda.org/t/checking-worn-items-for-flag/10929 "2015-11-26T00:30:01Z")

</div>

I’ve just started trying to fiddle with the code to contribute to github rather than just pointing out issues and hoping someone both agrees with me and gets around to coding a fix. I’m currently trying to find a way to …

---

## [Functions in activity\_handlers::reload\_finish](https://discourse.cataclysmdda.org/t/functions-in-activity-handlers-reload-finish/10880)

<div class="topic-metadata">

**Author:** [@noble](https://discourse.cataclysmdda.org/u/noble)\
**Replies:** 3\
**Last updated:** [November 17, 2015, 10:45pm UTC](https://discourse.cataclysmdda.org/t/functions-in-activity-handlers-reload-finish/10880 "2015-11-17T22:45:49Z")

</div>

item \*reloadable = nullptr; { int reloadable\_pos; std::stringstream ss(act-\>name); ss \>\> reloadable\_pos; reloadable = &p-\>i\_at(reloadable\_pos); } From the code that comes after this I’m pretty sure it ge…

---

## [Applying ACT\_ON\_RANGED\_HIT](https://discourse.cataclysmdda.org/t/applying-act-on-ranged-hit/10871)

<div class="topic-metadata">

**Author:** [@Blaze](https://discourse.cataclysmdda.org/u/Blaze)\
**Replies:** 5\
**Last updated:** [November 16, 2015, 6:11pm UTC](https://discourse.cataclysmdda.org/t/applying-act-on-ranged-hit/10871 "2015-11-16T18:11:20Z")

</div>

I can only seem to get this flag to work on tools when thrown, but assigning ammo\_data to the same item causes crashes. I’m guessing it’s not fully complete?

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

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