The [first hackmd](https://hackmd.io/@FalloutFalcon/Bk-ijC1Ep) got a bit out of scope and I had some ideas that didnt stick so I am going to break gunsmithing into 3~ prs Somewhere in this there should also be a srm gunsmithing ship ##### First Pr Adds a guncrafting system that lets you craft all current guns and ammo but doesnt try to allow you to change anything about them ##### Second Pr adds a quality system and adds varients for currnet guns and better makeshift weapons ##### Third Pr finishes up that one attachment pr and allow you to craft them in our current system ##### So as for the first pr! Two machines General lathe used for wood working and metal working A ammo bench for harvesting gunpowder and pressing new ammo (Might want a brass catcher acctually) ### Lathe Guns by default made from 4 parts A frame (handles all the code), barrel, firing mechanism, and grip I set it up so you can change this semi for weird cases but this is the default In order to craft any of these you will need a gun that either currently contains them or could contain them (unsure about which one currently) You will have a radial menu that lets you choose a craft when you interact with a lathe with a gun or with a gun in it. The firing mechanism will most likely take "loose gun parts", small stuff that coudlnt be reasonbly created with a bulky metal lathe with a semi unskilled operator. Loose parts can either be scrapped from existing guns, found in loot pools, or possibly bought at an outpost Loose parts are going to be your real limiting factor as most other components will just take simple metal or wood sheets. Crafting parts will probally mimic surgery with its steps but.. alot faster Currently im adding a file, hammer, and chisel, but they will most likely use our exisiting tools as well For example: A m1911 frame * Insert 2 Iron sheets * Interact with the lathe to cut sheets into shape * Use a hammer to bend to shape * Join with welds A Double barrel grip * Insert 1 wood plank * Use lathe to carve out shape * Use chisel for small details * Take off rough edges with sand paper or file? Unlike surgery i want it to be extreamly clear what the next step is at all times Chat messages, steps on examine, and possible a visual icon on the bench of the next step (Or a thought bubble?) Crafting the gun will require assembling the parts to the frame inhand. Possibly requiring a tool to attach some or finish the recipe (If the part is extreamly generic you may need to modify it to fit on the weapon) The frame is stored in the gun once crafted which you could in theory remove and change out parts and the like. ### Ammo bench Allows you to craft ammo from gunpowder and spent brass as well as scraping brass? Not sure if i want to make people craft brass so im not sure what the best option is for this currently.. I think i will mimic the idea for the lathe however where you need the ammo or a gun that fires it in order to craft ammo. I think this will mostly replace lathe recipes but i will probally add ammo to buy at the outpost to offset this. Gunpowder.. its easy to get if you have a chem machine, otherwise its kinda a pain.. We dont have a ton of sources for ammo currently that could be scrapped. Possibly add ammo boxs and mags to more spawns? Could add a cheapish gunpowder recipe to the outpost but its still a pretty potant explosive! automatic, Mag: /obj/item/ammo_box/magazine/m10mm, Cali: 10mm automatic/pistol, Mag: /obj/item/ammo_box/magazine/m10mm, Cali: 10mm automatic/pistol/deagle, Mag: /obj/item/ammo_box/magazine/m50, Cali: .50 AE automatic/pistol/deagle/ctf, Mag: /obj/item/ammo_box/magazine/m50/ctf, Cali: .50 AE automatic/pistol/deagle/gold, Mag: /obj/item/ammo_box/magazine/m50, Cali: .50 AE automatic/pistol/deagle/camo, Mag: /obj/item/ammo_box/magazine/m50, Cali: .50 AE automatic/pistol/suppressed, Mag: /obj/item/ammo_box/magazine/m10mm, Cali: 10mm automatic/pistol/candor, Mag: /obj/item/ammo_box/magazine/m45, Cali: .45 automatic/pistol/candor/factory, Mag: /obj/item/ammo_box/magazine/m45, Cali: .45 automatic/pistol/APS, Mag: /obj/item/ammo_box/magazine/pistolm9mm, Cali: 9mm automatic/pistol/commander, Mag: /obj/item/ammo_box/magazine/co9mm, Cali: 9mm automatic/pistol/commander/inteq, Mag: /obj/item/ammo_box/magazine/co9mm, Cali: 9mm automatic/pistol/commissar, Mag: /obj/item/ammo_box/magazine/co9mm, Cali: 9mm automatic/pistol/solgov, Mag: /obj/item/ammo_box/magazine/pistol556mm, Cali: 5.56mm caseless automatic/pistol/solgov/old, Mag: /obj/item/ammo_box/magazine/pistol556mm, Cali: 5.56mm caseless automatic/pistol/tec9, Mag: /obj/item/ammo_box/magazine/tec9, Cali: 9mm automatic/pistol/disposable, Mag: /obj/item/ammo_box/magazine/disposable, Cali: .22lr automatic/pistol/himehabu, Mag: /obj/item/ammo_box/magazine/m22lr, Cali: 22lr automatic/laser, Mag: /obj/item/ammo_box/magazine/recharge, Cali: laser automatic/laser/ctf, Mag: /obj/item/ammo_box/magazine/recharge/ctf, Cali: laser automatic/laser/ctf/red, Mag: /obj/item/ammo_box/magazine/recharge/ctf/red, Cali: laser automatic/laser/ctf/blue, Mag: /obj/item/ammo_box/magazine/recharge/ctf/blue, Cali: laser automatic/smg, Mag: /obj/item/ammo_box/magazine/m10mm, Cali: 10mm automatic/smg/c20r, Mag: /obj/item/ammo_box/magazine/smgm45, Cali: .45 automatic/smg/c20r/sc_c20r, Mag: /obj/item/ammo_box/magazine/smgm45, Cali: .45 automatic/smg/c20r/unrestricted, Mag: /obj/item/ammo_box/magazine/smgm45, Cali: .45 automatic/smg/c20r/cobra, Mag: /obj/item/ammo_box/magazine/smgm45, Cali: .45 automatic/smg/c20r/toy, Mag: /obj/item/ammo_box/magazine/toy/smgm45/riot, Cali: foam_force automatic/smg/c20r/toy/unrestricted, Mag: /obj/item/ammo_box/magazine/toy/smgm45, Cali: foam_force automatic/smg/c20r/toy/unrestricted/riot, Mag: /obj/item/ammo_box/magazine/toy/smgm45/riot, Cali: foam_force automatic/smg/proto, Mag: /obj/item/ammo_box/magazine/smgm9mm, Cali: 9mm automatic/smg/proto/unrestricted, Mag: /obj/item/ammo_box/magazine/smgm9mm, Cali: 9mm automatic/smg/inteq, Mag: /obj/item/ammo_box/magazine/smgm10mm, Cali: 10mm automatic/smg/wt550, Mag: /obj/item/ammo_box/magazine/wt550m9, Cali: 4.6x30mm automatic/smg/mini_uzi, Mag: /obj/item/ammo_box/magazine/uzim9mm, Cali: 9mm automatic/smg/vector, Mag: /obj/item/ammo_box/magazine/smgm9mm, Cali: 9mm automatic/smg/m90, Mag: /obj/item/ammo_box/magazine/m556, Cali: 5.56x45mm automatic/smg/m90/unrestricted, Mag: /obj/item/ammo_box/magazine/m556, Cali: 5.56x45mm automatic/smg/firestorm, Mag: /obj/item/ammo_box/magazine/c45_firestorm_mag, Cali: .45 automatic/smg/firestorm/pan, Mag: /obj/item/ammo_box/magazine/c45_firestorm_mag/pan, Cali: .45 automatic/smg/cm5, Mag: /obj/item/ammo_box/magazine/smgm9mm, Cali: 9mm automatic/smg/aks74u, Mag: /obj/item/ammo_box/magazine/aks74u, Cali: 5.45x39mm automatic/powered, Mag: /obj/item/ammo_box/magazine/gauss, Cali: pellet automatic/powered/gauss, Mag: /obj/item/ammo_box/magazine/gauss, Cali: pellet automatic/powered/gauss/modelh, Mag: /obj/item/ammo_box/magazine/modelh, Cali: slug automatic/powered/gauss/claris, Mag: /obj/item/ammo_box/magazine/internal/claris, Cali: pellet automatic/powered/gauss/gar, Mag: /obj/item/ammo_box/magazine/gar, Cali: lance automatic/assault, Mag: /obj/item/ammo_box/magazine/m10mm, Cali: 10mm automatic/assault/ak47, Mag: /obj/item/ammo_box/magazine/ak47, Cali: 7.62x39mm automatic/assault/ak47/nt, Mag: /obj/item/ammo_box/magazine/aknt, Cali: 4.6x30mm automatic/assault/ak47/inteq, Mag: /obj/item/ammo_box/magazine/ak47, Cali: 7.62x39mm automatic/assault/p16, Mag: /obj/item/ammo_box/magazine/p16, Cali: 5.56x45mm automatic/assault/p16/minutemen, Mag: /obj/item/ammo_box/magazine/p16, Cali: 5.56x45mm automatic/assault/swiss_cheese, Mag: /obj/item/ammo_box/magazine/swiss, Cali: 5.56x45mm automatic/assault/e40, Mag: /obj/item/ammo_box/magazine/e40, Cali: .299 caseless automatic/vickland, Mag: /obj/item/ammo_box/magazine/internal/vickland, Cali: .308 automatic/sniper_rifle, Mag: /obj/item/ammo_box/magazine/sniper_rounds, Cali: .50 BMG automatic/sniper_rifle/syndicate, Mag: /obj/item/ammo_box/magazine/sniper_rounds, Cali: .50 BMG automatic/surplus, Mag: /obj/item/ammo_box/magazine/m10mm/rifle, Cali: 10mm automatic/ebr, Mag: /obj/item/ammo_box/magazine/ebr, Cali: .308 automatic/gal, Mag: /obj/item/ammo_box/magazine/gal, Cali: .308 automatic/gal/inteq, Mag: /obj/item/ammo_box/magazine/gal, Cali: .308 automatic/zip_pistol, Mag: /obj/item/ammo_box/magazine/zip_ammo_9mm, Cali: 9mm automatic/hmg, Mag: /obj/item/ammo_box/magazine/m10mm, Cali: 10mm automatic/hmg/l6_saw, Mag: /obj/item/ammo_box/magazine/mm712x82, Cali: 7.12x82mm automatic/hmg/l6_saw/toy, Mag: /obj/item/ammo_box/magazine/toy/m762/riot, Cali: foam_force automatic/hmg/l6_saw/toy/unrestricted, Mag: /obj/item/ammo_box/magazine/toy/m762, Cali: foam_force automatic/hmg/l6_saw/toy/unrestricted/riot, Mag: /obj/item/ammo_box/magazine/toy/m762/riot, Cali: foam_force automatic/hmg/solar, Mag: /obj/item/ammo_box/magazine/rifle47x33mm, Cali: 4.73x33mm caseless automatic/gyropistol, Mag: /obj/item/ammo_box/magazine/m75, Cali: 75 automatic/toy, Mag: /obj/item/ammo_box/magazine/toy/smg, Cali: foam_force automatic/toy/unrestricted, Mag: /obj/item/ammo_box/magazine/toy/smg, Cali: foam_force automatic/toy/pistol, Mag: /obj/item/ammo_box/magazine/toy/pistol, Cali: foam_force automatic/toy/pistol/riot, Mag: /obj/item/ammo_box/magazine/toy/pistol/riot, Cali: foam_force automatic/toy/pistol/riot/unrestricted, Mag: /obj/item/ammo_box/magazine/toy/pistol/riot, Cali: foam_force automatic/toy/pistol/unrestricted, Mag: /obj/item/ammo_box/magazine/toy/pistol, Cali: foam_force shotgun, Mag: /obj/item/ammo_box/magazine/internal/shot, Cali: 12ga shotgun/sc_pump, Mag: /obj/item/ammo_box/magazine/internal/shot, Cali: 12ga shotgun/brimstone, Mag: /obj/item/ammo_box/magazine/internal/shot/lethal, Cali: 12ga shotgun/hellfire, Mag: /obj/item/ammo_box/magazine/internal/shot/riot, Cali: 12ga shotgun/automatic, Mag: /obj/item/ammo_box/magazine/internal/shot, Cali: 12ga shotgun/automatic/combat, Mag: /obj/item/ammo_box/magazine/internal/shot/com, Cali: 12ga shotgun/automatic/combat/compact, Mag: /obj/item/ammo_box/magazine/internal/shot/com/compact, Cali: 12ga shotgun/automatic/combat/compact/compact, Mag: /obj/item/ammo_box/magazine/internal/shot/com/compact/compact, Cali: 12ga shotgun/automatic/combat/compact/compact/compact, Mag: /obj/item/ammo_box/magazine/internal/shot/com/compact/compact/compact, Cali: 12ga shotgun/automatic/dual_tube, Mag: /obj/item/ammo_box/magazine/internal/shot/tube, Cali: 12ga shotgun/automatic/dual_tube/mindshield, Mag: /obj/item/ammo_box/magazine/internal/shot/tube, Cali: 12ga shotgun/bulldog, Mag: /obj/item/ammo_box/magazine/m12g, Cali: 12ga shotgun/bulldog/unrestricted, Mag: /obj/item/ammo_box/magazine/m12g, Cali: 12ga shotgun/bulldog/inteq, Mag: /obj/item/ammo_box/magazine/m12g, Cali: 12ga shotgun/bulldog/minutemen, Mag: /obj/item/ammo_box/magazine/cm15_mag, Cali: 12ga shotgun/doublebarrel, Mag: /obj/item/ammo_box/magazine/internal/shot/dual, Cali: 12ga shotgun/doublebarrel/roumain, Mag: /obj/item/ammo_box/magazine/internal/shot/dual, Cali: 12ga shotgun/doublebarrel/improvised, Mag: /obj/item/ammo_box/magazine/internal/shot/improvised, Cali: 12ga shotgun/doublebarrel/improvised/sawn, Mag: /obj/item/ammo_box/magazine/internal/shot/improvised, Cali: 12ga shotgun/doublebarrel/hook, Mag: /obj/item/ammo_box/magazine/internal/shot/bounty, Cali: 12ga shotgun/doublebarrel/brazil, Mag: /obj/item/ammo_box/magazine/internal/shot/sex, Cali: 12ga shotgun/doublebarrel/brazil/death, Mag: /obj/item/ammo_box/magazine/internal/shot/hundred, Cali: 12ga shotgun/doublebarrel/twobore, Mag: /obj/item/ammo_box/magazine/internal/shot/twobore, Cali: twobore shotgun/doublebarrel/beacon, Mag: /obj/item/ammo_box/magazine/internal/shot/beacon, Cali: .45-70 shotgun/doublebarrel/beacon/factory, Mag: /obj/item/ammo_box/magazine/internal/shot/beacon, Cali: .45-70 shotgun/flamingarrow, Mag: /obj/item/ammo_box/magazine/internal/shot/winchester, Cali: .38 shotgun/flamingarrow/factory, Mag: /obj/item/ammo_box/magazine/internal/shot/winchester, Cali: .38 shotgun/flamingarrow/bolt, Mag: /obj/item/ammo_box/magazine/internal/shot/winchester, Cali: .38 shotgun/toy, Mag: /obj/item/ammo_box/magazine/internal/shot/toy, Cali: foam_force shotgun/toy/unrestricted, Mag: /obj/item/ammo_box/magazine/internal/shot/toy, Cali: foam_force shotgun/toy/crossbow, Mag: /obj/item/ammo_box/magazine/internal/shot/toy/crossbow, Cali: foam_force revolver, Mag: /obj/item/ammo_box/magazine/internal/cylinder, Cali: .357 revolver/grenadelauncher, Mag: /obj/item/ammo_box/magazine/internal/grenadelauncher, Cali: 40mm revolver/grenadelauncher/unrestricted, Mag: /obj/item/ammo_box/magazine/internal/grenadelauncher, Cali: 40mm revolver/grenadelauncher/cyborg, Mag: /obj/item/ammo_box/magazine/internal/cylinder/grenademulti, Cali: 40mm revolver/detective, Mag: /obj/item/ammo_box/magazine/internal/cylinder/rev38, Cali: .38 revolver/mateba, Mag: /obj/item/ammo_box/magazine/internal/cylinder, Cali: .357 revolver/golden, Mag: /obj/item/ammo_box/magazine/internal/cylinder, Cali: .357 revolver/montagne, Mag: /obj/item/ammo_box/magazine/internal/cylinder/rev38/big, Cali: .38 revolver/ashhand, Mag: /obj/item/ammo_box/magazine/internal/cylinder/rev4570, Cali: .45-70 revolver/russian, Mag: /obj/item/ammo_box/magazine/internal/cylinder/rus357, Cali: .357 revolver/firebrand, Mag: /obj/item/ammo_box/magazine/internal/cylinder/pepperbox, Cali: .357 revolver/shadow, Mag: /obj/item/ammo_box/magazine/internal/cylinder/rev45, Cali: .45 rocketlauncher, Mag: /obj/item/ammo_box/magazine/internal/rocketlauncher, Cali: 84mm rocketlauncher/unrestricted, Mag: /obj/item/ammo_box/magazine/internal/rocketlauncher, Cali: 84mm rocketlauncher/solgov, Mag: /obj/item/ammo_box/magazine/internal/rocketlauncher, Cali: 84mm derringer, Mag: /obj/item/ammo_box/magazine/internal/derr38, Cali: .38 derringer/traitor, Mag: /obj/item/ammo_box/magazine/internal/derr357, Cali: .357 derringer/gold, Mag: /obj/item/ammo_box/magazine/internal/derr357, Cali: .357 rifle, Mag: /obj/item/ammo_box/magazine/internal/boltaction, Cali: 8x50mmR rifle/illestren, Mag: /obj/item/ammo_box/magazine/illestren_a850r, Cali: rifle/illestren/factory, Mag: /obj/item/ammo_box/magazine/illestren_a850r, Cali: rifle/solgov, Mag: /obj/item/ammo_box/magazine/internal/boltaction/solgov, Cali: a858 rifle/scout, Mag: /obj/item/ammo_box/magazine/internal/boltaction/smile, Cali: a300 rifle/polymer, Mag: /obj/item/ammo_box/magazine/internal/boltaction/polymer, Cali: .300 BLK bow, Mag: /obj/item/ammo_box/magazine/internal/bow, Cali: arrow bow/ashen, Mag: /obj/item/ammo_box/magazine/internal/bow, Cali: arrow bow/pipe, Mag: /obj/item/ammo_box/magazine/internal/bow, Cali: arrow