# Gunsmith Store

**URL:** <https://discourse.cataclysmdda.org/t/gunsmith-store/4513>\
**Category:** The Lab\
**Created:** [December 15, 2013, 6:34pm UTC](https://discourse.cataclysmdda.org/t/gunsmith-store/4513 "2013-12-15T18:34:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mechanoid](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@Mechanoid](https://discourse.cataclysmdda.org/u/Mechanoid)\
**Post date:** [December 15, 2013, 6:34pm UTC](https://discourse.cataclysmdda.org/t/gunsmith-store/4513/1 "2013-12-15T18:34:24Z")

</div>

![](http://i.imgur.com/ZHLhHNS.png)  
( currently facing south )  
A custom “Gunsmith Store” that replaces 1 in 10 gun stores with this (probably over-powered) attachments-and-gun-materials filled building. As always, feel free to include it in a git update or whatever, whoever is in charge of that.

In order to “install” this into your game, you must copy/paste the below spoilers into the appropriate file, and if you’ve done it properly it shouldn’t throw any errors at you…  
in the data/json/item\_groups.json  
you will see something like this after the end and start of every entry:  
[tt] ]  
},{[/tt]  
copy/paste the spoiler below into the space between the , and { (being certain to include the last comma in the spoiler!)

{  
“type” : “item\_group”,  
“id” : “gunsmith\_tools”,  
“items”:[  
[“glasses\_safety”, 60],  
[“screwdriver”,70],  
[“hammer”,70],  
[“boltcutters”,50],  
[“crucible”,40],  
[“pot”,50],  
[“anvil”,50],  
[“tongs”,50],  
[“swage”,50],  
[“hacksaw”,40],  
[“welder”,40],  
[“goggles\_welding”,60],  
[“wrench”,70],  
[“extinguisher”,90],  
[“puller”,90],  
[“press”,90],  
[“chemistry\_set”,30],  
[“hotplate”,50],  
[“forge”,30]  
]  
},{  
“type” : “item\_group”,  
“id” : “gunsmith\_mat”,  
“items”:[  
[“rag”,30],  
[“plastic\_chunk”,60],  
[“scrap”,90],  
[“steel\_chunk”,60],  
[“steel\_lump”,20],  
[“cable”,60],  
[“duct\_tape”,60],  
[“pipe”,70],  
[“2x4”,90],  
[“spring”,70],  
[“string\_6”,10],  
[“string\_36”,40],  
[“superglue”,40],  
[“cu\_pipe”,40],  
[“nail”,40]  
]  
},{  
“type” : “item\_group”,  
“id” : “gunsmith\_hazmat”,  
“items”:[  
[“gunpowder”,80],  
[“oxy\_powder”,60],  
[“lead”,90],  
[“incendiary”,30],  
[“battery”,70],  
[“sugar”,60],  
[“charcoal”,70],  
[“ammonia”,50],  
[“bleach”,50],  
[“lye\_powder”,30],  
[“shotgun\_primer”, 30],  
[“smpistol\_primer”, 40],  
[“lgpistol\_primer”, 40],  
[“smrifle\_primer”, 20],  
[“lgrifle\_primer”, 20]  
]  
},{  
“type” : “item\_group”,  
“id” : “gunsmith\_gunparts”,  
“items”:[  
[“bayonet”, 20],  
[“pistol\_bayonet”, 10],  
[“sword\_bayonet”, 5],  
[“suppressor”, 15],  
[“grip”, 24],  
[“pistol\_grip”, 24],  
[“adjustable\_stock”, 24],  
[“pistol\_stock”, 12],  
[“barrel\_big”, 20],  
[“barrel\_small”, 12],  
[“barrel\_rifled”, 10],  
[“barrel\_ported”, 10],  
[“conversion\_battle”, 1],  
[“conversion\_sniper”, 1],  
[“clip”, 16],  
[“spare\_mag”, 30],  
[“clip2”, 8],  
[“stabilizer”, 4],  
[“blowback”, 3],  
[“autofire”, 2],  
[“retool\_45”, 5],  
[“retool\_9mm”, 5],  
[“retool\_22”, 5],  
[“retool\_57”, 5],  
[“retool\_46”, 5],  
[“retool\_308”, 5],  
[“retool\_223”, 5],  
[“brass\_catcher”, 30],  
[“laser\_sight”, 15],  
[“red\_dot\_sight”, 18],  
[“holo\_sight”, 20],  
[“rifle\_scope”, 18],  
[“pistol\_scope”, 12],  
[“waterproof\_gunmod”, 8],  
[“improve\_sights”, 40]  
]  
},{  
“type” : “item\_group”,  
“id” : “gunsmith\_casings”,  
“items”:[  
[“22\_casing”, 24],  
[“shot\_hull”, 12],  
[“9mm\_casing”, 18],  
[“38\_casing”, 10],  
[“40\_casing”, 12],  
[“44\_casing”, 10],  
[“45\_casing”, 18],  
[“454\_casing”, 3],  
[“500\_casing”, 3],  
[“57mm\_casing”, 12],  
[“46mm\_casing”, 12],  
[“762\_casing”, 10],  
[“223\_casing”, 10],  
[“3006\_casing”, 10],  
[“308\_casing”, 10]  
]  
},

in the data/json/mapgen/house04.json file at the very bottom are the lines  
[tt] },  
“comment”: “end of mapgen entry —v”  
}  
][/tt]  
copy/paste the spoiler below directly after that last } (being certain to include the first comma in the spoiler!)

,  
{  
“type”: “mapgen”,  
“om\_terrain”: [  
“s\_gun”  
],  
“method”: “json”,  
“weight”: 100,  
“object”: {  
“rows”: [  
“_**sss",  
",\_\_\_,\_\_\_,\_\_\_,,sss%",  
",\_\_\_,\_\_\_,\_\_\_,,sss%",  
",\_\_\_,\_\_\_,\_\_\_,,sss%",  
",\_\_\_,\_\_\_,\_\_\_,,sss%",  
",\_\_\_,\_\_\_,\_\_\_,\_\_\_,sss**",  
“ssssssssssssssssssssssss”,  
“s–5555–5555–±-55555s”,  
“s|r…rrrrrr…^.^|rrrr8s”,  
“s8r…L…r8s”,  
"s8r…rrrrrr…###|----|",  
"s8r…rrrrrr…x…rrrrr|",  
"s8r…#…r|",  
"s|r…rrrrrr…#…r|",  
"s|---------D--------±|",  
"s|#######|…|tccEc…^|",  
"s|#.c…c#|…|t.xEc…w",  
"sL…c…L…D…w",  
"|l.###.l|…^|##FCC…|",  
"_|l.rrr.l|-L-------D-D|_",  
"_|l.rrr.l|ssss\_\_\_\_WS|SW\_”,  
"_|l…l|s\_\_,dd|T|T|_",  
"_–WW-WW–s\_\_,dd-----_",  
“_ **s,dd**"  
],  
“terrain”: {  
"": “t\_pavement”,  
",": “t\_pavement\_y”,  
“s”: “t\_sidewalk”,  
"-": “t\_wall\_h”,  
"|": “t\_wall\_v”,  
“5”: “t\_wall\_glass\_h”,  
“8”: “t\_wall\_glass\_v”,  
".": “t\_floor”,  
"+": “t\_door\_glass\_c”,  
“D”: “t\_door\_c”,  
“L”: “t\_door\_locked”,  
“w”: “t\_window\_domestic”,  
“W”: “t\_curtains”,  
"%": “t\_shrub”,  
“x”: “t\_console\_broken”,  
"^": “t\_floor”,  
“r”: “t\_floor”,  
“l”: “t\_floor”,  
"#": “t\_floor”,  
“E”: “t\_floor”,  
“t”: “t\_floor”,  
“c”: “t\_floor”,  
“C”: “t\_floor”,  
“F”: “t\_floor”,  
“S”: “t\_floor”,  
“T”: “t\_floor”,  
“d”: “t\_pavement”  
},  
“furniture”: {  
"_”: “f\_null”,  
",": “f\_null”,  
“s”: “f\_null”,  
"-": “f\_null”,  
"|": “f\_null”,  
“5”: “f\_null”,  
“8”: “f\_null”,  
".": “f\_null”,  
"+": “f\_null”,  
“D”: “f\_null”,  
“L”: “f\_null”,  
“w”: “f\_null”,  
“W”: “f\_null”,  
"%": “f\_null”,  
“x”: “f\_null”,  
"^": “f\_indoor\_plant”,  
“r”: “f\_rack”,  
“l”: “f\_locker”,  
"#": “f\_counter”,  
“E”: “f\_desk”,  
“t”: “f\_table”,  
“c”: “f\_chair”,  
“C”: “f\_sofa”,  
“F”: “f\_fridge”,  
“S”: “f\_sink”,  
“T”: “f\_toilet”,  
“d”: “f\_dumpster”  
},  
“set”: [  
{ “point”: “terrain”, “id”: “t\_tree\_young”, “x”: 22, “y”: [1, 4], “chance”: 10, “repeat”: [1, 3] },  
{ “point”: “terrain”, “id”: “t\_tree\_apple”, “x”: 22, “y”: [1, 4], “chance”: 30, “repeat”: [1, 2] }  
],  
“add”: [  
{ “item”: “television”, “x”: 14, “y”: 16, “chance”: 60 },  
{ “item”: “laptop”, “x”: 17, “y”: 15, “chance”: 30 }  
],  
“place\_groups”: [  
{ “item”: “fridgesnacks”, “chance”: 70, “x”: 16, “y”: 18, “repeat”: [1, 2] },  
{ “item”: “ammo”, “chance”: 75, “x”: 21, “y”: [11, 13], “repeat”: [1, 5] },  
{ “item”: “allguns”, “chance”: 60, “x”: [17, 20], “y”: 11, “repeat”: [1, 4] },  
{ “item”: “gunxtras”, “chance”: 70, “x”: [18, 21], “y”: [8, 9], “repeat”: [3, 6] },  
{ “item”: “gunxtras”, “chance”: 50, “x”: 2, “y”: [8, 13], “repeat”: [1, 4] },  
{ “item”: “gunxtras”, “chance”: 50, “x”: [5, 10], “y”: 8, “repeat”: [1, 4] },  
{ “item”: “gunxtras”, “chance”: 50, “x”: [5, 10], “y”: 10, “repeat”: [1, 4] },  
{ “item”: “gunxtras”, “chance”: 50, “x”: [5, 10], “y”: 11, “repeat”: [1, 4] },  
{ “item”: “gunxtras”, “chance”: 50, “x”: [5, 10], “y”: 13, “repeat”: [1, 4] },  
{ “item”: “gunsmith\_tools”, “chance”: 80, “x”: [2, 8] , “y”: 15 , “repeat”: [4, 6] },  
{ “item”: “gunsmith\_mat”, “chance”: 90, “x”: [4, 6], “y”: [19, 20], “repeat”: [4, 8] },  
{ “item”: “gunsmith\_hazmat”, “chance”: 75, “x”: 2, “y”: [18, 21], “repeat”: [2, 6] },  
{ “item”: “gunsmith\_hazmat”, “chance”: 75, “x”: 8, “y”: [18, 21], “repeat”: [2, 6] },  
{ “item”: “gunsmith\_gunparts”, “chance”: 40, “x”: [4, 6], “y”: 18, “repeat”: [3, 4] },  
{ “item”: “gunsmith\_casings”, “chance”: 75, “x”: 2, “y”: 16, “repeat”: [3, 5] },  
{ “item”: “gunsmith\_casings”, “chance”: 75, “x”: 8, “y”: 16, “repeat”: [3, 5] }  
]  
},  
“comment”: “end of mapgen entry —v”  
}  
]

Note: The toilets are intentionally dry, and it’s a very open building with lots of access points. This is to make camping and crafting more difficult.

---

<div class="post-metadata">

**Author:** ![StopSignal](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/stopsignal/32/1923_2.png) [@StopSignal](https://discourse.cataclysmdda.org/u/StopSignal)\
**Post date:** [December 15, 2013, 9:10pm UTC](https://discourse.cataclysmdda.org/t/gunsmith-store/4513/2 "2013-12-15T21:10:22Z")

</div>

Great work! You could start making an entire buildings mod with this.

---

<div class="post-metadata">

**Author:** ![Iceblaster](https://avatars.discourse-cdn.com/v4/letter/i/3bc359/32.png) [@Iceblaster](https://discourse.cataclysmdda.org/u/Iceblaster)\
**Post date:** [December 22, 2013, 5:13pm UTC](https://discourse.cataclysmdda.org/t/gunsmith-store/4513/3 "2013-12-22T17:13:03Z")

</div>

While I plan on downloading this, I do have to mention that if you could put the spoiler JSON text into the code BBC code things, that’d make copy pasting much easier.

---

<div class="post-metadata">

**Author:** ![fishy1234555](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fishy1234555/32/50_2.png) [@fishy1234555](https://discourse.cataclysmdda.org/u/fishy1234555)\
**Post date:** [January 7, 2014, 6:28am UTC](https://discourse.cataclysmdda.org/t/gunsmith-store/4513/4 "2014-01-07T06:28:53Z")

</div>

Love it! Do you take requests? If so I’d like to see a dollar store or some lore friendly equivalent, maybe a pet shop with animal spawns, more mega store type stuff - super grocery, super hardware/lumber/tool/metal store, some shopping malls perhaps large and hopefully not just a boring rectangle stuffed with rooms and loots. A metal smith place would be cool too

---

<div class="post-metadata">

**Author:** ![Seranikan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@Seranikan](https://discourse.cataclysmdda.org/u/Seranikan)\
**Post date:** [January 20, 2014, 12:43am UTC](https://discourse.cataclysmdda.org/t/gunsmith-store/4513/5 "2014-01-20T00:43:03Z")

</div>

Finally, a good place to get some raw materials that does not include disassembling things. Thanks Mechanoid.

---

<div class="post-metadata">

**Author:** ![The\_Lone\_Badger](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/the_lone_badger/32/8063_2.png) [@The\_Lone\_Badger](https://discourse.cataclysmdda.org/u/The_Lone_Badger)\
**Post date:** [January 20, 2014, 7:58am UTC](https://discourse.cataclysmdda.org/t/gunsmith-store/4513/6 "2014-01-20T07:58:11Z")

</div>

Seems to have been merged into mainline now.
