The purpose of Gunsmith Barters is to add guns and attachments required for gunsmith, primarily to make gunsmith quests easier to do on hardcore runs. If you in general just want more barters this mod will also fill that niche. This mod works well with mods that remove non-barters like Hardcore Rules or similar. In an attempt to maintain the spirit of hardcore an attempt to make the barter cost balanced was made. Feel free to give feedback on incorrect, missing or unbalanced entries.
The following barters are added.
Added Item | Barter Cost | Trader | Quest Restriction |
---|---|---|---|
MP-133/153 plastic pistol grip | 1xRAM | Jaeger LVL1 | |
NcSTAR Tactical blue laser LAM-module | 1xCan of Hot Rod energy drink | Skier LVL1 | |
KAC vertical foregrip | 2xFlat screwdriver | Mechanic LVL1 | |
SKS CHOATE scope mount | 1xSurvL Survivor Lighter, 1xCrickent lighter | Jaeger LVL2 | |
VOMZ Pilad 4x32 25.4mm riflescope | 2xBottle of water (0.6L) | Jaeger LVL1 | |
Leapers UTG 25mm ring scope mount | 1xGunpowder "Hawk" | Jaeger LVL1 | |
SKS TAPCO Intrafuse buffer tube | 1xPack of Russian Army pineapple juice | Jaeger LVL1 | |
SKS TAPCO Intrafuse SAW-Style pistol grip | 1xWilston cigarettes | Jaeger LVL1 | |
SKS Hexagon 7.62x39 sound suppressor | 1xElectric motor | Skier LVL3 | |
M870 12ga 508mm barrel | 2xStrike Cigarettes, 2xWilston cigarettes | Mechanic LVL1 | |
ME Cylinder 12ga muzzle adapter | 1xCan of pacific saury | Jaeger LVL1 | |
GK-02 12ga muzzle brake | 1xElectronic components, 1xPrinted circuit board | Jaeger LVL2 | |
Fortis Shift tactical foregrip | 1xWooden clock | Mechanic LVL4 | |
AK TAPCO SAW-Style pistol grip (Black) | 3xCapacitors | Jaeger LVL2 | |
AK 7.62x39 Magpul PMAG 30 GEN M3 30-round magazine | 1xCan of herring | Mechanic LVL2 | |
AK Magpul MOE AKM handguard (FDE) | 1xBottle of Tarkovskaya vodka | Mechanic LVL2 | |
AK AKademia Bastion dust cover | 1xBottle of Pevko Light beer | Skier LVL1 | |
Trijicon TA51 sight mount | 1xCapacitors | Mechanic LVL2 | |
Trijicon ACOG TA11D 3.5x35 scope | 1xSSD drive | Mechanic LVL2 | |
AR-15 KRISS Defiance DS150 stock (Black) | 1xPack of nails, 1xPortable Powerbank | Mechanic LVL2 | |
AR-15 Magpul MOE SL carbine length M-LOK handguard | 1xBundle of wires, 1xRound pliers | Skier LVL1 | |
AR-15 Windham Weaponry Rail Gas Block | 1xUSB Adapter, 1xRechargeable battery | Jaeger LVL1 | |
Daniel Defense Enhanced M-LOK Vertical Foregrip (Black) | 1xBroken LCD | Mechanic LVL2 | |
AR-15 SureFire WarComp 5.56x45 flash hider | 2xCyclon rechargeable battery | Skier LVL2 | |
Kalashnikov AKS-74N 5.45x39 assault rifle | 2xSoap, 1xWeapon parts | Prapor LVL2 | |
Zenit RK-0 tactical foregrip | 1xAlyonka chocolate bar, 1xSlickers chocolate bar | Skier LVL3 | |
AK-12 5.45x39 30-round magazine | 2xPliers | Prapor LVL3 | |
Zenit Klesch-2IKS IR illuminator with laser | 1xPhase control relay | Skier LVL2 | |
P226 TJ's Custom 9x19 compensator | 1xSpark plug | Jaeger LVL1 | |
P226 9x19 threaded barrel | 1xBroken GPhone smartphone | Mechanic LVL1 | |
Kalashnikov AK-105 5.45x39 assault rifle | 1xGunpowder "Hawk", 2xWeapon parts | Prapor LVL3 | |
AK 100-series polymer handguard | 1xBolts, 1xCan of beef stew (Large) | Prapor LVL1 | Gunsmith - Part 2 |
AK-74M/AK-100 Zenit PT Lock | 1xPower cord | Skier LVL2 | |
AK Zenit PT-1 "Klassika" stock | 1xAnalog thermometer | Skier LVL2 | |
TDI KRISS Vector Gen.2 9x19 submachine gun | 4xLight bulb, 2xPressure gauge | Skier LVL3 | Vitamins - Part 2 |
Tactical Dynamics Skeletonized Foregrip | 1xCan of Dr. Lupo's coffee beans | Mechanic LVL3 | |
AR-15 Colt Carbine buffer tube | 2xLight bulb | Skier LVL2 | |
Steiner LAS/TAC 2 tactical flashlight | 1xAwl | Jaeger LVL3 | |
Remington RAHG 4 inch rail | 1xMetal spare parts | Jaeger LVL2 | |
KAC Folding rear sight | 1xZibbo lighter | Mechanic LVL2 | |
KAC Folding front sight | 1xZibbo lighter | Mechanic LVL2 | |
AR-15 F1 Firearms Skeletonized Style 1 pistol grip | 1xDeadlyslob's beard oil, 1xChainlet | Skier LVL3 | |
HK 416A5 5.56x45 assault rifle | 4xCPU fan, 2xPC CPU | Mechanic LVL3 | Wet Job - Part 3 |
Magpul M-LOK Cantilever Mount | 1xRechargeable battery | Skier LVL2 | |
AR-15 Magpul MOE pistol grip (FDE) | 1xPower supply unit | Mechanic LVL3 | |
AR-15 Magpul UBR GEN2 stock (FDE) | 1xWorking LCD | Mechanic LVL3 | |
Magpul RVG foregrip (FDE) | 1xScrewdriver, 3xDuct tape | Mechanic LVL3 | |
LA-5B/PEQ tactical device | 1xElectronic components | Jaeger LVL4 | |
Magpul MBUS Gen2 flip-up rear sight (FDE) | 1xNippers | Jaeger LVL2 | |
Magpul MBUS Gen2 flip-up front sight (FDE) | 1xNippers | Jaeger LVL2 | |
EOTech EXPS3 holographic sight (Tan) | 1xToolset | Jaeger LVL4 | |
AS VAL 9x39 special assault rifle | 1xPressure gauge, 4xKEKTAPE duct tape | Prapor LVL4 | |
NSPU-M 3.5x dovetail night vision scope | 2xStrike Cigarettes | Prapor LVL1 | |
VSS/VAL Zenit B-3 ring mount | 1xGolden neck chain | Skier LVL3 | |
Kalashnikov AK-102 5.56x45 assault rifle | 2xFlat screwdriver (Long), 2xFlat screwdriver, 2xStrike Cigarettes | Jaeger LVL3 | |
AK CNC Warrior 5.56x45 muzzle device adapter | 3xStrike Cigarettes | Jaeger LVL3 | |
RPK-16 buffer tube | 2xPliers | Jaeger LVL3 | |
AK Zenit B-10M handguard with B-19 upper mount | 1xDVD drive, 1xPack of nails | Skier LVL3 | |
Magpul AFG tactical foregrip (Olive Drab) | 2xPhase control relay | Jaeger LVL3 | |
Zenit Klesch-2U tactical flashlight | 2xLight bulb | Jaeger LVL3 | |
AK CSS knurled charging handle | 1x42 Signature Blend English Tea | Skier LVL3 | |
AK Zenit B-33 dust cover | 1xToolset | Skier LVL3 | |
Kalashnikov AKMN 7.62x39 assault rifle | 4xCan of green peas | Prapor LVL3 | |
AK Magpul MOE AKM handguard (Black) | 2xPack of Tarker dried meat | Jaeger LVL3 | |
Magpul M-LOK AFG tactical foregrip (Black) | 3xDuct tape | Skier LVL3 | |
AKM/AK-74 Magpul Zhukov-S stock | 2xGeiger-Muller counter | Mechanic LVL4 | |
AK Magpul MOE pistol grip (Black) | 2xPower cord | Jaeger LVL3 | |
EOTech HHS-1 hybrid sight | 2xSpark plug, 1xWorking LCD | Mechanic LVL4 | |
SVDS Lynx Arms Hinge buffer tube adapter | 1xMRE ration pack | Jaeger LVL2 | |
AR-15 Magpul UBR GEN2 stock (Black) | 1xOx bleach, 1xSoap | Mechanic LVL3 | |
SVDS Rotor 43 thread adapter | 2xWD-40 (100ml) | Jaeger LVL3 | |
Rotor 43 7.62x54R muzzle brake-compensator | 1xBattered antique book | Skier LVL3 | |
March Tactical 3-24x42 FFP 30mm riflescope | 3xPack of sugar | Jaeger LVL4 | |
M1A 7.62x51 20-round magazine | 2xHunting matches | Mechanic LVL2 | |
Aimpoint Micro T-1 reflex sight | 2xZibbo lighter | Mechanic LVL2 | |
Aimpoint Micro Standard Mount | 1xCrickent lighter | Jaeger LVL1 | |
Holosun LS321 Tactical device | 2xCan of TarCola soda | Skier LVL3 |
This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently.
- NodeJS Setup
- IDE Setup
- Workspace Configuration
- Environment Setup
- Essential Concepts
- Coding Guidelines
- Distribution Guidelines
Before you begin, ensure to install NodeJS version v20.11.1
, which has been tested thoroughly with our mod templates and build scripts. Download it from the official NodeJS website.
After installation, it's advised to reboot your system.
For this project, you can work with either VSCodium or VSCode. However, we strongly recommend using VSCode, as all development and testing have been carried out using this IDE, ensuring a smoother experience and compatibility with the project setups. Either way, we have a prepared a workspace file to assist you in setting up your environment.
With NodeJS and your chosen IDE ready, initiate the mod.code-workspace
file using your IDE:
File -> Open Workspace from File...
Upon project loading, consider installing recommended plugins like the ESLint plugin.
An automated task is available to configure your environment for Typescript utilization:
Terminal -> Run Task... -> Show All Tasks... -> npm: install
Note: Preserve the node_modules
folder as it contains necessary dependencies for Typescript and other functionalities.
Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release.
Some resources to get you started:
Focus your mod development around the mod.ts
file. In the package.json
file, only alter these properties: "name"
, "version"
, "sptVersion"
, "loadBefore"
, "loadAfter"
, "incompatibilities"
, "isBundleMod"
, "author"
, and "license"
.
New to Typescript? Find comprehensive documentation on the official website.
Automated tasks are set up to bundle all necessary files for your mod to function in SPT:
Terminal -> Run Task... -> Show All Tasks... -> npm: build
The ZIP output, located in the dist
directory, contains all required files. Ensure all files are included and modify the .buildignore
file as needed. This ZIP file is your uploadable asset for the hub.
With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the modding documentation on the hub. If you really get stuck feel free to join us in the #mods-development official Discord channel.
Build something awesome!