# The Toolbox

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

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

**Page:** 22

---

## [Bodies as ingredients(and some other questions)](https://discourse.cataclysmdda.org/t/bodies-as-ingredients-and-some-other-questions/6140)

<div class="topic-metadata">

**Author:** [@dambuk1](https://discourse.cataclysmdda.org/u/dambuk1)\
**Replies:** 6\
**Last updated:** [May 16, 2014, 8:46am UTC](https://discourse.cataclysmdda.org/t/bodies-as-ingredients-and-some-other-questions/6140 "2014-05-16T08:46:25Z")

</div>

Right now, i am messing with recipes and items to create “dormant minion” item (something like an inactive manhack, except after activating it becomes a friendly zombie). So here is my question - can i use “human body” …

---

## [\[WIP\] Cataclysm: Gun Nut's Arsenal](https://discourse.cataclysmdda.org/t/wip-cataclysm-gun-nuts-arsenal/2932)

<div class="topic-metadata">

**Author:** [@Zaweri\_Runewright](https://discourse.cataclysmdda.org/u/Zaweri_Runewright)\
**Replies:** 54\
**Last updated:** [May 11, 2014, 9:14am UTC](https://discourse.cataclysmdda.org/t/wip-cataclysm-gun-nuts-arsenal/2932 "2014-05-11T09:14:16Z")

</div>

Hello, I am Zaweri, some of you may know me from the IRC. I am looking for help, mainly with making new items, textures and looking up stuff. My goal is to add as many guns as possible into this mod, and also keep it upd…

---

## [Auxiliary Weapon Question](https://discourse.cataclysmdda.org/t/auxiliary-weapon-question/6086)

<div class="topic-metadata">

**Author:** [@XavierStudios](https://discourse.cataclysmdda.org/u/XavierStudios)\
**Replies:** 2\
**Last updated:** [May 10, 2014, 2:46am UTC](https://discourse.cataclysmdda.org/t/auxiliary-weapon-question/6086 "2014-05-10T02:46:18Z")

</div>

Is it possible for a weapon to have an auxiliary fire mode, like an M203 or flamethrower, by default when a weapon is spawned? Despite the game changing so rapidly, I tried searching and, as expected, nothing came up. T…

---

## [Documentation and Factions](https://discourse.cataclysmdda.org/t/documentation-and-factions/6040)

<div class="topic-metadata">

**Author:** [@Vherid](https://discourse.cataclysmdda.org/u/Vherid)\
**Replies:** 2\
**Last updated:** [May 5, 2014, 3:40am UTC](https://discourse.cataclysmdda.org/t/documentation-and-factions/6040 "2014-05-05T03:40:50Z")

</div>

So I thought of a few ideas that would be an interesting thing to play, and realized they would work really well with this game, as this game already has most of the key pieces built into it, and would only need a conver…

---

## [How to Make Canteens Wearable](https://discourse.cataclysmdda.org/t/how-to-make-canteens-wearable/6028)

<div class="topic-metadata">

**Author:** [@Tawarochir](https://discourse.cataclysmdda.org/u/Tawarochir)\
**Replies:** 2\
**Last updated:** [May 4, 2014, 5:53pm UTC](https://discourse.cataclysmdda.org/t/how-to-make-canteens-wearable/6028 "2014-05-04T17:53:37Z")

</div>

I couldn’t see anything about this anywhere else. I want to add a “strap” of sorts to canteens so you can wear them; how would I do this? Is it possible for it to still hold water?

---

## [All source files re-compiled after header change](https://discourse.cataclysmdda.org/t/all-source-files-re-compiled-after-header-change/5964)

<div class="topic-metadata">

**Author:** [@Mattaclysm](https://discourse.cataclysmdda.org/u/Mattaclysm)\
**Replies:** 12\
**Last updated:** [April 29, 2014, 12:14pm UTC](https://discourse.cataclysmdda.org/t/all-source-files-re-compiled-after-header-change/5964 "2014-04-29T12:14:52Z")

</div>

When I modify any header file using Code::Blocks and do a build, mingw re-compiles every .cpp file in the project (and takes about 4 minutes). Is there a way to only compile the one .cpp that was modified? This would dra…

---

## [Reducing wildlife spawns?](https://discourse.cataclysmdda.org/t/reducing-wildlife-spawns/5963)

<div class="topic-metadata">

**Author:** [@Bumpkin](https://discourse.cataclysmdda.org/u/Bumpkin)\
**Replies:** 0\
**Last updated:** [April 27, 2014, 1:40pm UTC](https://discourse.cataclysmdda.org/t/reducing-wildlife-spawns/5963 "2014-04-27T13:40:19Z")

</div>

Is there any way to drastically reduce the amount of animal spawns? I love this game, but after day 2 animals are everywhere, and aside from being a majorly annoying nuisance, it’s completely removed any “finding food” s…

---

## [How vehicles spawn?](https://discourse.cataclysmdda.org/t/how-vehicles-spawn/5954)

<div class="topic-metadata">

**Author:** [@McFeel1](https://discourse.cataclysmdda.org/u/McFeel1)\
**Replies:** 4\
**Last updated:** [April 26, 2014, 7:11pm UTC](https://discourse.cataclysmdda.org/t/how-vehicles-spawn/5954 "2014-04-26T19:11:51Z")

</div>

Hi, I want to add new vehicles, but don’t know how to make them spawn in game. There are a file like item\_groups.json for vehicles, they spawn randomly, or the spawn is harcoded? Thanks in advance.

---

## [Virtual Disk Image to compile CDDA for windows with](https://discourse.cataclysmdda.org/t/virtual-disk-image-to-compile-cdda-for-windows-with/5943)

<div class="topic-metadata">

**Author:** [@CIB](https://discourse.cataclysmdda.org/u/CIB)\
**Replies:** 1\
**Last updated:** [April 25, 2014, 3:52pm UTC](https://discourse.cataclysmdda.org/t/virtual-disk-image-to-compile-cdda-for-windows-with/5943 "2014-04-25T15:52:58Z")

</div>

I’ve set up a minimal arch linux installation on Virtualbox and installed mxe on it. The thing can now easily compile CDDA. All you need to do is: Install virtualbox Download the disk image and open it with VirtualBox,…

---

## [Primary charge check for tools](https://discourse.cataclysmdda.org/t/primary-charge-check-for-tools/5937)

<div class="topic-metadata">

**Author:** [@BeigeSand](https://discourse.cataclysmdda.org/u/BeigeSand)\
**Replies:** 9\
**Last updated:** [April 24, 2014, 11:23am UTC](https://discourse.cataclysmdda.org/t/primary-charge-check-for-tools/5937 "2014-04-24T11:23:03Z")

</div>

I’m trying to add a mod to tools that allows them to run off of a UPS. There appears to be a generic call for all tools that checks if they have enough charges to perform their function, one being called outside of iuse.…

---

## [Multiple special attacks?](https://discourse.cataclysmdda.org/t/multiple-special-attacks/5898)

<div class="topic-metadata">

**Author:** [@Aluminumfoil](https://discourse.cataclysmdda.org/u/Aluminumfoil)\
**Replies:** 2\
**Last updated:** [April 20, 2014, 7:12am UTC](https://discourse.cataclysmdda.org/t/multiple-special-attacks/5898 "2014-04-20T07:12:24Z")

</div>

How does cata handle creatures with multiple specials, like zombie scientists? I’ve looked through the jsons and can’t figure it out. Is it in the compiled code somewhere, instead?

---

## [Error using std::sort with item class](https://discourse.cataclysmdda.org/t/error-using-std-sort-with-item-class/5884)

<div class="topic-metadata">

**Author:** [@Mattaclysm](https://discourse.cataclysmdda.org/u/Mattaclysm)\
**Replies:** 1\
**Last updated:** [April 18, 2014, 10:21pm UTC](https://discourse.cataclysmdda.org/t/error-using-std-sort-with-item-class/5884 "2014-04-18T22:21:05Z")

</div>

I’m getting the following error when trying to sort a std::pair using a predicate. Could someone shed some light on why I’m getting this? My research on this error hasn’t come up with anything helpful. \[spoiler=Error\]er…

---

## [Adding source files](https://discourse.cataclysmdda.org/t/adding-source-files/5857)

<div class="topic-metadata">

**Author:** [@Heruedhel](https://discourse.cataclysmdda.org/u/Heruedhel)\
**Replies:** 1\
**Last updated:** [April 15, 2014, 6:28pm UTC](https://discourse.cataclysmdda.org/t/adding-source-files/5857 "2014-04-15T18:28:55Z")

</div>

I have made a few changes to the code. I pulled some stuff out of the game class and put it in a new class. I updated the project for my development environment (MVS2013) to add the .h and .cpp files of the new class. H…

---

## [Recipes and qualities: Pointer Perplexion, or How Do I Make This Work?](https://discourse.cataclysmdda.org/t/recipes-and-qualities-pointer-perplexion-or-how-do-i-make-this-work/5735)

<div class="topic-metadata">

**Author:** [@Sean\_Mirrsen](https://discourse.cataclysmdda.org/u/Sean_Mirrsen)\
**Replies:** 2\
**Last updated:** [April 4, 2014, 9:47pm UTC](https://discourse.cataclysmdda.org/t/recipes-and-qualities-pointer-perplexion-or-how-do-i-make-this-work/5735 "2014-04-04T21:47:10Z")

</div>

Greetings. I’ve coded myself into a corner here, because I am nowhere near a good enough programmer to figure this out on my own, apparently, and I am requesting some qualified advice to help me get over this hurdle. H…

---

## [A couple of Questions](https://discourse.cataclysmdda.org/t/a-couple-of-questions/5724)

<div class="topic-metadata">

**Author:** [@Chiko](https://discourse.cataclysmdda.org/u/Chiko)\
**Replies:** 2\
**Last updated:** [April 4, 2014, 9:36pm UTC](https://discourse.cataclysmdda.org/t/a-couple-of-questions/5724 "2014-04-04T21:36:31Z")

</div>

What does creature size do? I can guess it dictates how much meat you can harvest from a creature… but what else can this piece of code do? Also, I’m not really sure I fully understand item spawning. { "type": …

---

## [Vehicle Movement and general scale](https://discourse.cataclysmdda.org/t/vehicle-movement-and-general-scale/5709)

<div class="topic-metadata">

**Author:** [@Dotdotdot](https://discourse.cataclysmdda.org/u/Dotdotdot)\
**Replies:** 4\
**Last updated:** [April 3, 2014, 4:48pm UTC](https://discourse.cataclysmdda.org/t/vehicle-movement-and-general-scale/5709 "2014-04-03T16:48:37Z")

</div>

I’ve been trying to adjust the scale of my game to something where one square is around 5 ft. by 5 ft. It’s not really for the sake of realism per se, but it’s just something that bugs me. I also know very little about C…

---

## [Is there any way to make a completely blank map?](https://discourse.cataclysmdda.org/t/is-there-any-way-to-make-a-completely-blank-map/5610)

<div class="topic-metadata">

**Author:** [@Mad\_Jackal](https://discourse.cataclysmdda.org/u/Mad_Jackal)\
**Replies:** 6\
**Last updated:** [March 28, 2014, 2:13pm UTC](https://discourse.cataclysmdda.org/t/is-there-any-way-to-make-a-completely-blank-map/5610 "2014-03-28T14:13:02Z")

</div>

What I mean by “blank map” is a map devoid of anything other than grass/dirt. I feel stupid having to ask this. The furthest I’ve gotten on my own is getting rid of the forests, lol. I need this for a custom scenario-th…

---

## [Entities deleting, and examine\_action's adding (by mod)](https://discourse.cataclysmdda.org/t/entities-deleting-and-examine-actions-adding-by-mod/5609)

<div class="topic-metadata">

**Author:** [@WeendVidente](https://discourse.cataclysmdda.org/u/WeendVidente)\
**Replies:** 2\
**Last updated:** [March 27, 2014, 12:32am UTC](https://discourse.cataclysmdda.org/t/entities-deleting-and-examine-actions-adding-by-mod/5609 "2014-03-27T00:32:37Z")

</div>

Is there any way to delete or disable items, recipes, monsters, etc. from game via mods? Is there any way to add or edit "examine\_action"s using mods?

---

## [This guy won't fire his laser](https://discourse.cataclysmdda.org/t/this-guy-wont-fire-his-laser/5599)

<div class="topic-metadata">

**Author:** [@Zomboner](https://discourse.cataclysmdda.org/u/Zomboner)\
**Replies:** 2\
**Last updated:** [March 26, 2014, 5:14am UTC](https://discourse.cataclysmdda.org/t/this-guy-wont-fire-his-laser/5599 "2014-03-26T05:14:06Z")

</div>

Okay, this looks to be the correct forum. Anyway, I tried my hand at adding a new creature into the game. It works, spawns as expected and seems to be all around functional but will not fire the laser. I just get the mes…

---

## [Going absolutely insane trying to compile with SDL on Windows](https://discourse.cataclysmdda.org/t/going-absolutely-insane-trying-to-compile-with-sdl-on-windows/5297)

<div class="topic-metadata">

**Author:** [@halberdsturgeon](https://discourse.cataclysmdda.org/u/halberdsturgeon)\
**Replies:** 13\
**Last updated:** [March 25, 2014, 10:20pm UTC](https://discourse.cataclysmdda.org/t/going-absolutely-insane-trying-to-compile-with-sdl-on-windows/5297 "2014-03-25T22:20:25Z")

</div>

Just to clarify: I’m not a programmer. I can’t parse the sort of shorthand people used to compiling and programming take entirely for granted. If I read something that tells me to link x to y, but doesn’t tell me where o…

---

## [A bit of help need. (adding a function)](https://discourse.cataclysmdda.org/t/a-bit-of-help-need-adding-a-function/5581)

<div class="topic-metadata">

**Author:** [@Funk](https://discourse.cataclysmdda.org/u/Funk)\
**Replies:** 1\
**Last updated:** [March 24, 2014, 5:43pm UTC](https://discourse.cataclysmdda.org/t/a-bit-of-help-need-adding-a-function/5581 "2014-03-24T17:43:45Z")

</div>

Im trying to add a new weapon, basicy an electric cestus, the problem is the game doesn’t recognise my function and i cant find where new ons go. \[spoiler=Code so far\]{ “type”:“GENERIC”, “id”: “powerglove\_off”, “symbo…

---

## [Recipes that produce items with charges/containers](https://discourse.cataclysmdda.org/t/recipes-that-produce-items-with-charges-containers/5392)

<div class="topic-metadata">

**Author:** [@halberdsturgeon](https://discourse.cataclysmdda.org/u/halberdsturgeon)\
**Replies:** 6\
**Last updated:** [March 21, 2014, 11:14pm UTC](https://discourse.cataclysmdda.org/t/recipes-that-produce-items-with-charges-containers/5392 "2014-03-21T23:14:29Z")

</div>

Is this possible yet? I assume not; I’ve noticed things like the go bag and MREs disassembling to produce empty matchbooks/lighters etc.

---

## [Git pull option](https://discourse.cataclysmdda.org/t/git-pull-option/5536)

<div class="topic-metadata">

**Author:** [@Karols146](https://discourse.cataclysmdda.org/u/Karols146)\
**Replies:** 2\
**Last updated:** [March 21, 2014, 10:13pm UTC](https://discourse.cataclysmdda.org/t/git-pull-option/5536 "2014-03-21T22:13:12Z")

</div>

Hi guys. I am new guy on this stuff, and i have problem. Very easy to solve i think. I am update my game files by command “git pull”, but i don’t want change lang folder. I think that git changing that, because every t…

---

## [Mod folder support?](https://discourse.cataclysmdda.org/t/mod-folder-support/5473)

<div class="topic-metadata">

**Author:** [@randombattle](https://discourse.cataclysmdda.org/u/randombattle)\
**Replies:** 3\
**Last updated:** [March 17, 2014, 1:33am UTC](https://discourse.cataclysmdda.org/t/mod-folder-support/5473 "2014-03-17T01:33:25Z")

</div>

Can you distribute modded source files in the mod folders or are the json files the only things supported? I’m making a mod but running into parts that I could do better by getting into the bionics source file but if I’…

---

## [Lua in cataclysm](https://discourse.cataclysmdda.org/t/lua-in-cataclysm/5428)

<div class="topic-metadata">

**Author:** [@LazyCat-rus](https://discourse.cataclysmdda.org/u/LazyCat-rus)\
**Replies:** 0\
**Last updated:** [March 14, 2014, 12:01pm UTC](https://discourse.cataclysmdda.org/t/lua-in-cataclysm/5428 "2014-03-14T12:01:57Z")

</div>

I have couple questions about lua files in cataclysm\_code. First lua/autoexec.lua class\_definition.lua generate\_bindings.lua Is these file are shared or used related? This is important cause i am working on this htt…

---

## [Tileset confusion](https://discourse.cataclysmdda.org/t/tileset-confusion/5326)

<div class="topic-metadata">

**Author:** [@Robik](https://discourse.cataclysmdda.org/u/Robik)\
**Replies:** 4\
**Last updated:** [March 12, 2014, 5:33pm UTC](https://discourse.cataclysmdda.org/t/tileset-confusion/5326 "2014-03-12T17:33:05Z")

</div>

I am working on tileset editor, and I thought that parsing files in data\\json (and mod directories) for objects containing type, id and symbol in hopes these would be all that needs some tiles to be assigned. While impo…

---

## [How to even begin coding](https://discourse.cataclysmdda.org/t/how-to-even-begin-coding/5376)

<div class="topic-metadata">

**Author:** [@FrankyPlaysGames](https://discourse.cataclysmdda.org/u/FrankyPlaysGames)\
**Replies:** 4\
**Last updated:** [March 11, 2014, 7:43pm UTC](https://discourse.cataclysmdda.org/t/how-to-even-begin-coding/5376 "2014-03-11T19:43:33Z")

</div>

Anybody have some quick links or advice on how to begin coding and helping develop Cataclysm? I’m using Windows 7, and don’t even have the source code or JSON yet. Don’t even know where to get them. Probably after I un…

---

## [Help adding mod into mod manager](https://discourse.cataclysmdda.org/t/help-adding-mod-into-mod-manager/5269)

<div class="topic-metadata">

**Author:** [@Chiko](https://discourse.cataclysmdda.org/u/Chiko)\
**Replies:** 6\
**Last updated:** [March 3, 2014, 11:47pm UTC](https://discourse.cataclysmdda.org/t/help-adding-mod-into-mod-manager/5269 "2014-03-03T23:47:07Z")

</div>

Hello. I haven’t played/modded this game in a while but now that it has a mod manager, I want to make a mod for it using all the items I added to the core files ages ago. I’m currently having a problem, though. I get an…

---

## [Flagging submaps for addition to the mapbuffer](https://discourse.cataclysmdda.org/t/flagging-submaps-for-addition-to-the-mapbuffer/5248)

<div class="topic-metadata">

**Author:** [@ClockworkZombie](https://discourse.cataclysmdda.org/u/ClockworkZombie)\
**Replies:** 2\
**Last updated:** [March 1, 2014, 10:31am UTC](https://discourse.cataclysmdda.org/t/flagging-submaps-for-addition-to-the-mapbuffer/5248 "2014-03-01T10:31:18Z")

</div>

Hey guys, I’ve been messing around with a couple things in the source and one thing I’d heard about but haven’t been able to locate is how to flag specific submaps as needing to be added to the mapbuffer for “reality bu…

---

## [Editing character stats?](https://discourse.cataclysmdda.org/t/editing-character-stats/5156)

<div class="topic-metadata">

**Author:** [@ChiliFriez](https://discourse.cataclysmdda.org/u/ChiliFriez)\
**Replies:** 3\
**Last updated:** [February 21, 2014, 4:27pm UTC](https://discourse.cataclysmdda.org/t/editing-character-stats/5156 "2014-02-21T16:27:26Z")

</div>

Is there some way to modify character stats? Possibly by modifying the save file some how? I’ve been searching for a solution, but haven’t been able to come up with anything.

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

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