Coding Help

I’m attempting to change the recipe of the revolver shotgun to actually include a revolver, so the revolver mechanism doesn’t just appear out of nowhere when you craft it. It isn’t working, can anyone tell me what’s wrong in the code?

[code] {
“result”: “revolver_shotgun”,
“category”: “CC_WEAPON”,
“skill_pri”: “gun”,
“skill_sec”: “mechanics”,
“difficulty”: 2,
“time”: 6000,
“reversible”: false,
“autolearn”: true,
“tools”: [
[
[“hacksaw”, -1],
[“toolset”, -1]
],
[
[“goggles_welding”, -1]
],
[
[“welder”, 30],
[“toolset”, 3]
]
],
“components”: [
[
[“shotgun_s”, 1]
],
[
[“sig_40”, 1],
[“taurus_38”, 1],
[“sw_619”, 1]
]

                      ]
    },[/code]

What exactly is the problem you are experiencing? I don’t see any obvious problems with it at the moment.

The scrap in the recipe is/was meant to be what you cobbled the revolving cylinder out of.

Except at the moment there isn’t any scrap in the recipe, so that should probably be added back in if that’s the intended direction. :stuck_out_tongue:

Yeah, I’ve no idea when that was removed.

Nevermind, I fixed it. It was actually a problem with another mod that didn’t work correctly.