# The Toolbox

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

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

**Page:** 19

---

## [Compiling Question](https://discourse.cataclysmdda.org/t/compiling-question/9926)

<div class="topic-metadata">

**Author:** [@mattychan](https://discourse.cataclysmdda.org/u/mattychan)\
**Replies:** 2\
**Last updated:** [June 25, 2015, 9:51pm UTC](https://discourse.cataclysmdda.org/t/compiling-question/9926 "2015-06-25T21:51:49Z")

</div>

Sorry to post about something like this, but I am new to this. I am using the CodeBlocks IDE, and it seems this is no longer how it is done. I want to contribute, but I need a way to test what I make before I go shoving…

---

## [Creating new types of gaseous clouds](https://discourse.cataclysmdda.org/t/creating-new-types-of-gaseous-clouds/9910)

<div class="topic-metadata">

**Author:** [@skYman](https://discourse.cataclysmdda.org/u/skYman)\
**Replies:** 18\
**Last updated:** [June 24, 2015, 6:12am UTC](https://discourse.cataclysmdda.org/t/creating-new-types-of-gaseous-clouds/9910 "2015-06-24T06:12:54Z")

</div>

We were thinking about creating a new chemical sprayer type weapon to combat the fungus with sprayable fungicide or other chemicals. How difficult would it be to implement new gases? I picture the weapon working similar…

---

## [Error when trying to load my mod](https://discourse.cataclysmdda.org/t/error-when-trying-to-load-my-mod/9916)

<div class="topic-metadata">

**Author:** [@Born\_tobe\_Mild](https://discourse.cataclysmdda.org/u/Born_tobe_Mild)\
**Replies:** 7\
**Last updated:** [June 23, 2015, 8:42pm UTC](https://discourse.cataclysmdda.org/t/error-when-trying-to-load-my-mod/9916 "2015-06-23T20:42:43Z")

</div>

My profession mod for a mobster shows up as intended in the mod menu, and a world is created with it just fine, but when I go to create a new character for this world, I get this error. Debug: Error loading data from js…

---

## [Removing a certain type of basement](https://discourse.cataclysmdda.org/t/removing-a-certain-type-of-basement/9818)

<div class="topic-metadata">

**Author:** [@Bumpkin](https://discourse.cataclysmdda.org/u/Bumpkin)\
**Replies:** 2\
**Last updated:** [June 16, 2015, 7:15am UTC](https://discourse.cataclysmdda.org/t/removing-a-certain-type-of-basement/9818 "2015-06-16T07:15:43Z")

</div>

I’m making a little minimod for my own playthroughs and I wanted to remove that type of basement with the survivor zombies and three rows of horizontal metal racks loaded with guns and ammo. I feel like it’s too common a…

---

## [Need some help - Adding a craftable Planter/ Wheelbarrow type thing](https://discourse.cataclysmdda.org/t/need-some-help-adding-a-craftable-planter-wheelbarrow-type-thing/9770)

<div class="topic-metadata">

**Author:** [@Turtlicious](https://discourse.cataclysmdda.org/u/Turtlicious)\
**Replies:** 6\
**Last updated:** [June 10, 2015, 9:58am UTC](https://discourse.cataclysmdda.org/t/need-some-help-adding-a-craftable-planter-wheelbarrow-type-thing/9770 "2015-06-10T09:58:19Z")

</div>

\[image\] So I use the code from the Travois, and took out light\_wooden frame and added just wooden frame. To give out door survivalists a method to carry a great deal that is a bit http://pastebin.com/RLcseZwX It works…

---

## [Question about NPCs](https://discourse.cataclysmdda.org/t/question-about-npcs/9724)

<div class="topic-metadata">

**Author:** [@jokermatt999](https://discourse.cataclysmdda.org/u/jokermatt999)\
**Replies:** 0\
**Last updated:** [June 2, 2015, 2:10pm UTC](https://discourse.cataclysmdda.org/t/question-about-npcs/9724 "2015-06-02T14:10:03Z")

</div>

Are the enums in NPC.h really how attitudes, missions, etc are stored, or is that legacy code? It seems very fragile, and liable to cause merge conflicts or weird bugs later on. However, I haven’t had a chance to dig thr…

---

## [Editing Buildings](https://discourse.cataclysmdda.org/t/editing-buildings/9682)

<div class="topic-metadata">

**Author:** [@Cornuthaum](https://discourse.cataclysmdda.org/u/Cornuthaum)\
**Replies:** 4\
**Last updated:** [May 28, 2015, 5:02pm UTC](https://discourse.cataclysmdda.org/t/editing-buildings/9682 "2015-05-28T17:02:33Z")

</div>

I’ve been digging through the map data jsons, both overmap and the specific buildings, to see what I can do with them. Which left me with a somewhat startling realization: The jsons in the 0.C release are, ah, somewhat i…

---

## [Visual studios 2013 build errors](https://discourse.cataclysmdda.org/t/visual-studios-2013-build-errors/9637)

<div class="topic-metadata">

**Author:** [@hurnhu](https://discourse.cataclysmdda.org/u/hurnhu)\
**Replies:** 0\
**Last updated:** [May 21, 2015, 2:27pm UTC](https://discourse.cataclysmdda.org/t/visual-studios-2013-build-errors/9637 "2015-05-21T14:27:35Z")

</div>

I just forked the git project, cloned it, and opened in and i get 14 errors. the errors are: 14 IntelliSense: cannot open source file “cuchar” e:\\git\\Cataclysm-DDA\\msvc140\\pch.hpp 28 1 Cataclysm Error 1 error C2665: ‘s…

---

## [My random mod ideas i need help with](https://discourse.cataclysmdda.org/t/my-random-mod-ideas-i-need-help-with/9580)

<div class="topic-metadata">

**Author:** [@sammyjudo](https://discourse.cataclysmdda.org/u/sammyjudo)\
**Replies:** 4\
**Last updated:** [May 19, 2015, 12:56pm UTC](https://discourse.cataclysmdda.org/t/my-random-mod-ideas-i-need-help-with/9580 "2015-05-19T12:56:06Z")

</div>

I need help with figuring out the code for a few mod ideas i had mainly revolving around the idea of a base that dosent need outside input aka the ultimate survival shelter. Heres a list of them with breif explanations r…

---

## [What Determines Vehicle Spawns for Roads and Cities?](https://discourse.cataclysmdda.org/t/what-determines-vehicle-spawns-for-roads-and-cities/8825)

<div class="topic-metadata">

**Author:** [@Nioca](https://discourse.cataclysmdda.org/u/Nioca)\
**Replies:** 10\
**Last updated:** [May 16, 2015, 6:01pm UTC](https://discourse.cataclysmdda.org/t/what-determines-vehicle-spawns-for-roads-and-cities/8825 "2015-05-16T18:01:57Z")

</div>

Hey, it’s been a while since I last posted. I’ve was poking around the JSON, thinking of creating a mod to expand the pool of pre-set vehicles that can spawn. I think I’ve got creating new vehicle templates figured out, …

---

## [Newbie question](https://discourse.cataclysmdda.org/t/newbie-question/9547)

<div class="topic-metadata">

**Author:** [@Thwap](https://discourse.cataclysmdda.org/u/Thwap)\
**Replies:** 5\
**Last updated:** [May 4, 2015, 11:52pm UTC](https://discourse.cataclysmdda.org/t/newbie-question/9547 "2015-05-04T23:52:20Z")

</div>

If I were to go into vehicle\_parts.json and add the WINDOW flag to the heavy duty hatch, would that allow curtains to be installed on it? If not, how can I make that happen? And if I do make some small but potentially u…

---

## [Action Help](https://discourse.cataclysmdda.org/t/action-help/9523)

<div class="topic-metadata">

**Author:** [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)\
**Replies:** 1\
**Last updated:** [May 4, 2015, 12:15pm UTC](https://discourse.cataclysmdda.org/t/action-help/9523 "2015-05-04T12:15:12Z")

</div>

Someone over on the garage forum suggested that I move my problem here but anyway. I am trying to create a mod that adds a item that acts as an alternative to the acetylene torch, mostly for opening locked metal doors. I…

---

## [ARGH! Buildings.jsons](https://discourse.cataclysmdda.org/t/argh-buildings-jsons/9452)

<div class="topic-metadata">

**Author:** [@secretfire](https://discourse.cataclysmdda.org/u/secretfire)\
**Replies:** 3\
**Last updated:** [April 21, 2015, 6:04pm UTC](https://discourse.cataclysmdda.org/t/argh-buildings-jsons/9452 "2015-04-21T18:04:05Z")

</div>

I have the following code taken from warehouse.json "furniture": { "1" : "f\_crate\_c", "2" : "f\_sink", "5" : "f\_counter", "6" : "f\_chair", …

---

## [Pulling data from item "use\_action" for monster special attack](https://discourse.cataclysmdda.org/t/pulling-data-from-item-use-action-for-monster-special-attack/9444)

<div class="topic-metadata">

**Author:** [@i2amroy](https://discourse.cataclysmdda.org/u/i2amroy)\
**Replies:** 5\
**Last updated:** [April 20, 2015, 9:13pm UTC](https://discourse.cataclysmdda.org/t/pulling-data-from-item-use-action-for-monster-special-attack/9444 "2015-04-20T21:13:50Z")

</div>

Heavy coder question here! I’m working on making some kamikaze robots. However, to avoid hardcoding every single one I’m attempting my hand at a generic “blow yourself up with the first item in your ammo list” monattack…

---

## [Is downloading GitHub locally strictly necessary?](https://discourse.cataclysmdda.org/t/is-downloading-github-locally-strictly-necessary/8910)

<div class="topic-metadata">

**Author:** [@Nioca](https://discourse.cataclysmdda.org/u/Nioca)\
**Replies:** 11\
**Last updated:** [April 17, 2015, 9:26am UTC](https://discourse.cataclysmdda.org/t/is-downloading-github-locally-strictly-necessary/8910 "2015-04-17T09:26:01Z")

</div>

Okay, probably a dumb newbie question here, but here goes. Is it strictly necessary to download GitHub to your computer to work on the code? I ask, for two reasons. First, I’m on dial-up, and not even particularly fast …

---

## [Wierd Clothing Questions](https://discourse.cataclysmdda.org/t/wierd-clothing-questions/9360)

<div class="topic-metadata">

**Author:** [@secretfire](https://discourse.cataclysmdda.org/u/secretfire)\
**Replies:** 1\
**Last updated:** [April 9, 2015, 8:36pm UTC](https://discourse.cataclysmdda.org/t/wierd-clothing-questions/9360 "2015-04-09T20:36:40Z")

</div>

Is it possible to make clothing that can’t be removed? I’m thinking up ideas for ‘low hanging fruit’ I could mod in, and there are more then a few that come to mind. I’ve done basic item modding on my local copy for stuf…

---

## [How are armor values calculated?](https://discourse.cataclysmdda.org/t/how-are-armor-values-calculated/9338)

<div class="topic-metadata">

**Author:** [@Noodles\_of\_Doom](https://discourse.cataclysmdda.org/u/Noodles_of_Doom)\
**Replies:** 2\
**Last updated:** [April 7, 2015, 6:12pm UTC](https://discourse.cataclysmdda.org/t/how-are-armor-values-calculated/9338 "2015-04-07T18:12:21Z")

</div>

I’m trying to update the defense values of all clothing items for the DDA wiki, but it looks like the said values are determined by A) the materials each piece of clothing is made out of and B) the # of layers which are …

---

## [How to remove, edit in-game items through mod?](https://discourse.cataclysmdda.org/t/how-to-remove-edit-in-game-items-through-mod/9274)

<div class="topic-metadata">

**Author:** [@kngsnghun](https://discourse.cataclysmdda.org/u/kngsnghun)\
**Replies:** 1\
**Last updated:** [March 29, 2015, 3:15pm UTC](https://discourse.cataclysmdda.org/t/how-to-remove-edit-in-game-items-through-mod/9274 "2015-03-29T15:15:08Z")

</div>

Hello friends! Sorry in advance for the weird English and newbie questions. I’ve been enjoying cataclysm before it hit 0.A and i really wanted to help the community by making some mods. So what i’m trying to do is add …

---

## [JSON mapgen questions](https://discourse.cataclysmdda.org/t/json-mapgen-questions/9182)

<div class="topic-metadata">

**Author:** [@Trinsic](https://discourse.cataclysmdda.org/u/Trinsic)\
**Replies:** 0\
**Last updated:** [March 19, 2015, 2:06pm UTC](https://discourse.cataclysmdda.org/t/json-mapgen-questions/9182 "2015-03-19T14:06:02Z")

</div>

I was wondering if anyone could help with a couple of questions I have about the mapgen JSON? I’ve poked around in the wiki and the forums, but haven’t been able to locate the information myself. First, what are the “ch…

---

## [Github: how to sync repositories?](https://discourse.cataclysmdda.org/t/github-how-to-sync-repositories/9019)

<div class="topic-metadata">

**Author:** [@Murphy](https://discourse.cataclysmdda.org/u/Murphy)\
**Replies:** 4\
**Last updated:** [March 1, 2015, 12:44pm UTC](https://discourse.cataclysmdda.org/t/github-how-to-sync-repositories/9019 "2015-03-01T12:44:45Z")

</div>

I forked the repository a while ago and I can’t figure out how to properly sync it with the baseline. I created a pull request from the baseline to my fork and merged it but it now says that my fork “is 1 commit ahead o…

---

## [Changing the meaning of multiple entries in itype::use\_methods](https://discourse.cataclysmdda.org/t/changing-the-meaning-of-multiple-entries-in-itype-use-methods/8917)

<div class="topic-metadata">

**Author:** [@Coolthulhu](https://discourse.cataclysmdda.org/u/Coolthulhu)\
**Replies:** 1\
**Last updated:** [February 14, 2015, 10:21pm UTC](https://discourse.cataclysmdda.org/t/changing-the-meaning-of-multiple-entries-in-itype-use-methods/8917 "2015-02-14T22:21:27Z")

</div>

I’m looking more for a permission than guidance here (though guidance will also be appreciated). Didn’t know where to ask. Currently itype::use\_methods are used all at once. As far as I know no item is ever created with…

---

## [Inserting ints into a menu string](https://discourse.cataclysmdda.org/t/inserting-ints-into-a-menu-string/8875)

<div class="topic-metadata">

**Author:** [@PropaneSoup](https://discourse.cataclysmdda.org/u/PropaneSoup)\
**Replies:** 1\
**Last updated:** [February 11, 2015, 2:58pm UTC](https://discourse.cataclysmdda.org/t/inserting-ints-into-a-menu-string/8875 "2015-02-11T14:58:11Z")

</div>

I’ve been working on my Clothing PR and I figured this was a better place to ask a question than my already long Github PR page. I’ve been trying to add a little note at the end of each menu option to show how much that …

---

## [Monster attack tokens](https://discourse.cataclysmdda.org/t/monster-attack-tokens/8888)

<div class="topic-metadata">

**Author:** [@RipRoarinBoogerPenis](https://discourse.cataclysmdda.org/u/RipRoarinBoogerPenis)\
**Replies:** 1\
**Last updated:** [February 10, 2015, 2:13pm UTC](https://discourse.cataclysmdda.org/t/monster-attack-tokens/8888 "2015-02-10T14:13:42Z")

</div>

How do monster attack tokens in monsters.json (like \[“LEAP”, 5\]) work with monattack files in the src?

---

## [Ncurses and Codepage 437](https://discourse.cataclysmdda.org/t/ncurses-and-codepage-437/8774)

<div class="topic-metadata">

**Author:** [@eccentric](https://discourse.cataclysmdda.org/u/eccentric)\
**Replies:** 2\
**Last updated:** [February 5, 2015, 1:59am UTC](https://discourse.cataclysmdda.org/t/ncurses-and-codepage-437/8774 "2015-02-05T01:59:57Z")

</div>

Are all 256 characters from Codepage 437 available in the game? Looking at the included fonts and tilesets is seems like people are accounting for Codepage 437. The .json files have about 170 unique chars between them. …

---

## [Adding Horde Options](https://discourse.cataclysmdda.org/t/adding-horde-options/8823)

<div class="topic-metadata">

**Author:** [@akamber](https://discourse.cataclysmdda.org/u/akamber)\
**Replies:** 0\
**Last updated:** [February 2, 2015, 5:04pm UTC](https://discourse.cataclysmdda.org/t/adding-horde-options/8823 "2015-02-02T17:04:52Z")

</div>

I would like to make some specific options possible for the dynamic spawns of hordes. I have done this in previous builds (I think when they first came out) but they didn’t quite work as I intended. Wondering how exact…

---

## [Overmap tileset possible?](https://discourse.cataclysmdda.org/t/overmap-tileset-possible/8814)

<div class="topic-metadata">

**Author:** [@Arkenstone](https://discourse.cataclysmdda.org/u/Arkenstone)\
**Replies:** 1\
**Last updated:** [February 2, 2015, 10:08am UTC](https://discourse.cataclysmdda.org/t/overmap-tileset-possible/8814 "2015-02-02T10:08:44Z")

</div>

Relatively simple question - is it possible to use a tileset for the overmap at the moment, or is it still hardcoded to ASCII?

---

## [Simple Question: How To - Item Replacing Mod?](https://discourse.cataclysmdda.org/t/simple-question-how-to-item-replacing-mod/8811)

<div class="topic-metadata">

**Author:** [@Lanceo90](https://discourse.cataclysmdda.org/u/Lanceo90)\
**Replies:** 2\
**Last updated:** [January 31, 2015, 10:36pm UTC](https://discourse.cataclysmdda.org/t/simple-question-how-to-item-replacing-mod/8811 "2015-01-31T22:36:55Z")

</div>

Hey guys, I’ve been editing some game items to have stats I prefer(keeping exactly what secret till I post the mod). So far I just edited the items in their .json, and they do work as I intended now. My question is, i…

---

## [Unrecognized iuse function](https://discourse.cataclysmdda.org/t/unrecognized-iuse-function/8788)

<div class="topic-metadata">

**Author:** [@Malkeus](https://discourse.cataclysmdda.org/u/Malkeus)\
**Replies:** 2\
**Last updated:** [January 29, 2015, 1:44am UTC](https://discourse.cataclysmdda.org/t/unrecognized-iuse-function/8788 "2015-01-29T01:44:31Z")

</div>

I was digging around in the lab and found this: http://smf.cataclysmdda.com/index.php?topic=7270.0. Its an Air Drops mod, by Duros. I immediately tossed it in my mods folder and…missing items, lameness and allaround bleh…

---

## [Preserving local changes during git pull](https://discourse.cataclysmdda.org/t/preserving-local-changes-during-git-pull/8672)

<div class="topic-metadata">

**Author:** [@ThinkInvisible](https://discourse.cataclysmdda.org/u/ThinkInvisible)\
**Replies:** 2\
**Last updated:** [January 22, 2015, 8:55pm UTC](https://discourse.cataclysmdda.org/t/preserving-local-changes-during-git-pull/8672 "2015-01-22T20:55:24Z")

</div>

By the time I got a branch done there were several new merges; the branch’s compare page on github is full of differences with things that other people changed. Currently, if I use ‘git pull upstream master’ on my branc…

---

## [Help on adding effects to clothing](https://discourse.cataclysmdda.org/t/help-on-adding-effects-to-clothing/8701)

<div class="topic-metadata">

**Author:** [@cjusa1234](https://discourse.cataclysmdda.org/u/cjusa1234)\
**Replies:** 2\
**Last updated:** [January 21, 2015, 10:07pm UTC](https://discourse.cataclysmdda.org/t/help-on-adding-effects-to-clothing/8701 "2015-01-21T22:07:52Z")

</div>

I have been tinkering with the armor and item json files and I made a new effect. It is valid, but i do not know how to add one to clothing. I was trying to make a blindfold that removes all vision. Any help is appreciat…

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

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