# The Toolbox

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

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

**Page:** 6

---

## [New pocket\_data pocket\_type](https://discourse.cataclysmdda.org/t/new-pocket-data-pocket-type/23545)

<div class="topic-metadata">

**Author:** [@zL0ki](https://discourse.cataclysmdda.org/u/zL0ki)\
**Replies:** 5\
**Last updated:** [May 7, 2020, 1:40pm UTC](https://discourse.cataclysmdda.org/t/new-pocket-data-pocket-type/23545 "2020-05-07T13:40:11Z")

</div>

Was reviewing some of the latest changes and noticed pockets! I was using the use\_action/holster on a rucksack to simulate the idea of a couple of small pockets for e.g a lighter but obviously wasn’t the ideal/intended…

---

## [Bionics.json and inheritance/override](https://discourse.cataclysmdda.org/t/bionics-json-and-inheritance-override/23543)

<div class="topic-metadata">

**Author:** [@zL0ki](https://discourse.cataclysmdda.org/u/zL0ki)\
**Replies:** 1\
**Last updated:** [May 5, 2020, 9:39am UTC](https://discourse.cataclysmdda.org/t/bionics-json-and-inheritance-override/23543 "2020-05-05T09:39:12Z")

</div>

Hi all, Was looking to tweak a few existing bionics settings (only json specific). Just wanted to confirm the only way is to edit the main bionics.json file? “copy-from”: doesn’t work which is mentioned in the json\_inh…

---

## [Mod Compatibility Tips?](https://discourse.cataclysmdda.org/t/mod-compatibility-tips/23301)

<div class="topic-metadata">

**Author:** [@CreeperWatcher23](https://discourse.cataclysmdda.org/u/CreeperWatcher23)\
**Replies:** 3\
**Last updated:** [April 20, 2020, 8:09am UTC](https://discourse.cataclysmdda.org/t/mod-compatibility-tips/23301 "2020-04-20T08:09:57Z")

</div>

So I’ve been slowly designing a mutation heavy mod recently, and was wondering what would be the best way to make it combatable with other mods that may poke the mutation aspect of the game. The main issue I come across…

---

## [Combining ups\_based\_armor with other use\_action](https://discourse.cataclysmdda.org/t/combining-ups-based-armor-with-other-use-action/23171)

<div class="topic-metadata">

**Author:** [@rioM1](https://discourse.cataclysmdda.org/u/rioM1)\
**Replies:** 2\
**Last updated:** [April 7, 2020, 7:34pm UTC](https://discourse.cataclysmdda.org/t/combining-ups-based-armor-with-other-use-action/23171 "2020-04-07T19:34:46Z")

</div>

I’m trying to mod in an armor that can both cloak and teleport, which means adding both the use\_action teleport and ups\_based\_armor (with ACTIVE\_CLOAKING flag similar to the existing FB51 optical cloak). The problem is …

---

## [What is the largest tile size the game can run?](https://discourse.cataclysmdda.org/t/what-is-the-largest-tile-size-the-game-can-run/23124)

<div class="topic-metadata">

**Author:** [@ErdinyoBarboza](https://discourse.cataclysmdda.org/u/ErdinyoBarboza)\
**Replies:** 3\
**Last updated:** [April 4, 2020, 12:33am UTC](https://discourse.cataclysmdda.org/t/what-is-the-largest-tile-size-the-game-can-run/23124 "2020-04-04T00:33:09Z")

</div>

Heya lads, I was wondering on how big of a tileset size does the game support? Is there a top limit or anything?

---

## [How to compile and run Cataclysm tests on Visual Studio?](https://discourse.cataclysmdda.org/t/how-to-compile-and-run-cataclysm-tests-on-visual-studio/23118)

<div class="topic-metadata">

**Author:** [@Hirmuolio](https://discourse.cataclysmdda.org/u/Hirmuolio)\
**Replies:** 0\
**Last updated:** [April 3, 2020, 11:52am UTC](https://discourse.cataclysmdda.org/t/how-to-compile-and-run-cataclysm-tests-on-visual-studio/23118 "2020-04-03T11:52:18Z")

</div>

The doc tells how to compile CDDA with Visual Studio https://github.com/CleverRaven/Cataclysm-DDA/blob/648b555cff2852b416e91df22d2546b2fe3a200d/doc/COMPILING/COMPILING-VS-VCPKG.md But it does not tell how to compile and…

---

## [Any way to speed up shooting animation?](https://discourse.cataclysmdda.org/t/any-way-to-speed-up-shooting-animation/23015)

<div class="topic-metadata">

**Author:** [@Pakislav](https://discourse.cataclysmdda.org/u/Pakislav)\
**Replies:** 3\
**Last updated:** [March 16, 2020, 7:27pm UTC](https://discourse.cataclysmdda.org/t/any-way-to-speed-up-shooting-animation/23015 "2020-03-16T19:27:05Z")

</div>

Currently guns with high burst fire only slowly spit one bullet at a time so a burst of 100 is slow, boring and underwhelming. Is there any way to speed this up so all the rounds are shot almost at once? If all guns fi…

---

## [Vehicle spawning question - map creation](https://discourse.cataclysmdda.org/t/vehicle-spawning-question-map-creation/22989)

<div class="topic-metadata">

**Author:** [@LilShiningMan](https://discourse.cataclysmdda.org/u/LilShiningMan)\
**Replies:** 4\
**Last updated:** [March 13, 2020, 7:19am UTC](https://discourse.cataclysmdda.org/t/vehicle-spawning-question-map-creation/22989 "2020-03-13T07:19:59Z")

</div>

I"m in the middle of converting an old house I created 4 months ago for submission and I’m running into a problem I didn’t have previously. I can get vehicles to spawn via “place\_vehicles” on concrete or pavement no prob…

---

## [Do Young Trees And Other Foilage (Excluding Trees) Respawn?](https://discourse.cataclysmdda.org/t/do-young-trees-and-other-foilage-excluding-trees-respawn/22984)

<div class="topic-metadata">

**Author:** [@MrSelfDestruct](https://discourse.cataclysmdda.org/u/MrSelfDestruct)\
**Replies:** 5\
**Last updated:** [March 13, 2020, 5:21pm UTC](https://discourse.cataclysmdda.org/t/do-young-trees-and-other-foilage-excluding-trees-respawn/22984 "2020-03-13T17:21:57Z")

</div>

This is a question I would like answered, as I don’t believe I’ve paid attention if there were new bush spawns or young tree spawns ever while playing.

---

## [Bit of help locating color files](https://discourse.cataclysmdda.org/t/bit-of-help-locating-color-files/22993)

<div class="topic-metadata">

**Author:** [@etvolaire](https://discourse.cataclysmdda.org/u/etvolaire)\
**Replies:** 5\
**Last updated:** [March 13, 2020, 9:01am UTC](https://discourse.cataclysmdda.org/t/bit-of-help-locating-color-files/22993 "2020-03-13T09:01:13Z")

</div>

Hello! I am new to CDDA and have encountered problems with some mods, so I’m trying to fix them! Does anybody know how I may be able to find the files to fix these errors?

---

## [New gun classes](https://discourse.cataclysmdda.org/t/new-gun-classes/22972)

<div class="topic-metadata">

**Author:** [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)\
**Replies:** 2\
**Last updated:** [March 10, 2020, 11:47pm UTC](https://discourse.cataclysmdda.org/t/new-gun-classes/22972 "2020-03-10T23:47:00Z")

</div>

I wanted to know if anyone knew if one could add a new gun class to the game. I was thinking of making a lever action rifle class for the game. While similar to bolt action it would be different. Would I have to hard cod…

---

## [Modular Mansion Basements and Hidden Bionic Labs Closed Merge Request](https://discourse.cataclysmdda.org/t/modular-mansion-basements-and-hidden-bionic-labs-closed-merge-request/22967)

<div class="topic-metadata">

**Author:** [@Mtg\_Mewb](https://discourse.cataclysmdda.org/u/Mtg_Mewb)\
**Replies:** 4\
**Last updated:** [March 9, 2020, 11:09pm UTC](https://discourse.cataclysmdda.org/t/modular-mansion-basements-and-hidden-bionic-labs-closed-merge-request/22967 "2020-03-09T23:09:17Z")

</div>

Hey, what’s the deal with this? I am a github noob. I take it this request wasn’t merged because of the downvotes? Or was it implemented in some other way and actually is in the current game? I like the idea of ‘rand…

---

## [Game fails to process valid JSON?](https://discourse.cataclysmdda.org/t/game-fails-to-process-valid-json/22922)

<div class="topic-metadata">

**Author:** [@Firebrand](https://discourse.cataclysmdda.org/u/Firebrand)\
**Replies:** 8\
**Last updated:** [March 9, 2020, 1:49pm UTC](https://discourse.cataclysmdda.org/t/game-fails-to-process-valid-json/22922 "2020-03-09T13:49:40Z")

</div>

I can’t load my own mod because one of the files is not being parsed by the game due to the following error (from debug.log): 20:04:00.996 ERROR : (error message will follow backtrace) #0 (dbghelp: @0x7e68c6\[catac…

---

## [What determines fire fuel time?](https://discourse.cataclysmdda.org/t/what-determines-fire-fuel-time/22943)

<div class="topic-metadata">

**Author:** [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)\
**Replies:** 0\
**Last updated:** [March 6, 2020, 1:16am UTC](https://discourse.cataclysmdda.org/t/what-determines-fire-fuel-time/22943 "2020-03-06T01:16:33Z")

</div>

Ok so in the materials.json something like wood has the following. burn\_data{ "fuel": 1, "smoke": 1, "burn": 0.01, "volume\_per\_turn": "200 ml" }, { "fuel": 2…

---

## [Obtaining old code](https://discourse.cataclysmdda.org/t/obtaining-old-code/22927)

<div class="topic-metadata">

**Author:** [@The\_Lone\_Badger](https://discourse.cataclysmdda.org/u/The_Lone_Badger)\
**Replies:** 3\
**Last updated:** [March 2, 2020, 3:11pm UTC](https://discourse.cataclysmdda.org/t/obtaining-old-code/22927 "2020-03-02T15:11:54Z")

</div>

Hi. I want to make a mini mod for myself to re-enable crafting of caseless ammo. I thought I’d grab the old recipes, tweak them a little, and paste them in. However the links for 0.C on https://cataclysmdda.org/releases…

---

## [I am stupid and there have a question](https://discourse.cataclysmdda.org/t/i-am-stupid-and-there-have-a-question/22869)

<div class="topic-metadata">

**Author:** [@Plse1032](https://discourse.cataclysmdda.org/u/Plse1032)\
**Replies:** 7\
**Last updated:** [March 1, 2020, 8:15am UTC](https://discourse.cataclysmdda.org/t/i-am-stupid-and-there-have-a-question/22869 "2020-03-01T08:15:22Z")

</div>

I create a new MOD about monsters and guns.When i load the mod list.Is it all right.But i use GOD MOD to get guns.It an error occurred.

---

## [Making custom menus for mods](https://discourse.cataclysmdda.org/t/making-custom-menus-for-mods/22911)

<div class="topic-metadata">

**Author:** [@Firebrand](https://discourse.cataclysmdda.org/u/Firebrand)\
**Replies:** 4\
**Last updated:** [March 1, 2020, 6:34am UTC](https://discourse.cataclysmdda.org/t/making-custom-menus-for-mods/22911 "2020-03-01T06:34:35Z")

</div>

It appears that some of the older mods featured Lua-based code modules that, from what I’ve seen, were able to create custom, native-looking in-game menus. (Remember the window you get when you activate a tailor’s kit?) …

---

## [Change ammo capacity of gun with gunmod](https://discourse.cataclysmdda.org/t/change-ammo-capacity-of-gun-with-gunmod/22896)

<div class="topic-metadata">

**Author:** [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)\
**Replies:** 4\
**Last updated:** [February 29, 2020, 11:36pm UTC](https://discourse.cataclysmdda.org/t/change-ammo-capacity-of-gun-with-gunmod/22896 "2020-02-29T23:36:52Z")

</div>

I’m wanting to make an item for a gun that changes the max capacity, the gun normally has a five round clip and the mod would ideally make it one shot. The mod is a launcher that is inserted into the muzzle and you load …

---

## [What would you suggest for an interesting new game?](https://discourse.cataclysmdda.org/t/what-would-you-suggest-for-an-interesting-new-game/22885)

<div class="topic-metadata">

**Author:** [@Maan](https://discourse.cataclysmdda.org/u/Maan)\
**Replies:** 9\
**Last updated:** [February 28, 2020, 10:53pm UTC](https://discourse.cataclysmdda.org/t/what-would-you-suggest-for-an-interesting-new-game/22885 "2020-02-28T22:53:48Z")

</div>

I’ve been playing a few characters and messing with world’s options; after some… 3-4 characters, including a broken cyborg lab challenge, I’d like to hear some advice from more expert players! For example: Stable or e…

---

## [Handling OS installation for an in-game computer](https://discourse.cataclysmdda.org/t/handling-os-installation-for-an-in-game-computer/22887)

<div class="topic-metadata">

**Author:** [@Firebrand](https://discourse.cataclysmdda.org/u/Firebrand)\
**Replies:** 0\
**Last updated:** [February 28, 2020, 5:48pm UTC](https://discourse.cataclysmdda.org/t/handling-os-installation-for-an-in-game-computer/22887 "2020-02-28T17:48:36Z")

</div>

I’ve been working on a modder’s resource that adds various tools into the game to be used by other mods. One of the things I’m looking to make are working computers. To make the process more real, variable, and interest…

---

## [Ammo damage calculation](https://discourse.cataclysmdda.org/t/ammo-damage-calculation/22785)

<div class="topic-metadata">

**Author:** [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)\
**Replies:** 2\
**Last updated:** [February 20, 2020, 3:28pm UTC](https://discourse.cataclysmdda.org/t/ammo-damage-calculation/22785 "2020-02-20T15:28:01Z")

</div>

I’ve been working on a mod to add more ammo to the game. I was looking though the 50 cal section when I noticed that the MK 211 has a note of the ammo having an effective range of 20m and 65kj equaling 225 power. Does an…

---

## [Help with new ammo types](https://discourse.cataclysmdda.org/t/help-with-new-ammo-types/22711)

<div class="topic-metadata">

**Author:** [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)\
**Replies:** 5\
**Last updated:** [February 9, 2020, 8:40pm UTC](https://discourse.cataclysmdda.org/t/help-with-new-ammo-types/22711 "2020-02-09T20:40:15Z")

</div>

So I have been at adding new ammo for a mod for a while now to no success, does anyone have any ideas of any good guides to follow or a mod I can look at? I’ve looked at the code and replicated from there but it doesn’t …

---

## [Modular melee madness](https://discourse.cataclysmdda.org/t/modular-melee-madness/22641)

<div class="topic-metadata">

**Author:** [@MutaMan](https://discourse.cataclysmdda.org/u/MutaMan)\
**Replies:** 4\
**Last updated:** [February 3, 2020, 12:25am UTC](https://discourse.cataclysmdda.org/t/modular-melee-madness/22641 "2020-02-03T00:25:17Z")

</div>

Suppose I wanted to make a mod that added modular melee weapons… how would I go about doing so? The main objective would be to have twelve melee weapon items, all similar in shape and function with their only defining d…

---

## [How to make a custom Monster with an image](https://discourse.cataclysmdda.org/t/how-to-make-a-custom-monster-with-an-image/22642)

<div class="topic-metadata">

**Author:** [@paul\_blazek](https://discourse.cataclysmdda.org/u/paul_blazek)\
**Replies:** 1\
**Last updated:** [February 1, 2020, 4:26am UTC](https://discourse.cataclysmdda.org/t/how-to-make-a-custom-monster-with-an-image/22642 "2020-02-01T04:26:25Z")

</div>

I’m creating a custom monster in DDA, and I want it to have an image. I know how to make an item in a mod have an image, but that technique does not work for the monster. Also is there a way to have a modded monster that…

---

## [New ammo for guns](https://discourse.cataclysmdda.org/t/new-ammo-for-guns/22575)

<div class="topic-metadata">

**Author:** [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)\
**Replies:** 2\
**Last updated:** [January 26, 2020, 2:23pm UTC](https://discourse.cataclysmdda.org/t/new-ammo-for-guns/22575 "2020-01-26T14:23:53Z")

</div>

For a mod I’m working I need help implimenting a new ammo type. I wasn’t sure how to start on this or even how to.

---

## [Help troubleshooting](https://discourse.cataclysmdda.org/t/help-troubleshooting/22475)

<div class="topic-metadata">

**Author:** [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)\
**Replies:** 7\
**Last updated:** [January 25, 2020, 8:25pm UTC](https://discourse.cataclysmdda.org/t/help-troubleshooting/22475 "2020-01-25T20:25:24Z")

</div>

I’m making a mod that adds a couple new guns to the game the mod runs and all but the guns don’t show up in game nor do they appear in the debug menu. Heres one gun for refrence and the modinfo file. \[ { “id”: “AWM”, …

---

## [Does the STR\_RELOAD flag update reload speed?](https://discourse.cataclysmdda.org/t/does-the-str-reload-flag-update-reload-speed/22538)

<div class="topic-metadata">

**Author:** [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)\
**Replies:** 2\
**Last updated:** [January 22, 2020, 3:21am UTC](https://discourse.cataclysmdda.org/t/does-the-str-reload-flag-update-reload-speed/22538 "2020-01-22T03:21:30Z")

</div>

Doing some testing I noticed that no strength value changes the reload time displayed on the weapon. I want to know if the flag actually works and it just doesn’t display the new value or if it even works at all.

---

## [Changing fonts in Linux cacaclysm-tiles](https://discourse.cataclysmdda.org/t/changing-fonts-in-linux-cacaclysm-tiles/22534)

<div class="topic-metadata">

**Author:** [@billydeath](https://discourse.cataclysmdda.org/u/billydeath)\
**Replies:** 0\
**Last updated:** [January 21, 2020, 9:29pm UTC](https://discourse.cataclysmdda.org/t/changing-fonts-in-linux-cacaclysm-tiles/22534 "2020-01-21T21:29:00Z")

</div>

I’ve been searching for some time how I can change the fonts in my Linux cataclysm-tiles setup. As most Linux users will know, sometimes you won’t have a fonts.json file created along with your install (in my case /usr/…

---

## [\[Algorithm\] How to generate random grass on field](https://discourse.cataclysmdda.org/t/algorithm-how-to-generate-random-grass-on-field/22528)

<div class="topic-metadata">

**Author:** [@lhlseeklove](https://discourse.cataclysmdda.org/u/lhlseeklove)\
**Replies:** 1\
**Last updated:** [January 21, 2020, 8:28am UTC](https://discourse.cataclysmdda.org/t/algorithm-how-to-generate-random-grass-on-field/22528 "2020-01-21T08:28:51Z")

</div>

Hello,Guys： I have a question，How to generate random grassland on field like this picture？ I used Berlin noise, but it don’t work well, there are many separate points. I hope to generate a more natural grassland l…

---

## [Convert from Fixed to Detachable magazines?](https://discourse.cataclysmdda.org/t/convert-from-fixed-to-detachable-magazines/22451)

<div class="topic-metadata">

**Author:** [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)\
**Replies:** 3\
**Last updated:** [January 19, 2020, 4:39am UTC](https://discourse.cataclysmdda.org/t/convert-from-fixed-to-detachable-magazines/22451 "2020-01-19T04:39:52Z")

</div>

With how weapon mods currently work is it possible to modify say a mosin nagant or similar weapon with an internal magazine to instead accept detachable magazines without the need of making an entirely new weapon?

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

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