# The Toolbox

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

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

**Page:** 11

---

## [Editing NPC Aggression Values](https://discourse.cataclysmdda.org/t/editing-npc-aggression-values/18203)

<div class="topic-metadata">

**Author:** [@Gunpowder17](https://discourse.cataclysmdda.org/u/Gunpowder17)\
**Replies:** 4\
**Last updated:** [January 4, 2019, 8:43pm UTC](https://discourse.cataclysmdda.org/t/editing-npc-aggression-values/18203 "2019-01-04T20:43:23Z")

</div>

I’m trying to find out where in the files I can find the values for whether or not the NPCs attack you and I’m pretty sure it’s tied to Aggression but I can’t find where I can edit so all NPCs become aggressive enough to…

---

## [Weight for Nested Chunks](https://discourse.cataclysmdda.org/t/weight-for-nested-chunks/18041)

<div class="topic-metadata">

**Author:** [@TheMurderUnicorn](https://discourse.cataclysmdda.org/u/TheMurderUnicorn)\
**Replies:** 3\
**Last updated:** [December 23, 2018, 11:28am UTC](https://discourse.cataclysmdda.org/t/weight-for-nested-chunks/18041 "2018-12-23T11:28:04Z")

</div>

So, just discovered nested chunks, think they’re great, don’t know why they’re not used in almost every mapgen file. The problem I’m seeing is that they ignore any “weight” you assign them. Just for testing, I set up a…

---

## [How to add sound to weapons?](https://discourse.cataclysmdda.org/t/how-to-add-sound-to-weapons/17971)

<div class="topic-metadata">

**Author:** [@Ricky\_Van](https://discourse.cataclysmdda.org/u/Ricky_Van)\
**Replies:** 0\
**Last updated:** [December 17, 2018, 10:06am UTC](https://discourse.cataclysmdda.org/t/how-to-add-sound-to-weapons/17971 "2018-12-17T10:06:06Z")

</div>

so i have understand how to put my mods into spawn group of the game so they can spawn naturally but some of my weapon has no sound effects, so how can i add sound to my weapons?

---

## [Questions about making buildings in json](https://discourse.cataclysmdda.org/t/questions-about-making-buildings-in-json/17952)

<div class="topic-metadata">

**Author:** [@redxlaser15](https://discourse.cataclysmdda.org/u/redxlaser15)\
**Replies:** 2\
**Last updated:** [December 16, 2018, 1:17pm UTC](https://discourse.cataclysmdda.org/t/questions-about-making-buildings-in-json/17952 "2018-12-16T13:17:54Z")

</div>

I’m rather confused about the x and y coordinates in the json. I’m probably just being stupid, but I keep having issues with figuring out how exactly it works. More to the point: Where is the point of origin on those 24x…

---

## [CS students looking to fix issue #23440](https://discourse.cataclysmdda.org/t/cs-students-looking-to-fix-issue-23440/17737)

<div class="topic-metadata">

**Author:** [@audiencia-cereal](https://discourse.cataclysmdda.org/u/audiencia-cereal)\
**Replies:** 5\
**Last updated:** [December 15, 2018, 2:59am UTC](https://discourse.cataclysmdda.org/t/cs-students-looking-to-fix-issue-23440/17737 "2018-12-15T02:59:19Z")

</div>

We’re a group of CS students looking to make a contribution to an open source project. We’ve come across issue #23440, labeled “Good First Issue”, on the GitHub repo and we’re going to try to tackle it. We were hoping to…

---

## [Why place buldings on mission start, rather than end?](https://discourse.cataclysmdda.org/t/why-place-buldings-on-mission-start-rather-than-end/17888)

<div class="topic-metadata">

**Author:** [@hydroplatypus](https://discourse.cataclysmdda.org/u/hydroplatypus)\
**Replies:** 1\
**Last updated:** [December 13, 2018, 1:54am UTC](https://discourse.cataclysmdda.org/t/why-place-buldings-on-mission-start-rather-than-end/17888 "2018-12-13T01:54:07Z")

</div>

I’ve been looking through the mission code, and have noticed that all of the construction seems to occur when the next mission in a chain is started, rather than on the completion of the mission. Why is that? It seems li…

---

## [Working on a martial art](https://discourse.cataclysmdda.org/t/working-on-a-martial-art/17860)

<div class="topic-metadata">

**Author:** [@lcarus](https://discourse.cataclysmdda.org/u/lcarus)\
**Replies:** 2\
**Last updated:** [December 11, 2018, 6:05pm UTC](https://discourse.cataclysmdda.org/t/working-on-a-martial-art/17860 "2018-12-11T18:05:04Z")

</div>

\[ { "type" : "martial\_art", "id" : "style\_acrobat", "name" : "acrobat", "description": "hope this works", "arm\_block" : 99, "leg\_block" : 99, "ondodge\_buffs" : \[ { "id" : "…

---

## [Overriding item amount](https://discourse.cataclysmdda.org/t/overriding-item-amount/17791)

<div class="topic-metadata">

**Author:** [@TheMurderUnicorn](https://discourse.cataclysmdda.org/u/TheMurderUnicorn)\
**Replies:** 3\
**Last updated:** [December 8, 2018, 5:03am UTC](https://discourse.cataclysmdda.org/t/overriding-item-amount/17791 "2018-12-08T05:03:25Z")

</div>

Okay, so I’m wondering if there is a way to change the number of items being spawned for items that spawn in large quantities. Specifically, I’m creating a location where there are supplies related to reloading ammuniti…

---

## [Setting timers for game events](https://discourse.cataclysmdda.org/t/setting-timers-for-game-events/17783)

<div class="topic-metadata">

**Author:** [@nameless\_survivor](https://discourse.cataclysmdda.org/u/nameless_survivor)\
**Replies:** 18\
**Last updated:** [December 8, 2018, 1:56am UTC](https://discourse.cataclysmdda.org/t/setting-timers-for-game-events/17783 "2018-12-08T01:56:19Z")

</div>

---

## [Questions about modding in cdda](https://discourse.cataclysmdda.org/t/questions-about-modding-in-cdda/17754)

<div class="topic-metadata">

**Author:** [@Azure\_Soul\_Azur](https://discourse.cataclysmdda.org/u/Azure_Soul_Azur)\
**Replies:** 8\
**Last updated:** [December 7, 2018, 4:31pm UTC](https://discourse.cataclysmdda.org/t/questions-about-modding-in-cdda/17754 "2018-12-07T16:31:38Z")

</div>

Old name : Question about weapon modding in cdda 1 : Is there a way to have a gun in cdda need 2 different magazines and ammo? Like say… Need mag of 556 that has upto 30 rounds and then a gas canister that has upto 90 …

---

## [Help with json linter](https://discourse.cataclysmdda.org/t/help-with-json-linter/17773)

<div class="topic-metadata">

**Author:** [@TheMurderUnicorn](https://discourse.cataclysmdda.org/u/TheMurderUnicorn)\
**Replies:** 2\
**Last updated:** [December 7, 2018, 3:02am UTC](https://discourse.cataclysmdda.org/t/help-with-json-linter/17773 "2018-12-07T03:02:08Z")

</div>

Alright, so, I recently submitted a PR and then had to edit it multiple times because I suck and don’t format things the right way (yeah, I use tabs, hate me). Anyway, I saw a lot of talk about a linter on Github but I …

---

## [Need help on item-spawning for mod](https://discourse.cataclysmdda.org/t/need-help-on-item-spawning-for-mod/17732)

<div class="topic-metadata">

**Author:** [@Ricky\_Van](https://discourse.cataclysmdda.org/u/Ricky_Van)\
**Replies:** 25\
**Last updated:** [December 4, 2018, 8:58am UTC](https://discourse.cataclysmdda.org/t/need-help-on-item-spawning-for-mod/17732 "2018-12-04T08:58:30Z")

</div>

so basically i’ve been working on a mod and follows the rule of making mods and all but something makes me stuck here, to make item spawn naturally in the world, i have to create an item group, and i’ve already made it.…

---

## [Macros in cdda? Recording inputs](https://discourse.cataclysmdda.org/t/macros-in-cdda-recording-inputs/17700)

<div class="topic-metadata">

**Author:** [@Theundyingcode](https://discourse.cataclysmdda.org/u/Theundyingcode)\
**Replies:** 5\
**Last updated:** [December 2, 2018, 6:07am UTC](https://discourse.cataclysmdda.org/t/macros-in-cdda-recording-inputs/17700 "2018-12-02T06:07:29Z")

</div>

So, the idea of adding macros to cdda popped in: What's happening in YOUR randomly generated apocalypse? Part 2!. I really like this idea and started planning out how to implement a macro (engine?/ editor?/menu?.. i’ll …

---

## [Can't compile tiles, undefined variables :S](https://discourse.cataclysmdda.org/t/cant-compile-tiles-undefined-variables-s/17639)

<div class="topic-metadata">

**Author:** [@lscruz](https://discourse.cataclysmdda.org/u/lscruz)\
**Replies:** 5\
**Last updated:** [November 28, 2018, 8:34pm UTC](https://discourse.cataclysmdda.org/t/cant-compile-tiles-undefined-variables-s/17639 "2018-11-28T20:34:01Z")

</div>

Hi people! don’t know if this is the correct category lol when compiling lastest experimental in Linux i get the following warning: src/sdltiles.cpp: In function ‘curses\_drawwindow’: src/mapdata.h:254:0: error: ‘conne…

---

## [How to give Profession items help](https://discourse.cataclysmdda.org/t/how-to-give-profession-items-help/17586)

<div class="topic-metadata">

**Author:** [@Trivega](https://discourse.cataclysmdda.org/u/Trivega)\
**Replies:** 3\
**Last updated:** [November 23, 2018, 2:19am UTC](https://discourse.cataclysmdda.org/t/how-to-give-profession-items-help/17586 "2018-11-23T02:19:20Z")

</div>

Having trouble trying to figure out how to get this code to work. Trying to put loaded shotgun in back holster, but won’'t show up in game. “items”: { “both”: \[ “longshirt”, “jeans”, “mocassins”, “socks” \], “entr…

---

## [Writing a json reader/ factory in python; have questions!](https://discourse.cataclysmdda.org/t/writing-a-json-reader-factory-in-python-have-questions/17540)

<div class="topic-metadata">

**Author:** [@Theundyingcode](https://discourse.cataclysmdda.org/u/Theundyingcode)\
**Replies:** 2\
**Last updated:** [November 19, 2018, 11:30pm UTC](https://discourse.cataclysmdda.org/t/writing-a-json-reader-factory-in-python-have-questions/17540 "2018-11-19T23:30:29Z")

</div>

Context: Prompted by my work for: https://github.com/CleverRaven/Cataclysm-DDA/issues/26183, I am working on expanding my script to read in and perform the inheritence for all json objects (starting w/ ter, furn and wil…

---

## [Fallout mod, now in progress!](https://discourse.cataclysmdda.org/t/fallout-mod-now-in-progress/17492)

<div class="topic-metadata">

**Author:** [@Tefnut](https://discourse.cataclysmdda.org/u/Tefnut)\
**Replies:** 20\
**Last updated:** [November 17, 2018, 7:27am UTC](https://discourse.cataclysmdda.org/t/fallout-mod-now-in-progress/17492 "2018-11-17T07:27:19Z")

</div>

I mentioned this in a previous forum post, but now that ive actually started, i need help. https://github.com/Tefnut/Fallout-in-CDDA Here is my mod. so far. Just one weapon, it’s ammo, and it’s magazine. Shouldnt be too …

---

## [Autolearning martial arts](https://discourse.cataclysmdda.org/t/autolearning-martial-arts/17494)

<div class="topic-metadata">

**Author:** [@Medi\_Ding](https://discourse.cataclysmdda.org/u/Medi_Ding)\
**Replies:** 0\
**Last updated:** [November 17, 2018, 6:43am UTC](https://discourse.cataclysmdda.org/t/autolearning-martial-arts/17494 "2018-11-17T06:43:48Z")

</div>

What makes brawling get automatically learned at level 2? Is there a way I can replicate this with json? If not, is using lua a possibility?

---

## [Atmosphere and Microbes](https://discourse.cataclysmdda.org/t/atmosphere-and-microbes/17380)

<div class="topic-metadata">

**Author:** [@Eastwardrope91](https://discourse.cataclysmdda.org/u/Eastwardrope91)\
**Replies:** 14\
**Last updated:** [November 9, 2018, 6:12pm UTC](https://discourse.cataclysmdda.org/t/atmosphere-and-microbes/17380 "2018-11-09T18:12:20Z")

</div>

I was wondering if there was a way to change how gases worked so they were more realistic so lighting a fire doesn’t just warm an area it heats up gas in its time which spreads to other warming the whole base rather than…

---

## [Invalid material "dairy" \<-twas a bad build. lucky me](https://discourse.cataclysmdda.org/t/invalid-material-dairy-twas-a-bad-build-lucky-me/17334)

<div class="topic-metadata">

**Author:** [@Malkeus](https://discourse.cataclysmdda.org/u/Malkeus)\
**Replies:** 2\
**Last updated:** [November 6, 2018, 8:48am UTC](https://discourse.cataclysmdda.org/t/invalid-material-dairy-twas-a-bad-build-lucky-me/17334 "2018-11-06T08:48:23Z")

</div>

I have been updating a lot of mods for my pack… recently the dairy tag was added to several items and it sent up about…70 or so errors…on world load. The gist of the error is in the title. Now, the only mod that changed…

---

## [Is there a way to deactivate map memory?](https://discourse.cataclysmdda.org/t/is-there-a-way-to-deactivate-map-memory/17312)

<div class="topic-metadata">

**Author:** [@AskaHope](https://discourse.cataclysmdda.org/u/AskaHope)\
**Replies:** 8\
**Last updated:** [November 5, 2018, 8:05am UTC](https://discourse.cataclysmdda.org/t/is-there-a-way-to-deactivate-map-memory/17312 "2018-11-05T08:05:19Z")

</div>

I’d like to know if there is any way to turn it off on Android, it kinda kill my FPS. Plus I think the game was a little more challenging without it.

---

## [Modify individual monster spawn rate/cost](https://discourse.cataclysmdda.org/t/modify-individual-monster-spawn-rate-cost/17306)

<div class="topic-metadata">

**Author:** [@Dozed12](https://discourse.cataclysmdda.org/u/Dozed12)\
**Replies:** 8\
**Last updated:** [November 3, 2018, 5:37pm UTC](https://discourse.cataclysmdda.org/t/modify-individual-monster-spawn-rate-cost/17306 "2018-11-03T17:37:19Z")

</div>

I’m trying to make a mod disabling some monster groups and change spawn rate/cost of specific monsters. I got around to blacklist groups as it’s quite straight forward. However I’m not sure how to override default spawn …

---

## [Vehicle addition thread?](https://discourse.cataclysmdda.org/t/vehicle-addition-thread/17302)

<div class="topic-metadata">

**Author:** [@Balgias](https://discourse.cataclysmdda.org/u/Balgias)\
**Replies:** 3\
**Last updated:** [November 2, 2018, 8:28pm UTC](https://discourse.cataclysmdda.org/t/vehicle-addition-thread/17302 "2018-11-02T20:28:35Z")

</div>

I had downloaded a compiled version of the game from roughly Jan of this year and it came with a version of the vehicle additions mod where ALL of the turrets strike your own vehicle, I can not for the LIFE OF ME find an…

---

## [How easy or hard is it to make martial arts and books? Plus other questions](https://discourse.cataclysmdda.org/t/how-easy-or-hard-is-it-to-make-martial-arts-and-books-plus-other-questions/17261)

<div class="topic-metadata">

**Author:** [@Tefnut](https://discourse.cataclysmdda.org/u/Tefnut)\
**Replies:** 3\
**Last updated:** [October 31, 2018, 2:29am UTC](https://discourse.cataclysmdda.org/t/how-easy-or-hard-is-it-to-make-martial-arts-and-books-plus-other-questions/17261 "2018-10-31T02:29:33Z")

</div>

One thing for my Fallout project im making is a bunch of combat styles, currently im thinking about Courier and Chosen One styles, given both of them have a vast variety of unarmed moves (The courier having 4 learnable f…

---

## [A Fallout mod idea, so... Are there any tutorials? Help at all for a mod?](https://discourse.cataclysmdda.org/t/a-fallout-mod-idea-so-are-there-any-tutorials-help-at-all-for-a-mod/17247)

<div class="topic-metadata">

**Author:** [@Tefnut](https://discourse.cataclysmdda.org/u/Tefnut)\
**Replies:** 6\
**Last updated:** [October 30, 2018, 7:30am UTC](https://discourse.cataclysmdda.org/t/a-fallout-mod-idea-so-are-there-any-tutorials-help-at-all-for-a-mod/17247 "2018-10-30T07:30:46Z")

</div>

I had an amazing idea. Basically, a Fallout mod for the game; items from throughout the series, from the humble Colt 6250 (Better known as the classic 10mm Pistol) to the all-powerful Vindicator minigun. Also books. Ther…

---

## [How does GASMASK iuse function work?](https://discourse.cataclysmdda.org/t/how-does-gasmask-iuse-function-work/17224)

<div class="topic-metadata">

**Author:** [@Kurchie](https://discourse.cataclysmdda.org/u/Kurchie)\
**Replies:** 5\
**Last updated:** [October 30, 2018, 4:52am UTC](https://discourse.cataclysmdda.org/t/how-does-gasmask-iuse-function-work/17224 "2018-10-30T04:52:16Z")

</div>

Basically in title. How is it implemented? Does used/empty cartridge drop from mask when used up or does it disappear with no scavenge part? Flag did not exist when I started my mod, now it is here. Maybe it make my mod …

---

## [How to override default buildings?](https://discourse.cataclysmdda.org/t/how-to-override-default-buildings/11845)

<div class="topic-metadata">

**Author:** [@Alec\_White](https://discourse.cataclysmdda.org/u/Alec_White)\
**Replies:** 5\
**Last updated:** [October 28, 2018, 11:45am UTC](https://discourse.cataclysmdda.org/t/how-to-override-default-buildings/11845 "2018-10-28T11:45:37Z")

</div>

I thought that by just the type mapgen, it would override an existing building, but it doesn’t like it. And I don’t manage to find a way to do it by what I get out of the documentation. Is there a way to override defau…

---

## [Martial arts json questions](https://discourse.cataclysmdda.org/t/martial-arts-json-questions/17116)

<div class="topic-metadata">

**Author:** [@Medi\_Ding](https://discourse.cataclysmdda.org/u/Medi_Ding)\
**Replies:** 0\
**Last updated:** [October 23, 2018, 5:31am UTC](https://discourse.cataclysmdda.org/t/martial-arts-json-questions/17116 "2018-10-23T05:31:47Z")

</div>

I was looking through the martial arts json, and I saw that there were things like onhit, onmove, and ondodge buffs. Is there an option to add a buff that appears when you block an attack? I don’t think it is clumped in …

---

## [Problem with 'multi' for ammo pouches/disappearing magazines](https://discourse.cataclysmdda.org/t/problem-with-multi-for-ammo-pouches-disappearing-magazines/16996)

<div class="topic-metadata">

**Author:** [@Genn\_Faol](https://discourse.cataclysmdda.org/u/Genn_Faol)\
**Replies:** 7\
**Last updated:** [October 21, 2018, 8:59pm UTC](https://discourse.cataclysmdda.org/t/problem-with-multi-for-ammo-pouches-disappearing-magazines/16996 "2018-10-21T20:59:42Z")

</div>

Hey there. So, just to be clear from the start, I am on an older experimental version, specifically 0.C 11641. I saw that in newer versions, ammo pouches were updated to use the ‘multi’ tag that allowed them to store mul…

---

## [How is the amount of experienced gain through... well any action (I am specifically looking into crafting) determined?](https://discourse.cataclysmdda.org/t/how-is-the-amount-of-experienced-gain-through-well-any-action-i-am-specifically-looking-into-crafting-determined/16956)

<div class="topic-metadata">

**Author:** [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)\
**Replies:** 5\
**Last updated:** [October 14, 2018, 7:28am UTC](https://discourse.cataclysmdda.org/t/how-is-the-amount-of-experienced-gain-through-well-any-action-i-am-specifically-looking-into-crafting-determined/16956 "2018-10-14T07:28:03Z")

</div>

I need to get better at making actual titles.

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

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