From 8ef405e551b7dd9eeece98600db8d8238c7b57e8 Mon Sep 17 00:00:00 2001 From: Dev Date: Sat, 6 Jan 2024 11:11:04 +0000 Subject: [PATCH] Correctly implemented: `client/builds/delete` `client/builds/equipment/save` `client/builds/weapon/save` Updated `defaultEquipmentPresets` json data Removed old 0.13 preset implementation files profile-breaking change --- .../templates/defaultEquipmentPresets.json | 5916 ++++++++--------- project/src/callbacks/BuildsCallbacks.ts | 20 +- project/src/callbacks/PresetBuildCallbacks.ts | 77 - project/src/controllers/BuildController.ts | 143 +- project/src/di/Container.ts | 7 - .../IPresetBuildActionRequestData.ts | 9 +- .../presetBuild/IRemoveBuildRequestData.ts | 3 +- project/src/models/eft/profile/IAkiProfile.ts | 51 +- .../src/models/spt/server/IDatabaseTables.ts | 4 +- .../item_events/PresetBuildItemEventRouter.ts | 49 - project/src/services/ProfileFixerService.ts | 2 +- 11 files changed, 2864 insertions(+), 3417 deletions(-) delete mode 100644 project/src/callbacks/PresetBuildCallbacks.ts delete mode 100644 project/src/routers/item_events/PresetBuildItemEventRouter.ts diff --git a/project/assets/database/templates/defaultEquipmentPresets.json b/project/assets/database/templates/defaultEquipmentPresets.json index 921fd236..46363c90 100644 --- a/project/assets/database/templates/defaultEquipmentPresets.json +++ b/project/assets/database/templates/defaultEquipmentPresets.json @@ -1,14 +1,13 @@ [{ - "id": "64cbc2985b78c2021172b214", - "name": "Hunter", - "root": "64ccac35a7f8eb6f660e20bc", - "items": [{ - "_id": "64ccac35a7f8eb6f660e20bc", + "Id": "6581c1c7d7b74c66dc56234a", + "Name": "Hunter", + "Items": [{ + "_id": "65817ffce0934d2f3d0559c4", "_tpl": "55d7217a4bdc2d86028b456d" }, { - "_id": "64ccac35a7f8eb6f660e20bd", + "_id": "65817ffce0934d2f3d0559c5", "_tpl": "5580223e4bdc2d1c128b457f", - "parentId": "64ccac35a7f8eb6f660e20bc", + "parentId": "65817ffce0934d2f3d0559c4", "slotId": "FirstPrimaryWeapon", "upd": { "Repairable": { @@ -20,49 +19,60 @@ } } }, { - "_id": "64ccac35a7f8eb6f660e20be", + "_id": "65817ffce0934d2f3d0559c6", "_tpl": "55d447bb4bdc2d892f8b456f", - "parentId": "64ccac35a7f8eb6f660e20bd", + "parentId": "65817ffce0934d2f3d0559c5", "slotId": "mod_barrel" }, { - "_id": "64ccac35a7f8eb6f660e20bf", + "_id": "65817ffce0934d2f3d0559c7", "_tpl": "611a31ce5b7ffe001b4649d1", - "parentId": "64ccac35a7f8eb6f660e20bd", + "parentId": "65817ffce0934d2f3d0559c5", "slotId": "mod_stock" }, { - "_id": "64ccac35a7f8eb6f660e20c0", + "_id": "65817ffce0934d2f3d0559c8", "_tpl": "560d5e524bdc2d25448b4571", - "parentId": "64ccac35a7f8eb6f660e20bd", + "parentId": "65817ffce0934d2f3d0559c5", "slotId": "patron_in_weapon_000" }, { - "_id": "64ccac35a7f8eb6f660e20c1", + "_id": "65817ffce0934d2f3d0559c9", "_tpl": "560d5e524bdc2d25448b4571", - "parentId": "64ccac35a7f8eb6f660e20bd", + "parentId": "65817ffce0934d2f3d0559c5", "slotId": "patron_in_weapon_001" }, { - "_id": "64ccac35a7f8eb6f660e20c2", + "_id": "65817ffce0934d2f3d0559ca", + "_tpl": "57cd379a24597778e7682ecf", + "parentId": "65817ffce0934d2f3d0559c4", + "slotId": "Scabbard", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + } + } + }, { + "_id": "65817ffce0934d2f3d0559cb", "_tpl": "5b4327aa5acfc400175496e0", - "parentId": "64ccac35a7f8eb6f660e20bc", + "parentId": "65817ffce0934d2f3d0559c4", "slotId": "Headwear" }, { - "_id": "64ccac35a7f8eb6f660e20c3", + "_id": "65817ffce0934d2f3d0559cc", "_tpl": "5857a8bc2459772bad15db29", - "parentId": "64ccac35a7f8eb6f660e20bc", + "parentId": "65817ffce0934d2f3d0559c4", "slotId": "SecuredContainer" }, { - "_id": "64ccac35a7f8eb6f660e20c4", + "_id": "65817ffce0934d2f3d0559cd", "_tpl": "5ab8ee7786f7742d8f33f0b9", - "parentId": "64ccac35a7f8eb6f660e20bc", + "parentId": "65817ffce0934d2f3d0559c4", "slotId": "Backpack" }, { - "_id": "64ccac35a7f8eb6f660e20c5", + "_id": "65817ffce0934d2f3d0559ce", "_tpl": "627a4e6b255f7527fb05a0f6", - "parentId": "64ccac35a7f8eb6f660e20bc", + "parentId": "65817ffce0934d2f3d0559c4", "slotId": "Pockets" }, { - "_id": "64ccac35a7f8eb6f660e20c6", + "_id": "65817ffce0934d2f3d0559cf", "_tpl": "5755356824597772cb798962", - "parentId": "64ccac35a7f8eb6f660e20c5", + "parentId": "65817ffce0934d2f3d0559ce", "slotId": "pocket1", "location": { "x": 0, @@ -76,9 +86,9 @@ } } }, { - "_id": "64ccac35a7f8eb6f660e20c7", + "_id": "65817ffce0934d2f3d0559d0", "_tpl": "544fb25a4bdc2dfb738b4567", - "parentId": "64ccac35a7f8eb6f660e20c5", + "parentId": "65817ffce0934d2f3d0559ce", "slotId": "pocket2", "location": { "x": 0, @@ -87,9 +97,9 @@ "isSearched": true } }, { - "_id": "64ccac35a7f8eb6f660e20c8", + "_id": "65817ffce0934d2f3d0559d1", "_tpl": "5e831507ea0a7c419c2f9bd9", - "parentId": "64ccac35a7f8eb6f660e20c5", + "parentId": "65817ffce0934d2f3d0559ce", "slotId": "pocket3", "location": { "x": 0, @@ -98,9 +108,9 @@ "isSearched": true } }, { - "_id": "64ccac35a7f8eb6f660e20c9", + "_id": "65817ffce0934d2f3d0559d2", "_tpl": "560d5e524bdc2d25448b4571", - "parentId": "64ccac35a7f8eb6f660e20c5", + "parentId": "65817ffce0934d2f3d0559ce", "slotId": "pocket4", "location": { "x": 0, @@ -113,424 +123,19 @@ } } ], - "type": "equipment", - "fastPanel": [], - "buildType": "Standard" + "Root": "65817ffce0934d2f3d0559c4", + "BuildType": "Standard", + "type": "equipment" }, { - "id": "64cbc3243ccb85468628d4b1", - "name": "Robber", - "root": "64ccac39c68b26233a64b3ac", - "items": [{ - "_id": "64ccac39c68b26233a64b3ac", + "Id": "6581c1c7d7b74c66dc562348", + "Name": "Gunslinger", + "Items": [{ + "_id": "65818264fca8fa7cdc4a69dc", "_tpl": "55d7217a4bdc2d86028b456d" }, { - "_id": "64ccac39c68b26233a64b3ad", - "_tpl": "5448bd6b4bdc2dfc2f8b4569", - "parentId": "64ccac39c68b26233a64b3ac", - "slotId": "Holster", - "upd": { - "Repairable": { - "MaxDurability": 100, - "Durability": 100 - }, - "FireMode": { - "FireMode": "single" - } - } - }, { - "_id": "64ccac39c68b26233a64b3ae", - "_tpl": "5448c12b4bdc2d02308b456f", - "parentId": "64ccac39c68b26233a64b3ad", - "slotId": "mod_magazine" - }, { - "_id": "64ccac39c68b26233a64b3af", - "_tpl": "573719762459775a626ccbc1", - "parentId": "64ccac39c68b26233a64b3ae", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 8 - } - }, { - "_id": "64ccac39c68b26233a64b3b0", - "_tpl": "6374a822e629013b9c0645c8", - "parentId": "64ccac39c68b26233a64b3ad", - "slotId": "mod_reciever" - }, { - "_id": "64ccac39c68b26233a64b3b1", - "_tpl": "63c6adcfb4ba094317063742", - "parentId": "64ccac39c68b26233a64b3b0", - "slotId": "mod_sight_rear", - "upd": { - "Sight": { - "ScopesCurrentCalibPointIndexes": [0], - "ScopesSelectedModes": [0], - "SelectedScope": 0 - } - } - }, { - "_id": "64ccac39c68b26233a64b3b2", - "_tpl": "637784c5f7b3f4ac1a0d1a9a", - "parentId": "64ccac39c68b26233a64b3ad", - "slotId": "mod_pistolgrip" - }, { - "_id": "64ccac39c68b26233a64b3b3", - "_tpl": "572b7f1624597762ae139822", - "parentId": "64ccac39c68b26233a64b3ac", - "slotId": "FaceCover" - }, { - "_id": "64ccac39c68b26233a64b3b4", - "_tpl": "5e4abc1f86f774069619fbaa", - "parentId": "64ccac39c68b26233a64b3ac", - "slotId": "TacticalVest" - }, { - "_id": "64ccac39c68b26233a64b3b5", - "_tpl": "5448c12b4bdc2d02308b456f", - "parentId": "64ccac39c68b26233a64b3b4", - "slotId": "1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac39c68b26233a64b3b6", - "_tpl": "573719762459775a626ccbc1", - "parentId": "64ccac39c68b26233a64b3b5", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 8 - } - }, { - "_id": "64ccac39c68b26233a64b3b7", - "_tpl": "5448c12b4bdc2d02308b456f", - "parentId": "64ccac39c68b26233a64b3b4", - "slotId": "1", - "location": { - "x": 0, - "y": 1, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac39c68b26233a64b3b8", - "_tpl": "573719762459775a626ccbc1", - "parentId": "64ccac39c68b26233a64b3b7", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 8 - } - }, { - "_id": "64ccac39c68b26233a64b3b9", - "_tpl": "5448c12b4bdc2d02308b456f", - "parentId": "64ccac39c68b26233a64b3b4", - "slotId": "2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac39c68b26233a64b3ba", - "_tpl": "573719762459775a626ccbc1", - "parentId": "64ccac39c68b26233a64b3b9", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 8 - } - }, { - "_id": "64ccac39c68b26233a64b3bb", - "_tpl": "573719762459775a626ccbc1", - "parentId": "64ccac39c68b26233a64b3b4", - "slotId": "2", - "location": { - "x": 0, - "y": 1, - "r": 0, - "isSearched": true - }, - "upd": { - "StackObjectsCount": 50 - } - }, { - "_id": "64ccac39c68b26233a64b3bc", - "_tpl": "5857a8bc2459772bad15db29", - "parentId": "64ccac39c68b26233a64b3ac", - "slotId": "SecuredContainer" - }, { - "_id": "64ccac39c68b26233a64b3bd", - "_tpl": "56e33680d2720be2748b4576", - "parentId": "64ccac39c68b26233a64b3ac", - "slotId": "Backpack" - }, { - "_id": "64ccac39c68b26233a64b3be", - "_tpl": "59e7635f86f7742cbf2c1095", - "parentId": "64ccac39c68b26233a64b3ac", - "slotId": "ArmorVest", - "upd": { - "Repairable": { - "MaxDurability": 40, - "Durability": 40 - } - } - }, { - "_id": "64ccac39c68b26233a64b3bf", - "_tpl": "627a4e6b255f7527fb05a0f6", - "parentId": "64ccac39c68b26233a64b3ac", - "slotId": "Pockets" - }, { - "_id": "64ccac39c68b26233a64b3c0", - "_tpl": "5755356824597772cb798962", - "parentId": "64ccac39c68b26233a64b3bf", - "slotId": "pocket1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 100 - } - } - }, { - "_id": "64ccac39c68b26233a64b3c1", - "_tpl": "544fb25a4bdc2dfb738b4567", - "parentId": "64ccac39c68b26233a64b3bf", - "slotId": "pocket2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac39c68b26233a64b3c2", - "_tpl": "5e831507ea0a7c419c2f9bd9", - "parentId": "64ccac39c68b26233a64b3bf", - "slotId": "pocket3", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - } - ], - "type": "equipment", - "fastPanel": [], - "buildType": "Standard" - }, { - "id": "64cbc3a57a078773360f8602", - "name": "Guard", - "root": "64ccac3dae162a7344329788", - "items": [{ - "_id": "64ccac3dae162a7344329788", - "_tpl": "55d7217a4bdc2d86028b456d" - }, { - "_id": "64ccac3dae162a7344329789", - "_tpl": "57d14d2524597714373db789", - "parentId": "64ccac3dae162a7344329788", - "slotId": "FirstPrimaryWeapon", - "upd": { - "Repairable": { - "MaxDurability": 100, - "Durability": 100 - }, - "Foldable": { - "Folded": false - }, - "FireMode": { - "FireMode": "single" - } - } - }, { - "_id": "64ccac3dae162a734432978a", - "_tpl": "57d152ec245977144076ccdf", - "parentId": "64ccac3dae162a7344329789", - "slotId": "mod_pistol_grip" - }, { - "_id": "64ccac3dae162a734432978b", - "_tpl": "57d1519e24597714373db79d", - "parentId": "64ccac3dae162a7344329789", - "slotId": "mod_magazine" - }, { - "_id": "64ccac3dae162a734432978c", - "_tpl": "573719762459775a626ccbc1", - "parentId": "64ccac3dae162a734432978b", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac3dae162a734432978d", - "_tpl": "59e7711e86f7746cae05fbe1", - "parentId": "64ccac3dae162a7344329788", - "slotId": "Headwear", - "upd": { - "Repairable": { - "MaxDurability": 25, - "Durability": 25 - } - } - }, { - "_id": "64ccac3dae162a734432978e", - "_tpl": "59e7643b86f7742cbf2c109a", - "parentId": "64ccac3dae162a7344329788", - "slotId": "TacticalVest" - }, { - "_id": "64ccac3dae162a734432978f", - "_tpl": "57d1519e24597714373db79d", - "parentId": "64ccac3dae162a734432978e", - "slotId": "1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac3dae162a7344329790", - "_tpl": "573719762459775a626ccbc1", - "parentId": "64ccac3dae162a734432978f", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac3dae162a7344329791", - "_tpl": "57d1519e24597714373db79d", - "parentId": "64ccac3dae162a734432978e", - "slotId": "1", - "location": { - "x": 1, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac3dae162a7344329792", - "_tpl": "573719762459775a626ccbc1", - "parentId": "64ccac3dae162a7344329791", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac3dae162a7344329793", - "_tpl": "57d1519e24597714373db79d", - "parentId": "64ccac3dae162a734432978e", - "slotId": "2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac3dae162a7344329794", - "_tpl": "573719762459775a626ccbc1", - "parentId": "64ccac3dae162a7344329793", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac3dae162a7344329795", - "_tpl": "573719762459775a626ccbc1", - "parentId": "64ccac3dae162a734432978e", - "slotId": "4", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "StackObjectsCount": 50 - } - }, { - "_id": "64ccac3dae162a7344329796", - "_tpl": "5857a8bc2459772bad15db29", - "parentId": "64ccac3dae162a7344329788", - "slotId": "SecuredContainer" - }, { - "_id": "64ccac3dae162a7344329797", - "_tpl": "56e33680d2720be2748b4576", - "parentId": "64ccac3dae162a7344329788", - "slotId": "Backpack" - }, { - "_id": "64ccac3dae162a7344329798", - "_tpl": "59e7635f86f7742cbf2c1095", - "parentId": "64ccac3dae162a7344329788", - "slotId": "ArmorVest", - "upd": { - "Repairable": { - "MaxDurability": 40, - "Durability": 40 - } - } - }, { - "_id": "64ccac3dae162a7344329799", - "_tpl": "627a4e6b255f7527fb05a0f6", - "parentId": "64ccac3dae162a7344329788", - "slotId": "Pockets" - }, { - "_id": "64ccac3dae162a734432979a", - "_tpl": "5755356824597772cb798962", - "parentId": "64ccac3dae162a7344329799", - "slotId": "pocket1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 100 - } - } - }, { - "_id": "64ccac3dae162a734432979b", - "_tpl": "544fb25a4bdc2dfb738b4567", - "parentId": "64ccac3dae162a7344329799", - "slotId": "pocket2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac3dae162a734432979c", - "_tpl": "5e831507ea0a7c419c2f9bd9", - "parentId": "64ccac3dae162a7344329799", - "slotId": "pocket3", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - } - ], - "type": "equipment", - "fastPanel": [], - "buildType": "Standard" - }, { - "id": "64cbc43c88d9782ede0a8a27", - "name": "Gunslinger", - "root": "64ccac442e015b35031fc058", - "items": [{ - "_id": "64ccac442e015b35031fc058", - "_tpl": "55d7217a4bdc2d86028b456d" - }, { - "_id": "64ccac442e015b35031fc059", + "_id": "65818264fca8fa7cdc4a69dd", "_tpl": "56d59856d2720bd8418b456a", - "parentId": "64ccac442e015b35031fc058", + "parentId": "65818264fca8fa7cdc4a69dc", "slotId": "Holster", "upd": { "Repairable": { @@ -542,29 +147,29 @@ } } }, { - "_id": "64ccac442e015b35031fc05a", + "_id": "65818264fca8fa7cdc4a69de", "_tpl": "587de4282459771bca0ec90b", - "parentId": "64ccac442e015b35031fc059", + "parentId": "65818264fca8fa7cdc4a69dd", "slotId": "mod_barrel" }, { - "_id": "64ccac442e015b35031fc05b", + "_id": "65818264fca8fa7cdc4a69df", "_tpl": "5c6beec32e221601da3578f2", - "parentId": "64ccac442e015b35031fc05a", + "parentId": "65818264fca8fa7cdc4a69de", "slotId": "mod_muzzle" }, { - "_id": "64ccac442e015b35031fc05c", + "_id": "65818264fca8fa7cdc4a69e0", "_tpl": "56d5a2bbd2720bb8418b456a", - "parentId": "64ccac442e015b35031fc059", + "parentId": "65818264fca8fa7cdc4a69dd", "slotId": "mod_pistol_grip" }, { - "_id": "64ccac442e015b35031fc05d", + "_id": "65818264fca8fa7cdc4a69e1", "_tpl": "56d5a407d2720bb3418b456b", - "parentId": "64ccac442e015b35031fc059", + "parentId": "65818264fca8fa7cdc4a69dd", "slotId": "mod_reciever" }, { - "_id": "64ccac442e015b35031fc05e", + "_id": "65818264fca8fa7cdc4a69e2", "_tpl": "56d5a77ed2720b90418b4568", - "parentId": "64ccac442e015b35031fc05d", + "parentId": "65818264fca8fa7cdc4a69e1", "slotId": "mod_sight_rear", "upd": { "Sight": { @@ -574,9 +179,9 @@ } } }, { - "_id": "64ccac442e015b35031fc05f", + "_id": "65818264fca8fa7cdc4a69e3", "_tpl": "56d5a661d2720bd8418b456b", - "parentId": "64ccac442e015b35031fc05d", + "parentId": "65818264fca8fa7cdc4a69e1", "slotId": "mod_sight_front", "upd": { "Sight": { @@ -586,22 +191,22 @@ } } }, { - "_id": "64ccac442e015b35031fc060", + "_id": "65818264fca8fa7cdc4a69e4", "_tpl": "56d59948d2720bb7418b4582", - "parentId": "64ccac442e015b35031fc059", + "parentId": "65818264fca8fa7cdc4a69dd", "slotId": "mod_magazine" }, { - "_id": "64ccac442e015b35031fc061", - "_tpl": "64b7bbb74b75259c590fa897", - "parentId": "64ccac442e015b35031fc060", + "_id": "65818264fca8fa7cdc4a69e5", + "_tpl": "5c3df7d588a4501f290594e5", + "parentId": "65818264fca8fa7cdc4a69e4", "slotId": "cartridges", "upd": { "StackObjectsCount": 15 } }, { - "_id": "64ccac442e015b35031fc062", + "_id": "65818264fca8fa7cdc4a69e6", "_tpl": "5cc9c20cd7f00c001336c65d", - "parentId": "64ccac442e015b35031fc059", + "parentId": "65818264fca8fa7cdc4a69dd", "slotId": "mod_tactical", "upd": { "Light": { @@ -610,111 +215,151 @@ } } }, { - "_id": "64ccac442e015b35031fc063", - "_tpl": "64be7095047e826eae02b0c1", - "parentId": "64ccac442e015b35031fc058", - "slotId": "TacticalVest" + "_id": "65818264fca8fa7cdc4a69e7", + "_tpl": "5c3df7d588a4501f290594e5", + "parentId": "65818264fca8fa7cdc4a69dd", + "slotId": "patron_in_weapon" }, { - "_id": "64ccac442e015b35031fc064", - "_tpl": "56d59948d2720bb7418b4582", - "parentId": "64ccac442e015b35031fc063", - "slotId": "1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac442e015b35031fc065", - "_tpl": "64b7bbb74b75259c590fa897", - "parentId": "64ccac442e015b35031fc064", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 15 - } - }, { - "_id": "64ccac442e015b35031fc066", - "_tpl": "56d59948d2720bb7418b4582", - "parentId": "64ccac442e015b35031fc063", - "slotId": "1", - "location": { - "x": 0, - "y": 1, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac442e015b35031fc067", - "_tpl": "64b7bbb74b75259c590fa897", - "parentId": "64ccac442e015b35031fc066", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 15 - } - }, { - "_id": "64ccac442e015b35031fc068", - "_tpl": "56d59948d2720bb7418b4582", - "parentId": "64ccac442e015b35031fc063", - "slotId": "2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac442e015b35031fc069", - "_tpl": "64b7bbb74b75259c590fa897", - "parentId": "64ccac442e015b35031fc068", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 15 - } - }, { - "_id": "64ccac442e015b35031fc06a", - "_tpl": "64b7bbb74b75259c590fa897", - "parentId": "64ccac442e015b35031fc063", - "slotId": "2", - "location": { - "x": 0, - "y": 1, - "r": 0, - "isSearched": true - }, - "upd": { - "StackObjectsCount": 50 - } - }, { - "_id": "64ccac442e015b35031fc06b", - "_tpl": "5857a8bc2459772bad15db29", - "parentId": "64ccac442e015b35031fc058", - "slotId": "SecuredContainer" - }, { - "_id": "64ccac442e015b35031fc06c", - "_tpl": "5ab8f04f86f774585f4237d8", - "parentId": "64ccac442e015b35031fc058", - "slotId": "Backpack" - }, { - "_id": "64ccac442e015b35031fc06d", - "_tpl": "5648a7494bdc2d9d488b4583", - "parentId": "64ccac442e015b35031fc058", - "slotId": "ArmorVest", + "_id": "65818264fca8fa7cdc4a69e8", + "_tpl": "57cd379a24597778e7682ecf", + "parentId": "65818264fca8fa7cdc4a69dc", + "slotId": "Scabbard", "upd": { "Repairable": { - "MaxDurability": 50, - "Durability": 50 + "MaxDurability": 100, + "Durability": 100 } } }, { - "_id": "64ccac442e015b35031fc06e", + "_id": "65818264fca8fa7cdc4a69e9", + "_tpl": "64be7095047e826eae02b0c1", + "parentId": "65818264fca8fa7cdc4a69dc", + "slotId": "TacticalVest" + }, { + "_id": "65818264fca8fa7cdc4a69ea", + "_tpl": "56d59948d2720bb7418b4582", + "parentId": "65818264fca8fa7cdc4a69e9", + "slotId": "1", + "location": { + "x": 0, + "y": 1, + "r": 0, + "isSearched": true + } + }, { + "_id": "65818264fca8fa7cdc4a69eb", + "_tpl": "5c3df7d588a4501f290594e5", + "parentId": "65818264fca8fa7cdc4a69ea", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 15 + } + }, { + "_id": "65818264fca8fa7cdc4a69ec", + "_tpl": "56d59948d2720bb7418b4582", + "parentId": "65818264fca8fa7cdc4a69e9", + "slotId": "1", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "65818264fca8fa7cdc4a69ed", + "_tpl": "5c3df7d588a4501f290594e5", + "parentId": "65818264fca8fa7cdc4a69ec", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 15 + } + }, { + "_id": "65818264fca8fa7cdc4a69ee", + "_tpl": "56d59948d2720bb7418b4582", + "parentId": "65818264fca8fa7cdc4a69e9", + "slotId": "2", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "65818264fca8fa7cdc4a69ef", + "_tpl": "5c3df7d588a4501f290594e5", + "parentId": "65818264fca8fa7cdc4a69ee", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 15 + } + }, { + "_id": "65818264fca8fa7cdc4a69f0", + "_tpl": "5857a8bc2459772bad15db29", + "parentId": "65818264fca8fa7cdc4a69dc", + "slotId": "SecuredContainer" + }, { + "_id": "65818264fca8fa7cdc4a69f1", + "_tpl": "5ab8f04f86f774585f4237d8", + "parentId": "65818264fca8fa7cdc4a69dc", + "slotId": "Backpack" + }, { + "_id": "65818264fca8fa7cdc4a69f2", + "_tpl": "5648a7494bdc2d9d488b4583", + "parentId": "65818264fca8fa7cdc4a69dc", + "slotId": "ArmorVest" + }, { + "_id": "65818264fca8fa7cdc4a69f3", + "_tpl": "65703d866584602f7d057a8a", + "parentId": "65818264fca8fa7cdc4a69f2", + "slotId": "Soft_armor_front", + "upd": { + "Repairable": { + "MaxDurability": 40, + "Durability": 40 + } + } + }, { + "_id": "65818264fca8fa7cdc4a69f4", + "_tpl": "65703fa06584602f7d057a8e", + "parentId": "65818264fca8fa7cdc4a69f2", + "slotId": "Soft_armor_back", + "upd": { + "Repairable": { + "MaxDurability": 40, + "Durability": 40 + } + } + }, { + "_id": "65818264fca8fa7cdc4a69f5", + "_tpl": "65703fe46a912c8b5c03468b", + "parentId": "65818264fca8fa7cdc4a69f2", + "slotId": "Soft_armor_left", + "upd": { + "Repairable": { + "MaxDurability": 10, + "Durability": 10 + } + } + }, { + "_id": "65818264fca8fa7cdc4a69f6", + "_tpl": "657040374e67e8ec7a0d261c", + "parentId": "65818264fca8fa7cdc4a69f2", + "slotId": "soft_armor_right", + "upd": { + "Repairable": { + "MaxDurability": 10, + "Durability": 10 + } + } + }, { + "_id": "65818264fca8fa7cdc4a69f7", "_tpl": "627a4e6b255f7527fb05a0f6", - "parentId": "64ccac442e015b35031fc058", + "parentId": "65818264fca8fa7cdc4a69dc", "slotId": "Pockets" }, { - "_id": "64ccac442e015b35031fc06f", + "_id": "65818264fca8fa7cdc4a69f8", "_tpl": "5755356824597772cb798962", - "parentId": "64ccac442e015b35031fc06e", + "parentId": "65818264fca8fa7cdc4a69f7", "slotId": "pocket1", "location": { "x": 0, @@ -728,9 +373,9 @@ } } }, { - "_id": "64ccac442e015b35031fc070", + "_id": "65818264fca8fa7cdc4a69f9", "_tpl": "544fb25a4bdc2dfb738b4567", - "parentId": "64ccac442e015b35031fc06e", + "parentId": "65818264fca8fa7cdc4a69f7", "slotId": "pocket2", "location": { "x": 0, @@ -739,9 +384,9 @@ "isSearched": true } }, { - "_id": "64ccac442e015b35031fc071", + "_id": "65818264fca8fa7cdc4a69fa", "_tpl": "5e831507ea0a7c419c2f9bd9", - "parentId": "64ccac442e015b35031fc06e", + "parentId": "65818264fca8fa7cdc4a69f7", "slotId": "pocket3", "location": { "x": 0, @@ -750,9 +395,9 @@ "isSearched": true } }, { - "_id": "64ccac442e015b35031fc072", + "_id": "65818264fca8fa7cdc4a69fb", "_tpl": "544fb3364bdc2d34748b456a", - "parentId": "64ccac442e015b35031fc06e", + "parentId": "65818264fca8fa7cdc4a69f7", "slotId": "pocket4", "location": { "x": 0, @@ -761,26 +406,25 @@ "isSearched": true } }, { - "_id": "64ccac442e015b35031fc073", + "_id": "65818264fca8fa7cdc4a69fc", "_tpl": "557ff21e4bdc2d89578b4586", - "parentId": "64ccac442e015b35031fc058", + "parentId": "65818264fca8fa7cdc4a69dc", "slotId": "Eyewear" } ], - "type": "equipment", - "fastPanel": [], - "buildType": "Standard" + "Root": "65818264fca8fa7cdc4a69dc", + "BuildType": "Standard", + "type": "equipment" }, { - "id": "64cbc4c4be913172ac476ce3", - "name": "Shotgunner", - "root": "64ccac5188d9782ede0a8ba5", - "items": [{ - "_id": "64ccac5188d9782ede0a8ba5", + "Id": "6581c1c7d7b74c66dc562366", + "Name": "Marksman", + "Items": [{ + "_id": "65818481018ce91e662530f1", "_tpl": "55d7217a4bdc2d86028b456d" }, { - "_id": "64ccac5188d9782ede0a8ba6", - "_tpl": "5e870397991fd70db46995c8", - "parentId": "64ccac5188d9782ede0a8ba5", + "_id": "65818481018ce91e662530f2", + "_tpl": "587e02ff24597743df3deaeb", + "parentId": "65818481018ce91e662530f1", "slotId": "FirstPrimaryWeapon", "upd": { "Repairable": { @@ -792,14 +436,553 @@ } } }, { - "_id": "64ccac5188d9782ede0a8ba7", - "_tpl": "5e87071478f43e51ca2de5e1", - "parentId": "64ccac5188d9782ede0a8ba6", + "_id": "65818481018ce91e662530f3", + "_tpl": "587e0531245977466077a0f7", + "parentId": "65818481018ce91e662530f2", + "slotId": "mod_stock" + }, { + "_id": "65818481018ce91e662530f4", + "_tpl": "634eff66517ccc8a960fc735", + "parentId": "65818481018ce91e662530f2", "slotId": "mod_barrel" }, { - "_id": "64ccac5188d9782ede0a8ba8", + "_id": "65818481018ce91e662530f5", + "_tpl": "634f05a21f9f536910079b56", + "parentId": "65818481018ce91e662530f4", + "slotId": "mod_mount_000" + }, { + "_id": "65818481018ce91e662530f6", + "_tpl": "634f036a517ccc8a960fc746", + "parentId": "65818481018ce91e662530f5", + "slotId": "mod_gas_block" + }, { + "_id": "65818481018ce91e662530f7", + "_tpl": "634f03d40384a3ba4f06f874", + "parentId": "65818481018ce91e662530f6", + "slotId": "mod_mount_000" + }, { + "_id": "65818481018ce91e662530f8", + "_tpl": "574db213245977459a2f3f5d", + "parentId": "65818481018ce91e662530f5", + "slotId": "mod_sight_rear", + "upd": { + "Sight": { + "ScopesCurrentCalibPointIndexes": [0], + "ScopesSelectedModes": [0], + "SelectedScope": 0 + } + } + }, { + "_id": "65818481018ce91e662530f9", + "_tpl": "587df583245977373c4f1129", + "parentId": "65818481018ce91e662530f2", + "slotId": "mod_magazine" + }, { + "_id": "65818481018ce91e662530fa", + "_tpl": "59e4d3d286f774176a36250a", + "parentId": "65818481018ce91e662530f9", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 20 + } + }, { + "_id": "65818481018ce91e662530fb", + "_tpl": "587e08ee245977446b4410cf", + "parentId": "65818481018ce91e662530f2", + "slotId": "mod_mount" + }, { + "_id": "65818481018ce91e662530fc", + "_tpl": "5c82342f2e221644f31c060e", + "parentId": "65818481018ce91e662530fb", + "slotId": "mod_scope", + "upd": { + "Sight": { + "ScopesCurrentCalibPointIndexes": [0], + "ScopesSelectedModes": [0], + "SelectedScope": 0 + } + } + }, { + "_id": "65818481018ce91e662530fd", + "_tpl": "634f06262e5def262d0b30ca", + "parentId": "65818481018ce91e662530f2", + "slotId": "mod_reciever" + }, { + "_id": "65818481018ce91e662530fe", + "_tpl": "59e4d3d286f774176a36250a", + "parentId": "65818481018ce91e662530f2", + "slotId": "patron_in_weapon" + }, { + "_id": "65818481018ce91e662530ff", + "_tpl": "57cd379a24597778e7682ecf", + "parentId": "65818481018ce91e662530f1", + "slotId": "Scabbard", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + } + } + }, { + "_id": "65818481018ce91e66253100", + "_tpl": "5c06c6a80db834001b735491", + "parentId": "65818481018ce91e662530f1", + "slotId": "Headwear" + }, { + "_id": "65818481018ce91e66253101", + "_tpl": "6571199565daf6aa960c9b10", + "parentId": "65818481018ce91e66253100", + "slotId": "Helmet_top", + "upd": { + "Repairable": { + "MaxDurability": 18, + "Durability": 18 + } + } + }, { + "_id": "65818481018ce91e66253102", + "_tpl": "657119d49eb8c145180dbb95", + "parentId": "65818481018ce91e66253100", + "slotId": "Helmet_back", + "upd": { + "Repairable": { + "MaxDurability": 18, + "Durability": 18 + } + } + }, { + "_id": "65818481018ce91e66253103", + "_tpl": "657119fea330b8c9060f7afc", + "parentId": "65818481018ce91e66253100", + "slotId": "Helmet_ears", + "upd": { + "Repairable": { + "MaxDurability": 18, + "Durability": 18 + } + } + }, { + "_id": "65818481018ce91e66253104", + "_tpl": "59e7643b86f7742cbf2c109a", + "parentId": "65818481018ce91e662530f1", + "slotId": "TacticalVest" + }, { + "_id": "65818481018ce91e66253105", + "_tpl": "587df583245977373c4f1129", + "parentId": "65818481018ce91e66253104", + "slotId": "1", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "65818481018ce91e66253106", + "_tpl": "59e4d3d286f774176a36250a", + "parentId": "65818481018ce91e66253105", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 20 + } + }, { + "_id": "65818481018ce91e66253107", + "_tpl": "59e4d3d286f774176a36250a", + "parentId": "65818481018ce91e66253104", + "slotId": "4", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + }, + "upd": { + "StackObjectsCount": 60 + } + }, { + "_id": "65818481018ce91e66253108", + "_tpl": "5857a8bc2459772bad15db29", + "parentId": "65818481018ce91e662530f1", + "slotId": "SecuredContainer" + }, { + "_id": "65818481018ce91e66253109", + "_tpl": "5ab8ee7786f7742d8f33f0b9", + "parentId": "65818481018ce91e662530f1", + "slotId": "Backpack" + }, { + "_id": "65818481018ce91e6625310a", + "_tpl": "5df8a2ca86f7740bfe6df777", + "parentId": "65818481018ce91e662530f1", + "slotId": "ArmorVest" + }, { + "_id": "65818481018ce91e6625310b", + "_tpl": "656fd7c32668ef0402028fb9", + "parentId": "65818481018ce91e6625310a", + "slotId": "Soft_armor_front", + "upd": { + "Repairable": { + "MaxDurability": 64, + "Durability": 64 + } + } + }, { + "_id": "65818481018ce91e6625310c", + "_tpl": "656fd89bf5a9631d4e042575", + "parentId": "65818481018ce91e6625310a", + "slotId": "Soft_armor_back", + "upd": { + "Repairable": { + "MaxDurability": 64, + "Durability": 64 + } + } + }, { + "_id": "65818481018ce91e6625310d", + "_tpl": "627a4e6b255f7527fb05a0f6", + "parentId": "65818481018ce91e662530f1", + "slotId": "Pockets" + }, { + "_id": "65818481018ce91e6625310e", + "_tpl": "5755356824597772cb798962", + "parentId": "65818481018ce91e6625310d", + "slotId": "pocket1", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + }, + "upd": { + "MedKit": { + "HpResource": 100 + } + } + }, { + "_id": "65818481018ce91e6625310f", + "_tpl": "544fb25a4bdc2dfb738b4567", + "parentId": "65818481018ce91e6625310d", + "slotId": "pocket2", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "65818481018ce91e66253110", + "_tpl": "5e831507ea0a7c419c2f9bd9", + "parentId": "65818481018ce91e6625310d", + "slotId": "pocket3", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "65818481018ce91e66253111", + "_tpl": "544fb3364bdc2d34748b456a", + "parentId": "65818481018ce91e6625310d", + "slotId": "pocket4", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "65818481018ce91e66253112", + "_tpl": "5b432b965acfc47a8774094e", + "parentId": "65818481018ce91e662530f1", + "slotId": "Earpiece" + } + ], + "Root": "65818481018ce91e662530f1", + "BuildType": "Standard", + "type": "equipment" + }, { + "Id": "6581c1c7d7b74c66dc562350", + "Name": "Robber", + "Items": [{ + "_id": "658180dddc532f014c13383c", + "_tpl": "55d7217a4bdc2d86028b456d" + }, { + "_id": "658180dddc532f014c13383d", + "_tpl": "5448bd6b4bdc2dfc2f8b4569", + "parentId": "658180dddc532f014c13383c", + "slotId": "Holster", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + }, + "FireMode": { + "FireMode": "single" + } + } + }, { + "_id": "658180dddc532f014c13383e", + "_tpl": "5448c12b4bdc2d02308b456f", + "parentId": "658180dddc532f014c13383d", + "slotId": "mod_magazine" + }, { + "_id": "658180dddc532f014c13383f", + "_tpl": "573719762459775a626ccbc1", + "parentId": "658180dddc532f014c13383e", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 8 + } + }, { + "_id": "658180dddc532f014c133840", + "_tpl": "6374a822e629013b9c0645c8", + "parentId": "658180dddc532f014c13383d", + "slotId": "mod_reciever" + }, { + "_id": "658180dddc532f014c133841", + "_tpl": "63c6adcfb4ba094317063742", + "parentId": "658180dddc532f014c133840", + "slotId": "mod_sight_rear", + "upd": { + "Sight": { + "ScopesCurrentCalibPointIndexes": [0], + "ScopesSelectedModes": [0], + "SelectedScope": 0 + } + } + }, { + "_id": "658180dddc532f014c133842", + "_tpl": "637784c5f7b3f4ac1a0d1a9a", + "parentId": "658180dddc532f014c13383d", + "slotId": "mod_pistolgrip" + }, { + "_id": "658180dddc532f014c133843", + "_tpl": "57cd379a24597778e7682ecf", + "parentId": "658180dddc532f014c13383c", + "slotId": "Scabbard", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + } + } + }, { + "_id": "658180dddc532f014c133844", + "_tpl": "572b7f1624597762ae139822", + "parentId": "658180dddc532f014c13383c", + "slotId": "FaceCover" + }, { + "_id": "658180dddc532f014c133845", + "_tpl": "5e4abc1f86f774069619fbaa", + "parentId": "658180dddc532f014c13383c", + "slotId": "TacticalVest" + }, { + "_id": "658180dddc532f014c133846", + "_tpl": "5448c12b4bdc2d02308b456f", + "parentId": "658180dddc532f014c133845", + "slotId": "1", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658180dddc532f014c133847", + "_tpl": "573719762459775a626ccbc1", + "parentId": "658180dddc532f014c133846", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 8 + } + }, { + "_id": "658180dddc532f014c133848", + "_tpl": "5448c12b4bdc2d02308b456f", + "parentId": "658180dddc532f014c133845", + "slotId": "1", + "location": { + "x": 0, + "y": 1, + "r": 0, + "isSearched": true + } + }, { + "_id": "658180dddc532f014c133849", + "_tpl": "573719762459775a626ccbc1", + "parentId": "658180dddc532f014c133848", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 8 + } + }, { + "_id": "658180dddc532f014c13384a", + "_tpl": "5448c12b4bdc2d02308b456f", + "parentId": "658180dddc532f014c133845", + "slotId": "2", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658180dddc532f014c13384b", + "_tpl": "573719762459775a626ccbc1", + "parentId": "658180dddc532f014c13384a", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 8 + } + }, { + "_id": "658180dddc532f014c13384c", + "_tpl": "573719762459775a626ccbc1", + "parentId": "658180dddc532f014c133845", + "slotId": "2", + "location": { + "x": 0, + "y": 1, + "r": 0, + "isSearched": true + }, + "upd": { + "StackObjectsCount": 50 + } + }, { + "_id": "658180dddc532f014c13384d", + "_tpl": "5857a8bc2459772bad15db29", + "parentId": "658180dddc532f014c13383c", + "slotId": "SecuredContainer" + }, { + "_id": "658180dddc532f014c13384e", + "_tpl": "56e33680d2720be2748b4576", + "parentId": "658180dddc532f014c13383c", + "slotId": "Backpack" + }, { + "_id": "658180dddc532f014c13384f", + "_tpl": "59e7635f86f7742cbf2c1095", + "parentId": "658180dddc532f014c13383c", + "slotId": "ArmorVest" + }, { + "_id": "658180dddc532f014c133850", + "_tpl": "65702f87722744627e05cdb8", + "parentId": "658180dddc532f014c13384f", + "slotId": "Soft_armor_front", + "upd": { + "Repairable": { + "MaxDurability": 32, + "Durability": 32 + } + } + }, { + "_id": "658180dddc532f014c133851", + "_tpl": "65702fe593b7ea9c330f4ce8", + "parentId": "658180dddc532f014c13384f", + "slotId": "Soft_armor_back", + "upd": { + "Repairable": { + "MaxDurability": 32, + "Durability": 32 + } + } + }, { + "_id": "658180dddc532f014c133852", + "_tpl": "6570305d93b7ea9c330f4ced", + "parentId": "658180dddc532f014c13384f", + "slotId": "Soft_armor_left", + "upd": { + "Repairable": { + "MaxDurability": 8, + "Durability": 8 + } + } + }, { + "_id": "658180dddc532f014c133853", + "_tpl": "65703472c9030b928a0a8a78", + "parentId": "658180dddc532f014c13384f", + "slotId": "soft_armor_right", + "upd": { + "Repairable": { + "MaxDurability": 8, + "Durability": 8 + } + } + }, { + "_id": "658180dddc532f014c133854", + "_tpl": "627a4e6b255f7527fb05a0f6", + "parentId": "658180dddc532f014c13383c", + "slotId": "Pockets" + }, { + "_id": "658180dddc532f014c133855", + "_tpl": "5755356824597772cb798962", + "parentId": "658180dddc532f014c133854", + "slotId": "pocket1", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + }, + "upd": { + "MedKit": { + "HpResource": 100 + } + } + }, { + "_id": "658180dddc532f014c133856", + "_tpl": "544fb25a4bdc2dfb738b4567", + "parentId": "658180dddc532f014c133854", + "slotId": "pocket2", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658180dddc532f014c133857", + "_tpl": "5e831507ea0a7c419c2f9bd9", + "parentId": "658180dddc532f014c133854", + "slotId": "pocket3", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + } + ], + "Root": "658180dddc532f014c13383c", + "BuildType": "Standard", + "type": "equipment" + }, { + "Id": "6581c1c7d7b74c66dc562353", + "Name": "Shotgunner", + "Items": [{ + "_id": "6581811c05ac581bff2c0620", + "_tpl": "55d7217a4bdc2d86028b456d" + }, { + "_id": "6581811c05ac581bff2c0621", + "_tpl": "5e870397991fd70db46995c8", + "parentId": "6581811c05ac581bff2c0620", + "slotId": "FirstPrimaryWeapon", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + }, + "FireMode": { + "FireMode": "single" + } + } + }, { + "_id": "6581811c05ac581bff2c0622", + "_tpl": "5e87071478f43e51ca2de5e1", + "parentId": "6581811c05ac581bff2c0621", + "slotId": "mod_barrel" + }, { + "_id": "6581811c05ac581bff2c0623", "_tpl": "5e8708d4ae379e67d22e0102", - "parentId": "64ccac5188d9782ede0a8ba7", + "parentId": "6581811c05ac581bff2c0622", "slotId": "mod_sight_front", "upd": { "Sight": { @@ -809,29 +992,29 @@ } } }, { - "_id": "64ccac5188d9782ede0a8ba9", + "_id": "6581811c05ac581bff2c0624", "_tpl": "5eea21647547d6330471b3c9", - "parentId": "64ccac5188d9782ede0a8ba6", + "parentId": "6581811c05ac581bff2c0621", "slotId": "mod_handguard" }, { - "_id": "64ccac5188d9782ede0a8baa", + "_id": "6581811c05ac581bff2c0625", "_tpl": "5b7be4895acfc400170e2dd5", - "parentId": "64ccac5188d9782ede0a8ba9", + "parentId": "6581811c05ac581bff2c0624", "slotId": "mod_foregrip" }, { - "_id": "64ccac5188d9782ede0a8bab", + "_id": "6581811c05ac581bff2c0626", "_tpl": "5c87ca002e221600114cb150", - "parentId": "64ccac5188d9782ede0a8baa", + "parentId": "6581811c05ac581bff2c0625", "slotId": "mod_foregrip" }, { - "_id": "64ccac5188d9782ede0a8bac", + "_id": "6581811c05ac581bff2c0627", "_tpl": "5b7be47f5acfc400170e2dd2", - "parentId": "64ccac5188d9782ede0a8ba9", + "parentId": "6581811c05ac581bff2c0624", "slotId": "mod_mount_000" }, { - "_id": "64ccac5188d9782ede0a8bad", + "_id": "6581811c05ac581bff2c0628", "_tpl": "5cc9c20cd7f00c001336c65d", - "parentId": "64ccac5188d9782ede0a8bac", + "parentId": "6581811c05ac581bff2c0627", "slotId": "mod_tactical", "upd": { "Light": { @@ -840,27 +1023,27 @@ } } }, { - "_id": "64ccac5188d9782ede0a8bae", + "_id": "6581811c05ac581bff2c0629", "_tpl": "5e87080c81c4ed43e83cefda", - "parentId": "64ccac5188d9782ede0a8ba6", + "parentId": "6581811c05ac581bff2c0621", "slotId": "mod_magazine" }, { - "_id": "64ccac5188d9782ede0a8baf", + "_id": "6581811c05ac581bff2c062a", "_tpl": "560d5e524bdc2d25448b4571", - "parentId": "64ccac5188d9782ede0a8bae", + "parentId": "6581811c05ac581bff2c0629", "slotId": "cartridges", "upd": { "StackObjectsCount": 8 } }, { - "_id": "64ccac5188d9782ede0a8bb0", + "_id": "6581811c05ac581bff2c062b", "_tpl": "5eea217fc64c5d0dfc05712a", - "parentId": "64ccac5188d9782ede0a8ba6", + "parentId": "6581811c05ac581bff2c0621", "slotId": "mod_stock" }, { - "_id": "64ccac5188d9782ede0a8bb1", + "_id": "6581811c05ac581bff2c062c", "_tpl": "5e87114fe2db31558c75a120", - "parentId": "64ccac5188d9782ede0a8ba6", + "parentId": "6581811c05ac581bff2c0621", "slotId": "mod_mount", "upd": { "Sight": { @@ -870,38 +1053,35 @@ } } }, { - "_id": "64ccac5188d9782ede0a8bb2", + "_id": "6581811c05ac581bff2c062d", "_tpl": "560d5e524bdc2d25448b4571", - "parentId": "64ccac5188d9782ede0a8ba6", + "parentId": "6581811c05ac581bff2c0621", "slotId": "patron_in_weapon" }, { - "_id": "64ccac5188d9782ede0a8bb3", + "_id": "6581811c05ac581bff2c062e", + "_tpl": "57cd379a24597778e7682ecf", + "parentId": "6581811c05ac581bff2c0620", + "slotId": "Scabbard", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + } + } + }, { + "_id": "6581811c05ac581bff2c062f", "_tpl": "5aa2a7e8e5b5b00016327c16", - "parentId": "64ccac5188d9782ede0a8ba5", + "parentId": "6581811c05ac581bff2c0620", "slotId": "Headwear" }, { - "_id": "64ccac5188d9782ede0a8bb4", + "_id": "6581811c05ac581bff2c0630", "_tpl": "5e4abc1f86f774069619fbaa", - "parentId": "64ccac5188d9782ede0a8ba5", + "parentId": "6581811c05ac581bff2c0620", "slotId": "TacticalVest" }, { - "_id": "64ccac5188d9782ede0a8bb5", + "_id": "6581811c05ac581bff2c0631", "_tpl": "560d5e524bdc2d25448b4571", - "parentId": "64ccac5188d9782ede0a8bb4", - "slotId": "1", - "location": { - "x": 0, - "y": 1, - "r": 0, - "isSearched": true - }, - "upd": { - "StackObjectsCount": 20 - } - }, { - "_id": "64ccac5188d9782ede0a8bb6", - "_tpl": "560d5e524bdc2d25448b4571", - "parentId": "64ccac5188d9782ede0a8bb4", + "parentId": "6581811c05ac581bff2c0630", "slotId": "1", "location": { "x": 0, @@ -913,9 +1093,23 @@ "StackObjectsCount": 20 } }, { - "_id": "64ccac5188d9782ede0a8bb7", + "_id": "6581811c05ac581bff2c0632", + "_tpl": "560d5e524bdc2d25448b4571", + "parentId": "6581811c05ac581bff2c0630", + "slotId": "1", + "location": { + "x": 0, + "y": 1, + "r": 0, + "isSearched": true + }, + "upd": { + "StackObjectsCount": 20 + } + }, { + "_id": "6581811c05ac581bff2c0633", "_tpl": "544fb37f4bdc2dee738b4567", - "parentId": "64ccac5188d9782ede0a8bb4", + "parentId": "6581811c05ac581bff2c0630", "slotId": "2", "location": { "x": 0, @@ -929,2473 +1123,25 @@ } } }, { - "_id": "64ccac5188d9782ede0a8bb8", + "_id": "6581811c05ac581bff2c0634", "_tpl": "5857a8bc2459772bad15db29", - "parentId": "64ccac5188d9782ede0a8ba5", + "parentId": "6581811c05ac581bff2c0620", "slotId": "SecuredContainer" }, { - "_id": "64ccac5188d9782ede0a8bb9", + "_id": "6581811c05ac581bff2c0635", "_tpl": "5ab8f04f86f774585f4237d8", - "parentId": "64ccac5188d9782ede0a8ba5", + "parentId": "6581811c05ac581bff2c0620", "slotId": "Backpack" }, { - "_id": "64ccac5188d9782ede0a8bba", + "_id": "6581811c05ac581bff2c0636", "_tpl": "5648a7494bdc2d9d488b4583", - "parentId": "64ccac5188d9782ede0a8ba5", - "slotId": "ArmorVest", - "upd": { - "Repairable": { - "MaxDurability": 50, - "Durability": 50 - } - } + "parentId": "6581811c05ac581bff2c0620", + "slotId": "ArmorVest" }, { - "_id": "64ccac5188d9782ede0a8bbb", - "_tpl": "627a4e6b255f7527fb05a0f6", - "parentId": "64ccac5188d9782ede0a8ba5", - "slotId": "Pockets" - }, { - "_id": "64ccac5188d9782ede0a8bbc", - "_tpl": "5755356824597772cb798962", - "parentId": "64ccac5188d9782ede0a8bbb", - "slotId": "pocket1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 100 - } - } - }, { - "_id": "64ccac5188d9782ede0a8bbd", - "_tpl": "544fb25a4bdc2dfb738b4567", - "parentId": "64ccac5188d9782ede0a8bbb", - "slotId": "pocket2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac5188d9782ede0a8bbe", - "_tpl": "5e831507ea0a7c419c2f9bd9", - "parentId": "64ccac5188d9782ede0a8bbb", - "slotId": "pocket3", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac5188d9782ede0a8bbf", - "_tpl": "544fb3364bdc2d34748b456a", - "parentId": "64ccac5188d9782ede0a8bbb", - "slotId": "pocket4", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - } - ], - "type": "equipment", - "fastPanel": [], - "buildType": "Standard" - }, { - "id": "64cbc565aac81e7e823c79a6", - "name": "Papasha", - "root": "64ccac553ad4c049e70a5512", - "items": [{ - "_id": "64ccac553ad4c049e70a5512", - "_tpl": "55d7217a4bdc2d86028b456d" - }, { - "_id": "64ccac553ad4c049e70a5513", - "_tpl": "5ea03f7400685063ec28bfa8", - "parentId": "64ccac553ad4c049e70a5512", - "slotId": "FirstPrimaryWeapon", - "upd": { - "Repairable": { - "MaxDurability": 100, - "Durability": 100 - }, - "FireMode": { - "FireMode": "single" - } - } - }, { - "_id": "64ccac553ad4c049e70a5514", - "_tpl": "5ea03e9400685063ec28bfa4", - "parentId": "64ccac553ad4c049e70a5513", - "slotId": "mod_stock" - }, { - "_id": "64ccac553ad4c049e70a5515", - "_tpl": "5ea034eb5aad6446a939737b", - "parentId": "64ccac553ad4c049e70a5513", - "slotId": "mod_magazine" - }, { - "_id": "64ccac553ad4c049e70a5516", - "_tpl": "5735ff5c245977640e39ba7e", - "parentId": "64ccac553ad4c049e70a5515", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 35 - } - }, { - "_id": "64ccac553ad4c049e70a5517", - "_tpl": "5ea03e5009aa976f2e7a514b", - "parentId": "64ccac553ad4c049e70a5513", - "slotId": "mod_reciever" - }, { - "_id": "64ccac553ad4c049e70a5518", - "_tpl": "5ea02bb600685063ec28bfa1", - "parentId": "64ccac553ad4c049e70a5513", - "slotId": "mod_barrel" - }, { - "_id": "64ccac553ad4c049e70a5519", - "_tpl": "5b43271c5acfc432ff4dce65", - "parentId": "64ccac553ad4c049e70a5512", - "slotId": "Headwear" - }, { - "_id": "64ccac553ad4c049e70a551a", - "_tpl": "59e7643b86f7742cbf2c109a", - "parentId": "64ccac553ad4c049e70a5512", - "slotId": "TacticalVest" - }, { - "_id": "64ccac553ad4c049e70a551b", - "_tpl": "5ea034eb5aad6446a939737b", - "parentId": "64ccac553ad4c049e70a551a", - "slotId": "1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac553ad4c049e70a551c", - "_tpl": "5735ff5c245977640e39ba7e", - "parentId": "64ccac553ad4c049e70a551b", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 35 - } - }, { - "_id": "64ccac553ad4c049e70a551d", - "_tpl": "5ea034eb5aad6446a939737b", - "parentId": "64ccac553ad4c049e70a551a", - "slotId": "1", - "location": { - "x": 1, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac553ad4c049e70a551e", - "_tpl": "5735ff5c245977640e39ba7e", - "parentId": "64ccac553ad4c049e70a551d", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 35 - } - }, { - "_id": "64ccac553ad4c049e70a551f", - "_tpl": "5ea034eb5aad6446a939737b", - "parentId": "64ccac553ad4c049e70a551a", - "slotId": "2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac553ad4c049e70a5520", - "_tpl": "5735ff5c245977640e39ba7e", - "parentId": "64ccac553ad4c049e70a551f", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 35 - } - }, { - "_id": "64ccac553ad4c049e70a5521", - "_tpl": "5735ff5c245977640e39ba7e", - "parentId": "64ccac553ad4c049e70a551a", - "slotId": "4", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "StackObjectsCount": 50 - } - }, { - "_id": "64ccac553ad4c049e70a5522", - "_tpl": "5857a8bc2459772bad15db29", - "parentId": "64ccac553ad4c049e70a5512", - "slotId": "SecuredContainer" - }, { - "_id": "64ccac553ad4c049e70a5523", - "_tpl": "5ab8ee7786f7742d8f33f0b9", - "parentId": "64ccac553ad4c049e70a5512", - "slotId": "Backpack" - }, { - "_id": "64ccac553ad4c049e70a5524", - "_tpl": "5df8a2ca86f7740bfe6df777", - "parentId": "64ccac553ad4c049e70a5512", - "slotId": "ArmorVest", - "upd": { - "Repairable": { - "MaxDurability": 80, - "Durability": 80 - } - } - }, { - "_id": "64ccac553ad4c049e70a5525", - "_tpl": "627a4e6b255f7527fb05a0f6", - "parentId": "64ccac553ad4c049e70a5512", - "slotId": "Pockets" - }, { - "_id": "64ccac553ad4c049e70a5526", - "_tpl": "5755356824597772cb798962", - "parentId": "64ccac553ad4c049e70a5525", - "slotId": "pocket1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 100 - } - } - }, { - "_id": "64ccac553ad4c049e70a5527", - "_tpl": "544fb25a4bdc2dfb738b4567", - "parentId": "64ccac553ad4c049e70a5525", - "slotId": "pocket2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac553ad4c049e70a5528", - "_tpl": "5e831507ea0a7c419c2f9bd9", - "parentId": "64ccac553ad4c049e70a5525", - "slotId": "pocket3", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac553ad4c049e70a5529", - "_tpl": "5b432b965acfc47a8774094e", - "parentId": "64ccac553ad4c049e70a5512", - "slotId": "Earpiece" - } - ], - "type": "equipment", - "fastPanel": [], - "buildType": "Standard" - }, { - "id": "64cbc5bd5aa0a53ad12f95af", - "name": "Sharpshooter", - "root": "64ccac58a7f8eb6f660e20cc", - "items": [{ - "_id": "64ccac58a7f8eb6f660e20cc", - "_tpl": "55d7217a4bdc2d86028b456d" - }, { - "_id": "64ccac58a7f8eb6f660e20cd", - "_tpl": "5bfd297f0db834001a669119", - "parentId": "64ccac58a7f8eb6f660e20cc", - "slotId": "FirstPrimaryWeapon", - "upd": { - "Repairable": { - "MaxDurability": 100, - "Durability": 100 - }, - "FireMode": { - "FireMode": "single" - } - } - }, { - "_id": "64ccac58a7f8eb6f660e20ce", - "_tpl": "5ae0973a5acfc4001562206c", - "parentId": "64ccac58a7f8eb6f660e20cd", - "slotId": "mod_magazine" - }, { - "_id": "64ccac58a7f8eb6f660e20cf", - "_tpl": "64b8f7968532cf95ee0a0dbf", - "parentId": "64ccac58a7f8eb6f660e20ce", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 5 - } - }, { - "_id": "64ccac58a7f8eb6f660e20d0", - "_tpl": "5bfd35380db83400232fe5cc", - "parentId": "64ccac58a7f8eb6f660e20cd", - "slotId": "mod_stock" - }, { - "_id": "64ccac58a7f8eb6f660e20d1", - "_tpl": "5ae09bff5acfc4001562219d", - "parentId": "64ccac58a7f8eb6f660e20cd", - "slotId": "mod_barrel" - }, { - "_id": "64ccac58a7f8eb6f660e20d2", - "_tpl": "5ae099875acfc4001714e593", - "parentId": "64ccac58a7f8eb6f660e20d1", - "slotId": "mod_sight_front", - "upd": { - "Sight": { - "ScopesCurrentCalibPointIndexes": [0], - "ScopesSelectedModes": [0], - "SelectedScope": 0 - } - } - }, { - "_id": "64ccac58a7f8eb6f660e20d3", - "_tpl": "5ae099925acfc4001a5fc7b3", - "parentId": "64ccac58a7f8eb6f660e20d1", - "slotId": "mod_sight_rear", - "upd": { - "Sight": { - "ScopesCurrentCalibPointIndexes": [0], - "ScopesSelectedModes": [0], - "SelectedScope": 0 - } - } - }, { - "_id": "64ccac58a7f8eb6f660e20d4", - "_tpl": "64b8f7968532cf95ee0a0dbf", - "parentId": "64ccac58a7f8eb6f660e20cd", - "slotId": "patron_in_weapon" - }, { - "_id": "64ccac58a7f8eb6f660e20d5", - "_tpl": "5857a8bc2459772bad15db29", - "parentId": "64ccac58a7f8eb6f660e20cc", - "slotId": "SecuredContainer" - }, { - "_id": "64ccac58a7f8eb6f660e20d6", - "_tpl": "5ab8ee7786f7742d8f33f0b9", - "parentId": "64ccac58a7f8eb6f660e20cc", - "slotId": "Backpack" - }, { - "_id": "64ccac58a7f8eb6f660e20d7", - "_tpl": "5df8a2ca86f7740bfe6df777", - "parentId": "64ccac58a7f8eb6f660e20cc", - "slotId": "ArmorVest", - "upd": { - "Repairable": { - "MaxDurability": 80, - "Durability": 80 - } - } - }, { - "_id": "64ccac58a7f8eb6f660e20d8", - "_tpl": "627a4e6b255f7527fb05a0f6", - "parentId": "64ccac58a7f8eb6f660e20cc", - "slotId": "Pockets" - }, { - "_id": "64ccac58a7f8eb6f660e20d9", - "_tpl": "5755356824597772cb798962", - "parentId": "64ccac58a7f8eb6f660e20d8", - "slotId": "pocket1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 100 - } - } - }, { - "_id": "64ccac58a7f8eb6f660e20da", - "_tpl": "544fb25a4bdc2dfb738b4567", - "parentId": "64ccac58a7f8eb6f660e20d8", - "slotId": "pocket2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac58a7f8eb6f660e20db", - "_tpl": "5e831507ea0a7c419c2f9bd9", - "parentId": "64ccac58a7f8eb6f660e20d8", - "slotId": "pocket3", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac58a7f8eb6f660e20dc", - "_tpl": "64b8f7968532cf95ee0a0dbf", - "parentId": "64ccac58a7f8eb6f660e20d8", - "slotId": "pocket4", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "StackObjectsCount": 40 - } - }, { - "_id": "64ccac58a7f8eb6f660e20dd", - "_tpl": "6033fa48ffd42c541047f728", - "parentId": "64ccac58a7f8eb6f660e20cc", - "slotId": "Earpiece" - }, { - "_id": "64ccac58a7f8eb6f660e20de", - "_tpl": "5aa2b986e5b5b00014028f4c", - "parentId": "64ccac58a7f8eb6f660e20cc", - "slotId": "Eyewear" - } - ], - "type": "equipment", - "fastPanel": [], - "buildType": "Standard" - }, { - "id": "64cbc65baac81e7e823c79ca", - "name": "Raider", - "root": "64ccac5b3ccb85468628d6bf", - "items": [{ - "_id": "64ccac5b3ccb85468628d6bf", - "_tpl": "55d7217a4bdc2d86028b456d" - }, { - "_id": "64ccac5b3ccb85468628d6c0", - "_tpl": "57dc2fa62459775949412633", - "parentId": "64ccac5b3ccb85468628d6bf", - "slotId": "FirstPrimaryWeapon", - "upd": { - "Repairable": { - "MaxDurability": 100, - "Durability": 100 - }, - "Foldable": { - "Folded": false - }, - "FireMode": { - "FireMode": "single" - } - } - }, { - "_id": "64ccac5b3ccb85468628d6c1", - "_tpl": "57e3dba62459770f0c32322b", - "parentId": "64ccac5b3ccb85468628d6c0", - "slotId": "mod_pistol_grip" - }, { - "_id": "64ccac5b3ccb85468628d6c2", - "_tpl": "57dc347d245977596754e7a1", - "parentId": "64ccac5b3ccb85468628d6c0", - "slotId": "mod_stock" - }, { - "_id": "64ccac5b3ccb85468628d6c3", - "_tpl": "564ca99c4bdc2d16268b4589", - "parentId": "64ccac5b3ccb85468628d6c0", - "slotId": "mod_magazine" - }, { - "_id": "64ccac5b3ccb85468628d6c4", - "_tpl": "56dff4a2d2720bbd668b456a", - "parentId": "64ccac5b3ccb85468628d6c3", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac5b3ccb85468628d6c5", - "_tpl": "57dc324a24597759501edc20", - "parentId": "64ccac5b3ccb85468628d6c0", - "slotId": "mod_muzzle" - }, { - "_id": "64ccac5b3ccb85468628d6c6", - "_tpl": "57dc334d245977597164366f", - "parentId": "64ccac5b3ccb85468628d6c0", - "slotId": "mod_reciever" - }, { - "_id": "64ccac5b3ccb85468628d6c7", - "_tpl": "57ffb0062459777a045af529", - "parentId": "64ccac5b3ccb85468628d6c6", - "slotId": "mod_mount_000" - }, { - "_id": "64ccac5b3ccb85468628d6c8", - "_tpl": "570fd721d2720bc5458b4596", - "parentId": "64ccac5b3ccb85468628d6c7", - "slotId": "mod_scope", - "upd": { - "Sight": { - "ScopesCurrentCalibPointIndexes": [0], - "ScopesSelectedModes": [0], - "SelectedScope": 0 - } - } - }, { - "_id": "64ccac5b3ccb85468628d6c9", - "_tpl": "59d36a0086f7747e673f3946", - "parentId": "64ccac5b3ccb85468628d6c0", - "slotId": "mod_gas_block" - }, { - "_id": "64ccac5b3ccb85468628d6ca", - "_tpl": "57ffa9f4245977728561e844", - "parentId": "64ccac5b3ccb85468628d6c9", - "slotId": "mod_handguard" - }, { - "_id": "64ccac5b3ccb85468628d6cb", - "_tpl": "5c1bc7752e221602b1779b34", - "parentId": "64ccac5b3ccb85468628d6ca", - "slotId": "mod_foregrip" - }, { - "_id": "64ccac5b3ccb85468628d6cc", - "_tpl": "5aa2b87de5b5b00016327c25", - "parentId": "64ccac5b3ccb85468628d6bf", - "slotId": "Headwear" - }, { - "_id": "64ccac5b3ccb85468628d6cd", - "_tpl": "64be7110bf597ba84a0a41ea", - "parentId": "64ccac5b3ccb85468628d6bf", - "slotId": "TacticalVest" - }, { - "_id": "64ccac5b3ccb85468628d6ce", - "_tpl": "56dff4a2d2720bbd668b456a", - "parentId": "64ccac5b3ccb85468628d6cd", - "slotId": "1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "StackObjectsCount": 60 - } - }, { - "_id": "64ccac5b3ccb85468628d6cf", - "_tpl": "544fb37f4bdc2dee738b4567", - "parentId": "64ccac5b3ccb85468628d6cd", - "slotId": "2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 4 - } - } - }, { - "_id": "64ccac5b3ccb85468628d6d0", - "_tpl": "564ca99c4bdc2d16268b4589", - "parentId": "64ccac5b3ccb85468628d6cd", - "slotId": "5", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac5b3ccb85468628d6d1", - "_tpl": "56dff4a2d2720bbd668b456a", - "parentId": "64ccac5b3ccb85468628d6d0", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac5b3ccb85468628d6d2", - "_tpl": "564ca99c4bdc2d16268b4589", - "parentId": "64ccac5b3ccb85468628d6cd", - "slotId": "6", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac5b3ccb85468628d6d3", - "_tpl": "56dff4a2d2720bbd668b456a", - "parentId": "64ccac5b3ccb85468628d6d2", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac5b3ccb85468628d6d4", - "_tpl": "5857a8bc2459772bad15db29", - "parentId": "64ccac5b3ccb85468628d6bf", - "slotId": "SecuredContainer" - }, { - "_id": "64ccac5b3ccb85468628d6d5", - "_tpl": "544a5cde4bdc2d39388b456b", - "parentId": "64ccac5b3ccb85468628d6bf", - "slotId": "Backpack" - }, { - "_id": "64ccac5b3ccb85468628d6d6", - "_tpl": "64be79e2bf8412471d0d9bcc", - "parentId": "64ccac5b3ccb85468628d6bf", - "slotId": "ArmorVest", - "upd": { - "Repairable": { - "MaxDurability": 80, - "Durability": 80 - } - } - }, { - "_id": "64ccac5b3ccb85468628d6d7", - "_tpl": "627a4e6b255f7527fb05a0f6", - "parentId": "64ccac5b3ccb85468628d6bf", - "slotId": "Pockets" - }, { - "_id": "64ccac5b3ccb85468628d6d8", - "_tpl": "5755356824597772cb798962", - "parentId": "64ccac5b3ccb85468628d6d7", - "slotId": "pocket1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 100 - } - } - }, { - "_id": "64ccac5b3ccb85468628d6d9", - "_tpl": "544fb25a4bdc2dfb738b4567", - "parentId": "64ccac5b3ccb85468628d6d7", - "slotId": "pocket2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac5b3ccb85468628d6da", - "_tpl": "5e831507ea0a7c419c2f9bd9", - "parentId": "64ccac5b3ccb85468628d6d7", - "slotId": "pocket3", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac5b3ccb85468628d6db", - "_tpl": "544fb3364bdc2d34748b456a", - "parentId": "64ccac5b3ccb85468628d6d7", - "slotId": "pocket4", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac5b3ccb85468628d6dc", - "_tpl": "5b432b965acfc47a8774094e", - "parentId": "64ccac5b3ccb85468628d6bf", - "slotId": "Earpiece" - } - ], - "type": "equipment", - "fastPanel": [], - "buildType": "Standard" - }, { - "id": "64cbc7015b78c2021172b292", - "name": "Scout", - "root": "64ccac5ec68b26233a64b3c5", - "items": [{ - "_id": "64ccac5ec68b26233a64b3c5", - "_tpl": "55d7217a4bdc2d86028b456d" - }, { - "_id": "64ccac5ec68b26233a64b3c6", - "_tpl": "59984ab886f7743e98271174", - "parentId": "64ccac5ec68b26233a64b3c5", - "slotId": "FirstPrimaryWeapon", - "upd": { - "Repairable": { - "MaxDurability": 100, - "Durability": 100 - }, - "Foldable": { - "Folded": false - }, - "FireMode": { - "FireMode": "single" - } - } - }, { - "_id": "64ccac5ec68b26233a64b3c7", - "_tpl": "5998517986f7746017232f7e", - "parentId": "64ccac5ec68b26233a64b3c6", - "slotId": "mod_pistol_grip" - }, { - "_id": "64ccac5ec68b26233a64b3c8", - "_tpl": "599851db86f77467372f0a18", - "parentId": "64ccac5ec68b26233a64b3c6", - "slotId": "mod_stock" - }, { - "_id": "64ccac5ec68b26233a64b3c9", - "_tpl": "599860ac86f77436b225ed1a", - "parentId": "64ccac5ec68b26233a64b3c6", - "slotId": "mod_magazine" - }, { - "_id": "64ccac5ec68b26233a64b3ca", - "_tpl": "56d59d3ad2720bdb418b4577", - "parentId": "64ccac5ec68b26233a64b3c9", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac5ec68b26233a64b3cb", - "_tpl": "5998597786f77414ea6da093", - "parentId": "64ccac5ec68b26233a64b3c6", - "slotId": "mod_muzzle" - }, { - "_id": "64ccac5ec68b26233a64b3cc", - "_tpl": "59985a8086f77414ec448d1a", - "parentId": "64ccac5ec68b26233a64b3c6", - "slotId": "mod_reciever" - }, { - "_id": "64ccac5ec68b26233a64b3cd", - "_tpl": "599860e986f7743bb57573a6", - "parentId": "64ccac5ec68b26233a64b3c6", - "slotId": "mod_sight_rear", - "upd": { - "Sight": { - "ScopesCurrentCalibPointIndexes": [0], - "ScopesSelectedModes": [0], - "SelectedScope": 0 - } - } - }, { - "_id": "64ccac5ec68b26233a64b3ce", - "_tpl": "59ccd11386f77428f24a488f", - "parentId": "64ccac5ec68b26233a64b3c6", - "slotId": "mod_gas_block" - }, { - "_id": "64ccac5ec68b26233a64b3cf", - "_tpl": "5648b1504bdc2d9d488b4584", - "parentId": "64ccac5ec68b26233a64b3ce", - "slotId": "mod_handguard" - }, { - "_id": "64ccac5ec68b26233a64b3d0", - "_tpl": "5b40e5e25acfc4001a599bea", - "parentId": "64ccac5ec68b26233a64b3c5", - "slotId": "Headwear" - }, { - "_id": "64ccac5ec68b26233a64b3d1", - "_tpl": "59e7643b86f7742cbf2c109a", - "parentId": "64ccac5ec68b26233a64b3c5", - "slotId": "TacticalVest" - }, { - "_id": "64ccac5ec68b26233a64b3d2", - "_tpl": "599860ac86f77436b225ed1a", - "parentId": "64ccac5ec68b26233a64b3d1", - "slotId": "1", - "location": { - "x": 1, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac5ec68b26233a64b3d3", - "_tpl": "56d59d3ad2720bdb418b4577", - "parentId": "64ccac5ec68b26233a64b3d2", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac5ec68b26233a64b3d4", - "_tpl": "599860ac86f77436b225ed1a", - "parentId": "64ccac5ec68b26233a64b3d1", - "slotId": "1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac5ec68b26233a64b3d5", - "_tpl": "56d59d3ad2720bdb418b4577", - "parentId": "64ccac5ec68b26233a64b3d4", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac5ec68b26233a64b3d6", - "_tpl": "599860ac86f77436b225ed1a", - "parentId": "64ccac5ec68b26233a64b3d1", - "slotId": "2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac5ec68b26233a64b3d7", - "_tpl": "56d59d3ad2720bdb418b4577", - "parentId": "64ccac5ec68b26233a64b3d6", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac5ec68b26233a64b3d8", - "_tpl": "56d59d3ad2720bdb418b4577", - "parentId": "64ccac5ec68b26233a64b3d1", - "slotId": "4", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "StackObjectsCount": 50 - } - }, { - "_id": "64ccac5ec68b26233a64b3d9", - "_tpl": "544fb37f4bdc2dee738b4567", - "parentId": "64ccac5ec68b26233a64b3d1", - "slotId": "5", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 4 - } - } - }, { - "_id": "64ccac5ec68b26233a64b3da", - "_tpl": "5857a8bc2459772bad15db29", - "parentId": "64ccac5ec68b26233a64b3c5", - "slotId": "SecuredContainer" - }, { - "_id": "64ccac5ec68b26233a64b3db", - "_tpl": "544a5cde4bdc2d39388b456b", - "parentId": "64ccac5ec68b26233a64b3c5", - "slotId": "Backpack" - }, { - "_id": "64ccac5ec68b26233a64b3dc", - "_tpl": "5df8a2ca86f7740bfe6df777", - "parentId": "64ccac5ec68b26233a64b3c5", - "slotId": "ArmorVest", - "upd": { - "Repairable": { - "MaxDurability": 80, - "Durability": 80 - } - } - }, { - "_id": "64ccac5ec68b26233a64b3dd", - "_tpl": "627a4e6b255f7527fb05a0f6", - "parentId": "64ccac5ec68b26233a64b3c5", - "slotId": "Pockets" - }, { - "_id": "64ccac5ec68b26233a64b3de", - "_tpl": "5755356824597772cb798962", - "parentId": "64ccac5ec68b26233a64b3dd", - "slotId": "pocket1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 100 - } - } - }, { - "_id": "64ccac5ec68b26233a64b3df", - "_tpl": "544fb25a4bdc2dfb738b4567", - "parentId": "64ccac5ec68b26233a64b3dd", - "slotId": "pocket2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac5ec68b26233a64b3e0", - "_tpl": "5e831507ea0a7c419c2f9bd9", - "parentId": "64ccac5ec68b26233a64b3dd", - "slotId": "pocket3", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac5ec68b26233a64b3e1", - "_tpl": "544fb3364bdc2d34748b456a", - "parentId": "64ccac5ec68b26233a64b3dd", - "slotId": "pocket4", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac5ec68b26233a64b3e2", - "_tpl": "5b432b965acfc47a8774094e", - "parentId": "64ccac5ec68b26233a64b3c5", - "slotId": "Earpiece" - }, { - "_id": "64ccac5ec68b26233a64b3e3", - "_tpl": "557ff21e4bdc2d89578b4586", - "parentId": "64ccac5ec68b26233a64b3c5", - "slotId": "Eyewear" - } - ], - "type": "equipment", - "fastPanel": [], - "buildType": "Standard" - }, { - "id": "64cbc7e65aa0a53ad12f95e8", - "name": "Operator", - "root": "64ccac62ae162a734432979f", - "items": [{ - "_id": "64ccac62ae162a734432979f", - "_tpl": "55d7217a4bdc2d86028b456d" - }, { - "_id": "64ccac62ae162a73443297a0", - "_tpl": "5926bb2186f7744b1c6c6e60", - "parentId": "64ccac62ae162a734432979f", - "slotId": "FirstPrimaryWeapon", - "upd": { - "Repairable": { - "MaxDurability": 100, - "Durability": 100 - }, - "FireMode": { - "FireMode": "single" - } - } - }, { - "_id": "64ccac62ae162a73443297a1", - "_tpl": "5926c3b286f774640d189b6b", - "parentId": "64ccac62ae162a73443297a0", - "slotId": "mod_magazine" - }, { - "_id": "64ccac62ae162a73443297a2", - "_tpl": "64b7bbb74b75259c590fa897", - "parentId": "64ccac62ae162a73443297a1", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac62ae162a73443297a3", - "_tpl": "5926c0df86f77462f647f764", - "parentId": "64ccac62ae162a73443297a0", - "slotId": "mod_reciever" - }, { - "_id": "64ccac62ae162a73443297a4", - "_tpl": "5926c36d86f77467a92a8629", - "parentId": "64ccac62ae162a73443297a3", - "slotId": "mod_handguard" - }, { - "_id": "64ccac62ae162a73443297a5", - "_tpl": "5926d2be86f774134d668e4e", - "parentId": "64ccac62ae162a73443297a3", - "slotId": "mod_sight_rear", - "upd": { - "Sight": { - "ScopesCurrentCalibPointIndexes": [0], - "ScopesSelectedModes": [0], - "SelectedScope": 0 - } - } - }, { - "_id": "64ccac62ae162a73443297a6", - "_tpl": "5926d3c686f77410de68ebc8", - "parentId": "64ccac62ae162a73443297a3", - "slotId": "mod_stock" - }, { - "_id": "64ccac62ae162a73443297a7", - "_tpl": "5926e16e86f7742f5a0f7ecb", - "parentId": "64ccac62ae162a73443297a3", - "slotId": "mod_muzzle" - }, { - "_id": "64ccac62ae162a73443297a8", - "_tpl": "5926dad986f7741f82604363", - "parentId": "64ccac62ae162a73443297a3", - "slotId": "mod_mount" - }, { - "_id": "64ccac62ae162a73443297a9", - "_tpl": "58d39d3d86f77445bb794ae7", - "parentId": "64ccac62ae162a73443297a8", - "slotId": "mod_scope" - }, { - "_id": "64ccac62ae162a73443297aa", - "_tpl": "58d39b0386f77443380bf13c", - "parentId": "64ccac62ae162a73443297a9", - "slotId": "mod_scope" - }, { - "_id": "64ccac62ae162a73443297ab", - "_tpl": "61657230d92c473c770213d7", - "parentId": "64ccac62ae162a73443297aa", - "slotId": "mod_scope", - "upd": { - "Sight": { - "ScopesCurrentCalibPointIndexes": [0], - "ScopesSelectedModes": [0], - "SelectedScope": 0 - } - } - }, { - "_id": "64ccac62ae162a73443297ac", - "_tpl": "5926c32286f774616e42de99", - "parentId": "64ccac62ae162a73443297a0", - "slotId": "mod_charge" - }, { - "_id": "64ccac62ae162a73443297ad", - "_tpl": "5b40e61f5acfc4001a599bec", - "parentId": "64ccac62ae162a734432979f", - "slotId": "Headwear" - }, { - "_id": "64ccac62ae162a73443297ae", - "_tpl": "6034d0230ca681766b6a0fb5", - "parentId": "64ccac62ae162a734432979f", - "slotId": "TacticalVest" - }, { - "_id": "64ccac62ae162a73443297af", - "_tpl": "5926c3b286f774640d189b6b", - "parentId": "64ccac62ae162a73443297ae", - "slotId": "1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac62ae162a73443297b0", - "_tpl": "64b7bbb74b75259c590fa897", - "parentId": "64ccac62ae162a73443297af", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac62ae162a73443297b1", - "_tpl": "64b7bbb74b75259c590fa897", - "parentId": "64ccac62ae162a73443297ae", - "slotId": "1", - "location": { - "x": 0, - "y": 2, - "r": 0, - "isSearched": true - }, - "upd": { - "StackObjectsCount": 50 - } - }, { - "_id": "64ccac62ae162a73443297b2", - "_tpl": "5926c3b286f774640d189b6b", - "parentId": "64ccac62ae162a73443297ae", - "slotId": "2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac62ae162a73443297b3", - "_tpl": "64b7bbb74b75259c590fa897", - "parentId": "64ccac62ae162a73443297b2", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac62ae162a73443297b4", - "_tpl": "5926c3b286f774640d189b6b", - "parentId": "64ccac62ae162a73443297ae", - "slotId": "3", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac62ae162a73443297b5", - "_tpl": "64b7bbb74b75259c590fa897", - "parentId": "64ccac62ae162a73443297b4", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac62ae162a73443297b6", - "_tpl": "544fb37f4bdc2dee738b4567", - "parentId": "64ccac62ae162a73443297ae", - "slotId": "4", - "location": { - "x": 0, - "y": 2, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 4 - } - } - }, { - "_id": "64ccac62ae162a73443297b7", - "_tpl": "5857a8bc2459772bad15db29", - "parentId": "64ccac62ae162a734432979f", - "slotId": "SecuredContainer" - }, { - "_id": "64ccac62ae162a73443297b8", - "_tpl": "544a5cde4bdc2d39388b456b", - "parentId": "64ccac62ae162a734432979f", - "slotId": "Backpack" - }, { - "_id": "64ccac62ae162a73443297b9", - "_tpl": "5648a7494bdc2d9d488b4583", - "parentId": "64ccac62ae162a734432979f", - "slotId": "ArmorVest", - "upd": { - "Repairable": { - "MaxDurability": 50, - "Durability": 50 - } - } - }, { - "_id": "64ccac62ae162a73443297ba", - "_tpl": "627a4e6b255f7527fb05a0f6", - "parentId": "64ccac62ae162a734432979f", - "slotId": "Pockets" - }, { - "_id": "64ccac62ae162a73443297bb", - "_tpl": "5755356824597772cb798962", - "parentId": "64ccac62ae162a73443297ba", - "slotId": "pocket1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 100 - } - } - }, { - "_id": "64ccac62ae162a73443297bc", - "_tpl": "544fb25a4bdc2dfb738b4567", - "parentId": "64ccac62ae162a73443297ba", - "slotId": "pocket2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac62ae162a73443297bd", - "_tpl": "5e831507ea0a7c419c2f9bd9", - "parentId": "64ccac62ae162a73443297ba", - "slotId": "pocket3", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac62ae162a73443297be", - "_tpl": "544fb3364bdc2d34748b456a", - "parentId": "64ccac62ae162a73443297ba", - "slotId": "pocket4", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac62ae162a73443297bf", - "_tpl": "6033fa48ffd42c541047f728", - "parentId": "64ccac62ae162a734432979f", - "slotId": "Earpiece" - }, { - "_id": "64ccac62ae162a73443297c0", - "_tpl": "5aa2b986e5b5b00014028f4c", - "parentId": "64ccac62ae162a734432979f", - "slotId": "Eyewear" - } - ], - "type": "equipment", - "fastPanel": [], - "buildType": "Standard" - }, { - "id": "64cbc87b5aa0a53ad12f9605", - "name": "Marksman", - "root": "64ccac652e015b35031fc076", - "items": [{ - "_id": "64ccac652e015b35031fc076", - "_tpl": "55d7217a4bdc2d86028b456d" - }, { - "_id": "64ccac652e015b35031fc077", - "_tpl": "587e02ff24597743df3deaeb", - "parentId": "64ccac652e015b35031fc076", - "slotId": "FirstPrimaryWeapon", - "upd": { - "Repairable": { - "MaxDurability": 100, - "Durability": 100 - }, - "FireMode": { - "FireMode": "single" - } - } - }, { - "_id": "64ccac652e015b35031fc078", - "_tpl": "587e0531245977466077a0f7", - "parentId": "64ccac652e015b35031fc077", - "slotId": "mod_stock" - }, { - "_id": "64ccac652e015b35031fc079", - "_tpl": "574db213245977459a2f3f5d", - "parentId": "64ccac652e015b35031fc077", - "slotId": "mod_sight_rear", - "upd": { - "Sight": { - "ScopesCurrentCalibPointIndexes": [0], - "ScopesSelectedModes": [0], - "SelectedScope": 0 - } - } - }, { - "_id": "64ccac652e015b35031fc07a", - "_tpl": "587df583245977373c4f1129", - "parentId": "64ccac652e015b35031fc077", - "slotId": "mod_magazine" - }, { - "_id": "64ccac652e015b35031fc07b", - "_tpl": "64b7af5a8532cf95ee0a0dbd", - "parentId": "64ccac652e015b35031fc07a", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 20 - } - }, { - "_id": "64ccac652e015b35031fc07c", - "_tpl": "587e08ee245977446b4410cf", - "parentId": "64ccac652e015b35031fc077", - "slotId": "mod_mount" - }, { - "_id": "64ccac652e015b35031fc07d", - "_tpl": "5c82342f2e221644f31c060e", - "parentId": "64ccac652e015b35031fc07c", - "slotId": "mod_scope", - "upd": { - "Sight": { - "ScopesCurrentCalibPointIndexes": [0], - "ScopesSelectedModes": [0], - "SelectedScope": 0 - } - } - }, { - "_id": "64ccac652e015b35031fc07e", - "_tpl": "5c06c6a80db834001b735491", - "parentId": "64ccac652e015b35031fc076", - "slotId": "Headwear", - "upd": { - "Repairable": { - "MaxDurability": 30, - "Durability": 30 - } - } - }, { - "_id": "64ccac652e015b35031fc07f", - "_tpl": "5c0e3eb886f7742015526062", - "parentId": "64ccac652e015b35031fc076", - "slotId": "TacticalVest", - "upd": { - "Repairable": { - "MaxDurability": 80, - "Durability": 80 - } - } - }, { - "_id": "64ccac652e015b35031fc080", - "_tpl": "587df583245977373c4f1129", - "parentId": "64ccac652e015b35031fc07f", - "slotId": "1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac652e015b35031fc081", - "_tpl": "64b7af5a8532cf95ee0a0dbd", - "parentId": "64ccac652e015b35031fc080", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 20 - } - }, { - "_id": "64ccac652e015b35031fc082", - "_tpl": "64b7af5a8532cf95ee0a0dbd", - "parentId": "64ccac652e015b35031fc07f", - "slotId": "5", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "StackObjectsCount": 60 - } - }, { - "_id": "64ccac652e015b35031fc083", - "_tpl": "544fb37f4bdc2dee738b4567", - "parentId": "64ccac652e015b35031fc07f", - "slotId": "6", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 4 - } - } - }, { - "_id": "64ccac652e015b35031fc084", - "_tpl": "5857a8bc2459772bad15db29", - "parentId": "64ccac652e015b35031fc076", - "slotId": "SecuredContainer" - }, { - "_id": "64ccac652e015b35031fc085", - "_tpl": "5ca20d5986f774331e7c9602", - "parentId": "64ccac652e015b35031fc076", - "slotId": "Backpack" - }, { - "_id": "64ccac652e015b35031fc086", - "_tpl": "627a4e6b255f7527fb05a0f6", - "parentId": "64ccac652e015b35031fc076", - "slotId": "Pockets" - }, { - "_id": "64ccac652e015b35031fc087", - "_tpl": "5755356824597772cb798962", - "parentId": "64ccac652e015b35031fc086", - "slotId": "pocket1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 100 - } - } - }, { - "_id": "64ccac652e015b35031fc088", - "_tpl": "544fb25a4bdc2dfb738b4567", - "parentId": "64ccac652e015b35031fc086", - "slotId": "pocket2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac652e015b35031fc089", - "_tpl": "5e831507ea0a7c419c2f9bd9", - "parentId": "64ccac652e015b35031fc086", - "slotId": "pocket3", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac652e015b35031fc08a", - "_tpl": "544fb3364bdc2d34748b456a", - "parentId": "64ccac652e015b35031fc086", - "slotId": "pocket4", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac652e015b35031fc08b", - "_tpl": "5b432b965acfc47a8774094e", - "parentId": "64ccac652e015b35031fc076", - "slotId": "Earpiece" - } - ], - "type": "equipment", - "fastPanel": [], - "buildType": "Standard" - }, { - "id": "64cbc9d1be913172ac476d2c", - "name": "Fighter", - "root": "64ccac68a397cb69014cef05", - "items": [{ - "_id": "64ccac68a397cb69014cef05", - "_tpl": "55d7217a4bdc2d86028b456d" - }, { - "_id": "64ccac68a397cb69014cef06", - "_tpl": "59e6152586f77473dc057aa1", - "parentId": "64ccac68a397cb69014cef05", - "slotId": "FirstPrimaryWeapon", - "upd": { - "Repairable": { - "MaxDurability": 100, - "Durability": 100 - }, - "FireMode": { - "FireMode": "single" - } - } - }, { - "_id": "64ccac68a397cb69014cef07", - "_tpl": "59ccfdba86f7747f2109a587", - "parentId": "64ccac68a397cb69014cef06", - "slotId": "mod_gas_block" - }, { - "_id": "64ccac68a397cb69014cef08", - "_tpl": "570fd721d2720bc5458b4596", - "parentId": "64ccac68a397cb69014cef07", - "slotId": "mod_scope", - "upd": { - "Sight": { - "ScopesCurrentCalibPointIndexes": [0], - "ScopesSelectedModes": [0], - "SelectedScope": 0 - } - } - }, { - "_id": "64ccac68a397cb69014cef09", - "_tpl": "59e61eb386f77440d64f5daf", - "parentId": "64ccac68a397cb69014cef06", - "slotId": "mod_muzzle" - }, { - "_id": "64ccac68a397cb69014cef0a", - "_tpl": "59e6318286f77444dd62c4cc", - "parentId": "64ccac68a397cb69014cef06", - "slotId": "mod_pistol_grip" - }, { - "_id": "64ccac68a397cb69014cef0b", - "_tpl": "59e6449086f7746c9f75e822", - "parentId": "64ccac68a397cb69014cef06", - "slotId": "mod_reciever" - }, { - "_id": "64ccac68a397cb69014cef0c", - "_tpl": "59d650cf86f7741b846413a4", - "parentId": "64ccac68a397cb69014cef06", - "slotId": "mod_sight_rear", - "upd": { - "Sight": { - "ScopesCurrentCalibPointIndexes": [0], - "ScopesSelectedModes": [0], - "SelectedScope": 0 - } - } - }, { - "_id": "64ccac68a397cb69014cef0d", - "_tpl": "5649b0fc4bdc2d17108b4588", - "parentId": "64ccac68a397cb69014cef06", - "slotId": "mod_stock" - }, { - "_id": "64ccac68a397cb69014cef0e", - "_tpl": "64b9cf0ac12b9c38db26923a", - "parentId": "64ccac68a397cb69014cef06", - "slotId": "mod_magazine" - }, { - "_id": "64ccac68a397cb69014cef0f", - "_tpl": "64b7af5a8532cf95ee0a0dbd", - "parentId": "64ccac68a397cb69014cef0e", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 20 - } - }, { - "_id": "64ccac68a397cb69014cef10", - "_tpl": "5a7c4850e899ef00150be885", - "parentId": "64ccac68a397cb69014cef05", - "slotId": "Headwear", - "upd": { - "Repairable": { - "MaxDurability": 25, - "Durability": 25 - } - } - }, { - "_id": "64ccac68a397cb69014cef11", - "_tpl": "6034cf5fffd42c541047f72e", - "parentId": "64ccac68a397cb69014cef05", - "slotId": "TacticalVest" - }, { - "_id": "64ccac68a397cb69014cef12", - "_tpl": "64b9cf0ac12b9c38db26923a", - "parentId": "64ccac68a397cb69014cef11", - "slotId": "1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac68a397cb69014cef13", - "_tpl": "64b7af5a8532cf95ee0a0dbd", - "parentId": "64ccac68a397cb69014cef12", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 20 - } - }, { - "_id": "64ccac68a397cb69014cef14", - "_tpl": "64b9cf0ac12b9c38db26923a", - "parentId": "64ccac68a397cb69014cef11", - "slotId": "2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac68a397cb69014cef15", - "_tpl": "64b7af5a8532cf95ee0a0dbd", - "parentId": "64ccac68a397cb69014cef14", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 20 - } - }, { - "_id": "64ccac68a397cb69014cef16", - "_tpl": "64b9cf0ac12b9c38db26923a", - "parentId": "64ccac68a397cb69014cef11", - "slotId": "3", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac68a397cb69014cef17", - "_tpl": "64b7af5a8532cf95ee0a0dbd", - "parentId": "64ccac68a397cb69014cef16", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 20 - } - }, { - "_id": "64ccac68a397cb69014cef18", - "_tpl": "64b7af5a8532cf95ee0a0dbd", - "parentId": "64ccac68a397cb69014cef11", - "slotId": "6", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "StackObjectsCount": 60 - } - }, { - "_id": "64ccac68a397cb69014cef19", - "_tpl": "544fb37f4bdc2dee738b4567", - "parentId": "64ccac68a397cb69014cef11", - "slotId": "7", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 4 - } - } - }, { - "_id": "64ccac68a397cb69014cef1a", - "_tpl": "5857a8bc2459772bad15db29", - "parentId": "64ccac68a397cb69014cef05", - "slotId": "SecuredContainer" - }, { - "_id": "64ccac68a397cb69014cef1b", - "_tpl": "5ca20d5986f774331e7c9602", - "parentId": "64ccac68a397cb69014cef05", - "slotId": "Backpack" - }, { - "_id": "64ccac68a397cb69014cef1c", - "_tpl": "64be79e2bf8412471d0d9bcc", - "parentId": "64ccac68a397cb69014cef05", - "slotId": "ArmorVest", - "upd": { - "Repairable": { - "MaxDurability": 80, - "Durability": 80 - } - } - }, { - "_id": "64ccac68a397cb69014cef1d", - "_tpl": "627a4e6b255f7527fb05a0f6", - "parentId": "64ccac68a397cb69014cef05", - "slotId": "Pockets" - }, { - "_id": "64ccac68a397cb69014cef1e", - "_tpl": "5755356824597772cb798962", - "parentId": "64ccac68a397cb69014cef1d", - "slotId": "pocket1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 100 - } - } - }, { - "_id": "64ccac68a397cb69014cef1f", - "_tpl": "544fb25a4bdc2dfb738b4567", - "parentId": "64ccac68a397cb69014cef1d", - "slotId": "pocket2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac68a397cb69014cef20", - "_tpl": "5e831507ea0a7c419c2f9bd9", - "parentId": "64ccac68a397cb69014cef1d", - "slotId": "pocket3", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac68a397cb69014cef21", - "_tpl": "544fb3364bdc2d34748b456a", - "parentId": "64ccac68a397cb69014cef1d", - "slotId": "pocket4", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac68a397cb69014cef22", - "_tpl": "6033fa48ffd42c541047f728", - "parentId": "64ccac68a397cb69014cef05", - "slotId": "Earpiece" - }, { - "_id": "64ccac68a397cb69014cef23", - "_tpl": "5b432be65acfc433000ed01f", - "parentId": "64ccac68a397cb69014cef05", - "slotId": "Eyewear" - } - ], - "type": "equipment", - "fastPanel": [], - "buildType": "Standard" - }, { - "id": "64cbcbc47a078773360f86a0", - "name": "Sportsman", - "root": "64ccac6bc0c508190a313fb6", - "items": [{ - "_id": "64ccac6bc0c508190a313fb6", - "_tpl": "55d7217a4bdc2d86028b456d" - }, { - "_id": "64ccac6bc0c508190a313fb7", - "_tpl": "5c07c60e0db834002330051f", - "parentId": "64ccac6bc0c508190a313fb6", - "slotId": "FirstPrimaryWeapon", - "upd": { - "Repairable": { - "MaxDurability": 100, - "Durability": 100 - }, - "FireMode": { - "FireMode": "single" - } - } - }, { - "_id": "64ccac6bc0c508190a313fb8", - "_tpl": "55d4b9964bdc2d1d4e8b456e", - "parentId": "64ccac6bc0c508190a313fb7", - "slotId": "mod_pistol_grip" - }, { - "_id": "64ccac6bc0c508190a313fb9", - "_tpl": "55d4887d4bdc2d962f8b4570", - "parentId": "64ccac6bc0c508190a313fb7", - "slotId": "mod_magazine" - }, { - "_id": "64ccac6bc0c508190a313fba", - "_tpl": "54527a984bdc2d4e668b4567", - "parentId": "64ccac6bc0c508190a313fb9", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac6bc0c508190a313fbb", - "_tpl": "5c0e2f26d174af02a9625114", - "parentId": "64ccac6bc0c508190a313fb7", - "slotId": "mod_reciever" - }, { - "_id": "64ccac6bc0c508190a313fbc", - "_tpl": "5c1cdd302e221602b3137250", - "parentId": "64ccac6bc0c508190a313fbb", - "slotId": "mod_scope" - }, { - "_id": "64ccac6bc0c508190a313fbd", - "_tpl": "5c1cdd512e22161b267d91ae", - "parentId": "64ccac6bc0c508190a313fbc", - "slotId": "mod_scope", - "upd": { - "Sight": { - "ScopesCurrentCalibPointIndexes": [0], - "ScopesSelectedModes": [0], - "SelectedScope": 0 - } - } - }, { - "_id": "64ccac6bc0c508190a313fbe", - "_tpl": "5c0e2f94d174af029f650d56", - "parentId": "64ccac6bc0c508190a313fbb", - "slotId": "mod_barrel" - }, { - "_id": "64ccac6bc0c508190a313fbf", - "_tpl": "5c6d710d2e22165df16b81e7", - "parentId": "64ccac6bc0c508190a313fbe", - "slotId": "mod_muzzle" - }, { - "_id": "64ccac6bc0c508190a313fc0", - "_tpl": "56eabcd4d2720b66698b4574", - "parentId": "64ccac6bc0c508190a313fbe", - "slotId": "mod_gas_block" - }, { - "_id": "64ccac6bc0c508190a313fc1", - "_tpl": "5c78f26f2e221601da3581d1", - "parentId": "64ccac6bc0c508190a313fbb", - "slotId": "mod_handguard" - }, { - "_id": "64ccac6bc0c508190a313fc2", - "_tpl": "5b7be47f5acfc400170e2dd2", - "parentId": "64ccac6bc0c508190a313fc1", - "slotId": "mod_mount_001" - }, { - "_id": "64ccac6bc0c508190a313fc3", - "_tpl": "5cc9c20cd7f00c001336c65d", - "parentId": "64ccac6bc0c508190a313fc2", - "slotId": "mod_tactical", - "upd": { - "Light": { - "IsActive": false, - "SelectedMode": 0 - } - } - }, { - "_id": "64ccac6bc0c508190a313fc4", - "_tpl": "5b7be4895acfc400170e2dd5", - "parentId": "64ccac6bc0c508190a313fc1", - "slotId": "mod_foregrip" - }, { - "_id": "64ccac6bc0c508190a313fc5", - "_tpl": "558032614bdc2de7118b4585", - "parentId": "64ccac6bc0c508190a313fc4", - "slotId": "mod_foregrip" - }, { - "_id": "64ccac6bc0c508190a313fc6", - "_tpl": "5c0faeddd174af02a962601f", - "parentId": "64ccac6bc0c508190a313fb7", - "slotId": "mod_stock" - }, { - "_id": "64ccac6bc0c508190a313fc7", - "_tpl": "5fbbaa86f9986c4cff3fe5f6", - "parentId": "64ccac6bc0c508190a313fc6", - "slotId": "mod_stock_000" - }, { - "_id": "64ccac6bc0c508190a313fc8", - "_tpl": "5c0faf68d174af02a96260b8", - "parentId": "64ccac6bc0c508190a313fb7", - "slotId": "mod_charge" - }, { - "_id": "64ccac6bc0c508190a313fc9", - "_tpl": "5aa2ba46e5b5b000137b758d", - "parentId": "64ccac6bc0c508190a313fb6", - "slotId": "Headwear" - }, { - "_id": "64ccac6bc0c508190a313fca", - "_tpl": "5ca20abf86f77418567a43f2", - "parentId": "64ccac6bc0c508190a313fb6", - "slotId": "TacticalVest" - }, { - "_id": "64ccac6bc0c508190a313fcb", - "_tpl": "55d4887d4bdc2d962f8b4570", - "parentId": "64ccac6bc0c508190a313fca", - "slotId": "1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac6bc0c508190a313fcc", - "_tpl": "54527a984bdc2d4e668b4567", - "parentId": "64ccac6bc0c508190a313fcb", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac6bc0c508190a313fcd", - "_tpl": "55d4887d4bdc2d962f8b4570", - "parentId": "64ccac6bc0c508190a313fca", - "slotId": "2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac6bc0c508190a313fce", - "_tpl": "54527a984bdc2d4e668b4567", - "parentId": "64ccac6bc0c508190a313fcd", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac6bc0c508190a313fcf", - "_tpl": "55d4887d4bdc2d962f8b4570", - "parentId": "64ccac6bc0c508190a313fca", - "slotId": "3", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac6bc0c508190a313fd0", - "_tpl": "54527a984bdc2d4e668b4567", - "parentId": "64ccac6bc0c508190a313fcf", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac6bc0c508190a313fd1", - "_tpl": "54527a984bdc2d4e668b4567", - "parentId": "64ccac6bc0c508190a313fca", - "slotId": "4", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "StackObjectsCount": 60 - } - }, { - "_id": "64ccac6bc0c508190a313fd2", - "_tpl": "544fb37f4bdc2dee738b4567", - "parentId": "64ccac6bc0c508190a313fca", - "slotId": "4", - "location": { - "x": 0, - "y": 1, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 4 - } - } - }, { - "_id": "64ccac6bc0c508190a313fd3", - "_tpl": "590c661e86f7741e566b646a", - "parentId": "64ccac6bc0c508190a313fca", - "slotId": "5", - "location": { - "x": 0, - "y": 0, - "r": 1, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 220 - } - } - }, { - "_id": "64ccac6bc0c508190a313fd4", - "_tpl": "5857a8bc2459772bad15db29", - "parentId": "64ccac6bc0c508190a313fb6", - "slotId": "SecuredContainer" - }, { - "_id": "64ccac6bc0c508190a313fd5", - "_tpl": "5e9dcf5986f7746c417435b3", - "parentId": "64ccac6bc0c508190a313fb6", - "slotId": "Backpack" - }, { - "_id": "64ccac6bc0c508190a313fd6", - "_tpl": "5b44d22286f774172b0c9de8", - "parentId": "64ccac6bc0c508190a313fb6", - "slotId": "ArmorVest", - "upd": { - "Repairable": { - "MaxDurability": 70, - "Durability": 70 - } - } - }, { - "_id": "64ccac6bc0c508190a313fd7", - "_tpl": "627a4e6b255f7527fb05a0f6", - "parentId": "64ccac6bc0c508190a313fb6", - "slotId": "Pockets" - }, { - "_id": "64ccac6bc0c508190a313fd8", - "_tpl": "5751a25924597722c463c472", - "parentId": "64ccac6bc0c508190a313fd7", - "slotId": "pocket1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 2 - } - } - }, { - "_id": "64ccac6bc0c508190a313fd9", - "_tpl": "60098af40accd37ef2175f27", - "parentId": "64ccac6bc0c508190a313fd7", - "slotId": "pocket2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac6bc0c508190a313fda", - "_tpl": "544fb3364bdc2d34748b456a", - "parentId": "64ccac6bc0c508190a313fd7", - "slotId": "pocket3", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac6bc0c508190a313fdb", - "_tpl": "5645bcc04bdc2d363b8b4572", - "parentId": "64ccac6bc0c508190a313fb6", - "slotId": "Earpiece" - } - ], - "type": "equipment", - "fastPanel": [], - "buildType": "Standard" - }, { - "id": "64cbcd487a078773360f86d8", - "name": "Tempered", - "root": "64ccac6e88d9782ede0a8bc2", - "items": [{ - "_id": "64ccac6e88d9782ede0a8bc2", - "_tpl": "55d7217a4bdc2d86028b456d" - }, { - "_id": "64ccac6e88d9782ede0a8bc3", - "_tpl": "5644bd2b4bdc2d3b4c8b4572", - "parentId": "64ccac6e88d9782ede0a8bc2", - "slotId": "FirstPrimaryWeapon", - "upd": { - "Repairable": { - "MaxDurability": 100, - "Durability": 100 - }, - "FireMode": { - "FireMode": "single" - } - } - }, { - "_id": "64ccac6e88d9782ede0a8bc4", - "_tpl": "59c6633186f7740cf0493bb9", - "parentId": "64ccac6e88d9782ede0a8bc3", - "slotId": "mod_gas_block" - }, { - "_id": "64ccac6e88d9782ede0a8bc5", - "_tpl": "5cbda392ae92155f3c17c39f", - "parentId": "64ccac6e88d9782ede0a8bc4", - "slotId": "mod_handguard" - }, { - "_id": "64ccac6e88d9782ede0a8bc6", - "_tpl": "5c1bc5fb2e221602b1779b32", - "parentId": "64ccac6e88d9782ede0a8bc5", - "slotId": "mod_foregrip" - }, { - "_id": "64ccac6e88d9782ede0a8bc7", - "_tpl": "560d657b4bdc2da74d8b4572", - "parentId": "64ccac6e88d9782ede0a8bc5", - "slotId": "mod_tactical_000", - "upd": { - "Light": { - "IsActive": true, - "SelectedMode": 0 - } - } - }, { - "_id": "64ccac6e88d9782ede0a8bc8", - "_tpl": "5649ab884bdc2ded0b8b457f", - "parentId": "64ccac6e88d9782ede0a8bc3", - "slotId": "mod_muzzle" - }, { - "_id": "64ccac6e88d9782ede0a8bc9", - "_tpl": "5649ade84bdc2d1b2b8b4587", - "parentId": "64ccac6e88d9782ede0a8bc3", - "slotId": "mod_pistol_grip" - }, { - "_id": "64ccac6e88d9782ede0a8bca", - "_tpl": "5649af094bdc2df8348b4586", - "parentId": "64ccac6e88d9782ede0a8bc3", - "slotId": "mod_reciever" - }, { - "_id": "64ccac6e88d9782ede0a8bcb", - "_tpl": "5649b0544bdc2d1b2b8b458a", - "parentId": "64ccac6e88d9782ede0a8bc3", - "slotId": "mod_sight_rear", - "upd": { - "Sight": { - "ScopesCurrentCalibPointIndexes": [0], - "ScopesSelectedModes": [0], - "SelectedScope": 0 - } - } - }, { - "_id": "64ccac6e88d9782ede0a8bcc", - "_tpl": "5649b0fc4bdc2d17108b4588", - "parentId": "64ccac6e88d9782ede0a8bc3", - "slotId": "mod_stock" - }, { - "_id": "64ccac6e88d9782ede0a8bcd", - "_tpl": "55d480c04bdc2d1d4e8b456a", - "parentId": "64ccac6e88d9782ede0a8bc3", - "slotId": "mod_magazine" - }, { - "_id": "64ccac6e88d9782ede0a8bce", - "_tpl": "56dff3afd2720bba668b4567", - "parentId": "64ccac6e88d9782ede0a8bcd", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac6e88d9782ede0a8bcf", - "_tpl": "5947db3f86f77447880cf76f", - "parentId": "64ccac6e88d9782ede0a8bc3", - "slotId": "mod_mount_000", - "upd": { - "Sight": { - "ScopesCurrentCalibPointIndexes": [0], - "ScopesSelectedModes": [0], - "SelectedScope": 0 - } - } - }, { - "_id": "64ccac6e88d9782ede0a8bd0", - "_tpl": "591c4e1186f77410354b316e", - "parentId": "64ccac6e88d9782ede0a8bcf", - "slotId": "mod_tactical" - }, { - "_id": "64ccac6e88d9782ede0a8bd1", - "_tpl": "5ab8f39486f7745cd93a1cca", - "parentId": "64ccac6e88d9782ede0a8bc2", - "slotId": "FaceCover" - }, { - "_id": "64ccac6e88d9782ede0a8bd2", - "_tpl": "5a7c4850e899ef00150be885", - "parentId": "64ccac6e88d9782ede0a8bc2", - "slotId": "Headwear", - "upd": { - "Repairable": { - "MaxDurability": 25, - "Durability": 25 - } - } - }, { - "_id": "64ccac6e88d9782ede0a8bd3", - "_tpl": "5fd4c60f875c30179f5d04c2", - "parentId": "64ccac6e88d9782ede0a8bc2", - "slotId": "TacticalVest" - }, { - "_id": "64ccac6e88d9782ede0a8bd4", - "_tpl": "55d480c04bdc2d1d4e8b456a", - "parentId": "64ccac6e88d9782ede0a8bd3", - "slotId": "1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac6e88d9782ede0a8bd5", - "_tpl": "56dff3afd2720bba668b4567", - "parentId": "64ccac6e88d9782ede0a8bd4", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac6e88d9782ede0a8bd6", - "_tpl": "55d480c04bdc2d1d4e8b456a", - "parentId": "64ccac6e88d9782ede0a8bd3", - "slotId": "2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac6e88d9782ede0a8bd7", - "_tpl": "56dff3afd2720bba668b4567", - "parentId": "64ccac6e88d9782ede0a8bd6", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac6e88d9782ede0a8bd8", - "_tpl": "55d480c04bdc2d1d4e8b456a", - "parentId": "64ccac6e88d9782ede0a8bd3", - "slotId": "3", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac6e88d9782ede0a8bd9", - "_tpl": "56dff3afd2720bba668b4567", - "parentId": "64ccac6e88d9782ede0a8bd8", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 30 - } - }, { - "_id": "64ccac6e88d9782ede0a8bda", - "_tpl": "590c661e86f7741e566b646a", - "parentId": "64ccac6e88d9782ede0a8bd3", - "slotId": "5", - "location": { - "x": 0, - "y": 0, - "r": 1, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 220 - } - } - }, { - "_id": "64ccac6e88d9782ede0a8bdb", - "_tpl": "544fb37f4bdc2dee738b4567", - "parentId": "64ccac6e88d9782ede0a8bd3", - "slotId": "7", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 4 - } - } - }, { - "_id": "64ccac6e88d9782ede0a8bdc", - "_tpl": "56dff3afd2720bba668b4567", - "parentId": "64ccac6e88d9782ede0a8bd3", - "slotId": "9", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "StackObjectsCount": 60 - } - }, { - "_id": "64ccac6e88d9782ede0a8bdd", - "_tpl": "5857a8bc2459772bad15db29", - "parentId": "64ccac6e88d9782ede0a8bc2", - "slotId": "SecuredContainer" - }, { - "_id": "64ccac6e88d9782ede0a8bde", - "_tpl": "5ca20d5986f774331e7c9602", - "parentId": "64ccac6e88d9782ede0a8bc2", - "slotId": "Backpack" - }, { - "_id": "64ccac6e88d9782ede0a8bdf", - "_tpl": "5c0e5bab86f77461f55ed1f3", - "parentId": "64ccac6e88d9782ede0a8bc2", - "slotId": "ArmorVest", - "upd": { - "Repairable": { - "MaxDurability": 60, - "Durability": 60 - } - } - }, { - "_id": "64ccac6e88d9782ede0a8be0", - "_tpl": "627a4e6b255f7527fb05a0f6", - "parentId": "64ccac6e88d9782ede0a8bc2", - "slotId": "Pockets" - }, { - "_id": "64ccac6e88d9782ede0a8be1", - "_tpl": "5751a25924597722c463c472", - "parentId": "64ccac6e88d9782ede0a8be0", - "slotId": "pocket1", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - }, - "upd": { - "MedKit": { - "HpResource": 2 - } - } - }, { - "_id": "64ccac6e88d9782ede0a8be2", - "_tpl": "60098af40accd37ef2175f27", - "parentId": "64ccac6e88d9782ede0a8be0", - "slotId": "pocket2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac6e88d9782ede0a8be3", - "_tpl": "544fb3364bdc2d34748b456a", - "parentId": "64ccac6e88d9782ede0a8be0", - "slotId": "pocket3", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac6e88d9782ede0a8be4", - "_tpl": "5645bcc04bdc2d363b8b4572", - "parentId": "64ccac6e88d9782ede0a8bc2", - "slotId": "Earpiece" - } - ], - "type": "equipment", - "fastPanel": [], - "buildType": "Standard" - }, { - "id": "64cbce55a7f8eb6f660e1fbc", - "name": "Handyman", - "root": "64ccac71aac81e7e823c7b55", - "items": [{ - "_id": "64ccac71aac81e7e823c7b55", - "_tpl": "55d7217a4bdc2d86028b456d" - }, { - "_id": "64ccac71aac81e7e823c7b56", - "_tpl": "643ea5b23db6f9f57107d9fd", - "parentId": "64ccac71aac81e7e823c7b55", - "slotId": "FirstPrimaryWeapon", - "upd": { - "Repairable": { - "MaxDurability": 100, - "Durability": 100 - }, - "FireMode": { - "FireMode": "single" - } - } - }, { - "_id": "64ccac71aac81e7e823c7b57", - "_tpl": "6410745d5dd49d77bd078485", - "parentId": "64ccac71aac81e7e823c7b56", - "slotId": "mod_stock" - }, { - "_id": "64ccac71aac81e7e823c7b58", - "_tpl": "6410758c857473525b08bb77", - "parentId": "64ccac71aac81e7e823c7b56", - "slotId": "mod_barrel" - }, { - "_id": "64ccac71aac81e7e823c7b59", - "_tpl": "64119d1f2c6d6f921a0929f8", - "parentId": "64ccac71aac81e7e823c7b58", - "slotId": "mod_muzzle" - }, { - "_id": "64ccac71aac81e7e823c7b5a", - "_tpl": "64119d672c6d6f921a0929fb", - "parentId": "64ccac71aac81e7e823c7b59", - "slotId": "mod_sight_front", - "upd": { - "Sight": { - "ScopesCurrentCalibPointIndexes": [0], - "ScopesSelectedModes": [0], - "SelectedScope": 0 - } - } - }, { - "_id": "64ccac71aac81e7e823c7b5b", - "_tpl": "64119d90dcf48d656f0aa275", - "parentId": "64ccac71aac81e7e823c7b58", - "slotId": "mod_sight_rear", - "upd": { - "Sight": { - "ScopesCurrentCalibPointIndexes": [0], - "ScopesSelectedModes": [0], - "SelectedScope": 0 - } - } - }, { - "_id": "64ccac71aac81e7e823c7b5c", - "_tpl": "6422e1ea3c0f06190302161a", - "parentId": "64ccac71aac81e7e823c7b56", - "slotId": "mod_magazine" - }, { - "_id": "64ccac71aac81e7e823c7b5d", - "_tpl": "5887431f2459777e1612938f", - "parentId": "64ccac71aac81e7e823c7b5c", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 10 - } - }, { - "_id": "64ccac71aac81e7e823c7b5e", - "_tpl": "64119cdbdcf48d656f0aa272", - "parentId": "64ccac71aac81e7e823c7b56", - "slotId": "mod_reciever" - }, { - "_id": "64ccac71aac81e7e823c7b5f", - "_tpl": "641dc35e19604f20c800be18", - "parentId": "64ccac71aac81e7e823c7b56", - "slotId": "mod_scope" - }, { - "_id": "64ccac71aac81e7e823c7b60", - "_tpl": "5b3f7c1c5acfc40dc5296b1d", - "parentId": "64ccac71aac81e7e823c7b5f", - "slotId": "mod_scope", - "upd": { - "Sight": { - "ScopesCurrentCalibPointIndexes": [0], - "ScopesSelectedModes": [0], - "SelectedScope": 0 - } - } - }, { - "_id": "64ccac71aac81e7e823c7b61", - "_tpl": "5b4325355acfc40019478126", - "parentId": "64ccac71aac81e7e823c7b55", - "slotId": "FaceCover" - }, { - "_id": "64ccac71aac81e7e823c7b62", - "_tpl": "60b52e5bc7d8103275739d67", - "parentId": "64ccac71aac81e7e823c7b55", - "slotId": "Headwear" - }, { - "_id": "64ccac71aac81e7e823c7b63", - "_tpl": "5d5d646386f7742797261fd9", - "parentId": "64ccac71aac81e7e823c7b55", - "slotId": "TacticalVest", + "_id": "6581811c05ac581bff2c0637", + "_tpl": "65703d866584602f7d057a8a", + "parentId": "6581811c05ac581bff2c0636", + "slotId": "Soft_armor_front", "upd": { "Repairable": { "MaxDurability": 40, @@ -3403,64 +1149,265 @@ } } }, { - "_id": "64ccac71aac81e7e823c7b64", - "_tpl": "6422e1ea3c0f06190302161a", - "parentId": "64ccac71aac81e7e823c7b63", - "slotId": "1", + "_id": "6581811c05ac581bff2c0638", + "_tpl": "65703fa06584602f7d057a8e", + "parentId": "6581811c05ac581bff2c0636", + "slotId": "Soft_armor_back", + "upd": { + "Repairable": { + "MaxDurability": 40, + "Durability": 40 + } + } + }, { + "_id": "6581811c05ac581bff2c0639", + "_tpl": "65703fe46a912c8b5c03468b", + "parentId": "6581811c05ac581bff2c0636", + "slotId": "Soft_armor_left", + "upd": { + "Repairable": { + "MaxDurability": 10, + "Durability": 10 + } + } + }, { + "_id": "6581811c05ac581bff2c063a", + "_tpl": "657040374e67e8ec7a0d261c", + "parentId": "6581811c05ac581bff2c0636", + "slotId": "soft_armor_right", + "upd": { + "Repairable": { + "MaxDurability": 10, + "Durability": 10 + } + } + }, { + "_id": "6581811c05ac581bff2c063b", + "_tpl": "627a4e6b255f7527fb05a0f6", + "parentId": "6581811c05ac581bff2c0620", + "slotId": "Pockets" + }, { + "_id": "6581811c05ac581bff2c063c", + "_tpl": "5755356824597772cb798962", + "parentId": "6581811c05ac581bff2c063b", + "slotId": "pocket1", "location": { "x": 0, "y": 0, "r": 0, "isSearched": true - } - }, { - "_id": "64ccac71aac81e7e823c7b65", - "_tpl": "5887431f2459777e1612938f", - "parentId": "64ccac71aac81e7e823c7b64", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 10 - } - }, { - "_id": "64ccac71aac81e7e823c7b66", - "_tpl": "6422e1ea3c0f06190302161a", - "parentId": "64ccac71aac81e7e823c7b63", - "slotId": "2", - "location": { - "x": 0, - "y": 0, - "r": 0, - "isSearched": true - } - }, { - "_id": "64ccac71aac81e7e823c7b67", - "_tpl": "5887431f2459777e1612938f", - "parentId": "64ccac71aac81e7e823c7b66", - "slotId": "cartridges", - "upd": { - "StackObjectsCount": 10 - } - }, { - "_id": "64ccac71aac81e7e823c7b68", - "_tpl": "590c661e86f7741e566b646a", - "parentId": "64ccac71aac81e7e823c7b63", - "slotId": "3", - "location": { - "x": 0, - "y": 0, - "r": 1, - "isSearched": true }, "upd": { "MedKit": { - "HpResource": 220 + "HpResource": 100 } } }, { - "_id": "64ccac71aac81e7e823c7b69", - "_tpl": "5887431f2459777e1612938f", - "parentId": "64ccac71aac81e7e823c7b63", - "slotId": "7", + "_id": "6581811c05ac581bff2c063d", + "_tpl": "544fb25a4bdc2dfb738b4567", + "parentId": "6581811c05ac581bff2c063b", + "slotId": "pocket2", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "6581811c05ac581bff2c063e", + "_tpl": "5e831507ea0a7c419c2f9bd9", + "parentId": "6581811c05ac581bff2c063b", + "slotId": "pocket3", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "6581811c05ac581bff2c063f", + "_tpl": "544fb3364bdc2d34748b456a", + "parentId": "6581811c05ac581bff2c063b", + "slotId": "pocket4", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + } + ], + "Root": "6581811c05ac581bff2c0620", + "BuildType": "Standard", + "type": "equipment" + }, { + "Id": "6581c1c7d7b74c66dc562359", + "Name": "Sharpshooter", + "Items": [{ + "_id": "65818201c58fc31e7c19e861", + "_tpl": "55d7217a4bdc2d86028b456d" + }, { + "_id": "65818201c58fc31e7c19e862", + "_tpl": "5bfd297f0db834001a669119", + "parentId": "65818201c58fc31e7c19e861", + "slotId": "FirstPrimaryWeapon", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + }, + "FireMode": { + "FireMode": "single" + } + } + }, { + "_id": "65818201c58fc31e7c19e863", + "_tpl": "5ae0973a5acfc4001562206c", + "parentId": "65818201c58fc31e7c19e862", + "slotId": "mod_magazine" + }, { + "_id": "65818201c58fc31e7c19e864", + "_tpl": "64b8f7c241772715af0f9c3d", + "parentId": "65818201c58fc31e7c19e863", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 5 + } + }, { + "_id": "65818201c58fc31e7c19e865", + "_tpl": "5bfd384c0db834001a6691d3", + "parentId": "65818201c58fc31e7c19e862", + "slotId": "mod_stock" + }, { + "_id": "65818201c58fc31e7c19e866", + "_tpl": "5bfd4cbe0db834001b73449f", + "parentId": "65818201c58fc31e7c19e862", + "slotId": "mod_barrel" + }, { + "_id": "65818201c58fc31e7c19e867", + "_tpl": "5ae099875acfc4001714e593", + "parentId": "65818201c58fc31e7c19e866", + "slotId": "mod_sight_front", + "upd": { + "Sight": { + "ScopesCurrentCalibPointIndexes": [0], + "ScopesSelectedModes": [0], + "SelectedScope": 0 + } + } + }, { + "_id": "65818201c58fc31e7c19e868", + "_tpl": "5bfd4c980db834001b73449d", + "parentId": "65818201c58fc31e7c19e866", + "slotId": "mod_sight_rear", + "upd": { + "Sight": { + "ScopesCurrentCalibPointIndexes": [0], + "ScopesSelectedModes": [0], + "SelectedScope": 0 + } + } + }, { + "_id": "65818201c58fc31e7c19e869", + "_tpl": "64b8f7c241772715af0f9c3d", + "parentId": "65818201c58fc31e7c19e862", + "slotId": "patron_in_weapon" + }, { + "_id": "65818201c58fc31e7c19e86a", + "_tpl": "57cd379a24597778e7682ecf", + "parentId": "65818201c58fc31e7c19e861", + "slotId": "Scabbard", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + } + } + }, { + "_id": "65818201c58fc31e7c19e86b", + "_tpl": "5857a8bc2459772bad15db29", + "parentId": "65818201c58fc31e7c19e861", + "slotId": "SecuredContainer" + }, { + "_id": "65818201c58fc31e7c19e86c", + "_tpl": "5ab8ee7786f7742d8f33f0b9", + "parentId": "65818201c58fc31e7c19e861", + "slotId": "Backpack" + }, { + "_id": "65818201c58fc31e7c19e86d", + "_tpl": "5df8a2ca86f7740bfe6df777", + "parentId": "65818201c58fc31e7c19e861", + "slotId": "ArmorVest" + }, { + "_id": "65818201c58fc31e7c19e86e", + "_tpl": "656fd7c32668ef0402028fb9", + "parentId": "65818201c58fc31e7c19e86d", + "slotId": "Soft_armor_front", + "upd": { + "Repairable": { + "MaxDurability": 64, + "Durability": 64 + } + } + }, { + "_id": "65818201c58fc31e7c19e86f", + "_tpl": "656fd89bf5a9631d4e042575", + "parentId": "65818201c58fc31e7c19e86d", + "slotId": "Soft_armor_back", + "upd": { + "Repairable": { + "MaxDurability": 64, + "Durability": 64 + } + } + }, { + "_id": "65818201c58fc31e7c19e870", + "_tpl": "627a4e6b255f7527fb05a0f6", + "parentId": "65818201c58fc31e7c19e861", + "slotId": "Pockets" + }, { + "_id": "65818201c58fc31e7c19e871", + "_tpl": "5755356824597772cb798962", + "parentId": "65818201c58fc31e7c19e870", + "slotId": "pocket1", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + }, + "upd": { + "MedKit": { + "HpResource": 100 + } + } + }, { + "_id": "65818201c58fc31e7c19e872", + "_tpl": "544fb25a4bdc2dfb738b4567", + "parentId": "65818201c58fc31e7c19e870", + "slotId": "pocket2", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "65818201c58fc31e7c19e873", + "_tpl": "5e831507ea0a7c419c2f9bd9", + "parentId": "65818201c58fc31e7c19e870", + "slotId": "pocket3", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "65818201c58fc31e7c19e874", + "_tpl": "64b8f7c241772715af0f9c3d", + "parentId": "65818201c58fc31e7c19e870", + "slotId": "pocket4", "location": { "x": 0, "y": 0, @@ -3471,10 +1418,200 @@ "StackObjectsCount": 40 } }, { - "_id": "64ccac71aac81e7e823c7b6a", + "_id": "65818201c58fc31e7c19e875", + "_tpl": "6033fa48ffd42c541047f728", + "parentId": "65818201c58fc31e7c19e861", + "slotId": "Earpiece" + }, { + "_id": "65818201c58fc31e7c19e876", + "_tpl": "5aa2b986e5b5b00014028f4c", + "parentId": "65818201c58fc31e7c19e861", + "slotId": "Eyewear" + } + ], + "Root": "65818201c58fc31e7c19e861", + "BuildType": "Standard", + "type": "equipment" + }, { + "Id": "6581c1c7d7b74c66dc562360", + "Name": "Scout", + "Items": [{ + "_id": "65818359e0934d2f3d055a64", + "_tpl": "55d7217a4bdc2d86028b456d" + }, { + "_id": "65818359e0934d2f3d055a65", + "_tpl": "59984ab886f7743e98271174", + "parentId": "65818359e0934d2f3d055a64", + "slotId": "FirstPrimaryWeapon", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + }, + "Foldable": { + "Folded": false + }, + "FireMode": { + "FireMode": "single" + } + } + }, { + "_id": "65818359e0934d2f3d055a66", + "_tpl": "5998517986f7746017232f7e", + "parentId": "65818359e0934d2f3d055a65", + "slotId": "mod_pistol_grip" + }, { + "_id": "65818359e0934d2f3d055a67", + "_tpl": "599851db86f77467372f0a18", + "parentId": "65818359e0934d2f3d055a65", + "slotId": "mod_stock" + }, { + "_id": "65818359e0934d2f3d055a68", + "_tpl": "599860ac86f77436b225ed1a", + "parentId": "65818359e0934d2f3d055a65", + "slotId": "mod_magazine" + }, { + "_id": "65818359e0934d2f3d055a69", + "_tpl": "58864a4f2459770fcc257101", + "parentId": "65818359e0934d2f3d055a68", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 30 + } + }, { + "_id": "65818359e0934d2f3d055a6a", + "_tpl": "5998597786f77414ea6da093", + "parentId": "65818359e0934d2f3d055a65", + "slotId": "mod_muzzle" + }, { + "_id": "65818359e0934d2f3d055a6b", + "_tpl": "59985a8086f77414ec448d1a", + "parentId": "65818359e0934d2f3d055a65", + "slotId": "mod_reciever" + }, { + "_id": "65818359e0934d2f3d055a6c", + "_tpl": "599860e986f7743bb57573a6", + "parentId": "65818359e0934d2f3d055a65", + "slotId": "mod_sight_rear", + "upd": { + "Sight": { + "ScopesCurrentCalibPointIndexes": [0], + "ScopesSelectedModes": [0], + "SelectedScope": 0 + } + } + }, { + "_id": "65818359e0934d2f3d055a6d", + "_tpl": "59ccd11386f77428f24a488f", + "parentId": "65818359e0934d2f3d055a65", + "slotId": "mod_gas_block" + }, { + "_id": "65818359e0934d2f3d055a6e", + "_tpl": "5648b1504bdc2d9d488b4584", + "parentId": "65818359e0934d2f3d055a6d", + "slotId": "mod_handguard" + }, { + "_id": "65818359e0934d2f3d055a6f", + "_tpl": "58864a4f2459770fcc257101", + "parentId": "65818359e0934d2f3d055a65", + "slotId": "patron_in_weapon" + }, { + "_id": "65818359e0934d2f3d055a70", + "_tpl": "57cd379a24597778e7682ecf", + "parentId": "65818359e0934d2f3d055a64", + "slotId": "Scabbard", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + } + } + }, { + "_id": "65818359e0934d2f3d055a71", + "_tpl": "5b40e5e25acfc4001a599bea", + "parentId": "65818359e0934d2f3d055a64", + "slotId": "Headwear" + }, { + "_id": "65818359e0934d2f3d055a72", + "_tpl": "59e7643b86f7742cbf2c109a", + "parentId": "65818359e0934d2f3d055a64", + "slotId": "TacticalVest" + }, { + "_id": "65818359e0934d2f3d055a73", + "_tpl": "599860ac86f77436b225ed1a", + "parentId": "65818359e0934d2f3d055a72", + "slotId": "1", + "location": { + "x": 1, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "65818359e0934d2f3d055a74", + "_tpl": "58864a4f2459770fcc257101", + "parentId": "65818359e0934d2f3d055a73", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 30 + } + }, { + "_id": "65818359e0934d2f3d055a75", + "_tpl": "599860ac86f77436b225ed1a", + "parentId": "65818359e0934d2f3d055a72", + "slotId": "1", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "65818359e0934d2f3d055a76", + "_tpl": "58864a4f2459770fcc257101", + "parentId": "65818359e0934d2f3d055a75", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 30 + } + }, { + "_id": "65818359e0934d2f3d055a77", + "_tpl": "599860ac86f77436b225ed1a", + "parentId": "65818359e0934d2f3d055a72", + "slotId": "2", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "65818359e0934d2f3d055a78", + "_tpl": "58864a4f2459770fcc257101", + "parentId": "65818359e0934d2f3d055a77", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 30 + } + }, { + "_id": "65818359e0934d2f3d055a79", + "_tpl": "58864a4f2459770fcc257101", + "parentId": "65818359e0934d2f3d055a72", + "slotId": "4", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + }, + "upd": { + "StackObjectsCount": 50 + } + }, { + "_id": "65818359e0934d2f3d055a7a", "_tpl": "544fb37f4bdc2dee738b4567", - "parentId": "64ccac71aac81e7e823c7b63", - "slotId": "8", + "parentId": "65818359e0934d2f3d055a72", + "slotId": "5", "location": { "x": 0, "y": 0, @@ -3487,24 +1624,51 @@ } } }, { - "_id": "64ccac71aac81e7e823c7b6b", + "_id": "65818359e0934d2f3d055a7b", "_tpl": "5857a8bc2459772bad15db29", - "parentId": "64ccac71aac81e7e823c7b55", + "parentId": "65818359e0934d2f3d055a64", "slotId": "SecuredContainer" }, { - "_id": "64ccac71aac81e7e823c7b6c", - "_tpl": "618bb76513f5097c8d5aa2d5", - "parentId": "64ccac71aac81e7e823c7b55", + "_id": "65818359e0934d2f3d055a7c", + "_tpl": "56e33680d2720be2748b4576", + "parentId": "65818359e0934d2f3d055a64", "slotId": "Backpack" }, { - "_id": "64ccac71aac81e7e823c7b6d", + "_id": "65818359e0934d2f3d055a7d", + "_tpl": "5df8a2ca86f7740bfe6df777", + "parentId": "65818359e0934d2f3d055a64", + "slotId": "ArmorVest" + }, { + "_id": "65818359e0934d2f3d055a7e", + "_tpl": "656fd7c32668ef0402028fb9", + "parentId": "65818359e0934d2f3d055a7d", + "slotId": "Soft_armor_front", + "upd": { + "Repairable": { + "MaxDurability": 64, + "Durability": 64 + } + } + }, { + "_id": "65818359e0934d2f3d055a7f", + "_tpl": "656fd89bf5a9631d4e042575", + "parentId": "65818359e0934d2f3d055a7d", + "slotId": "Soft_armor_back", + "upd": { + "Repairable": { + "MaxDurability": 64, + "Durability": 64 + } + } + }, { + "_id": "65818359e0934d2f3d055a80", "_tpl": "627a4e6b255f7527fb05a0f6", - "parentId": "64ccac71aac81e7e823c7b55", + "parentId": "65818359e0934d2f3d055a64", "slotId": "Pockets" }, { - "_id": "64ccac71aac81e7e823c7b6e", - "_tpl": "5751a25924597722c463c472", - "parentId": "64ccac71aac81e7e823c7b6d", + "_id": "65818359e0934d2f3d055a81", + "_tpl": "5755356824597772cb798962", + "parentId": "65818359e0934d2f3d055a80", "slotId": "pocket1", "location": { "x": 0, @@ -3514,13 +1678,13 @@ }, "upd": { "MedKit": { - "HpResource": 2 + "HpResource": 100 } } }, { - "_id": "64ccac71aac81e7e823c7b6f", - "_tpl": "60098af40accd37ef2175f27", - "parentId": "64ccac71aac81e7e823c7b6d", + "_id": "65818359e0934d2f3d055a82", + "_tpl": "544fb25a4bdc2dfb738b4567", + "parentId": "65818359e0934d2f3d055a80", "slotId": "pocket2", "location": { "x": 0, @@ -3529,9 +1693,9 @@ "isSearched": true } }, { - "_id": "64ccac71aac81e7e823c7b70", - "_tpl": "544fb3364bdc2d34748b456a", - "parentId": "64ccac71aac81e7e823c7b6d", + "_id": "65818359e0934d2f3d055a83", + "_tpl": "5e831507ea0a7c419c2f9bd9", + "parentId": "65818359e0934d2f3d055a80", "slotId": "pocket3", "location": { "x": 0, @@ -3540,14 +1704,1452 @@ "isSearched": true } }, { - "_id": "64ccac71aac81e7e823c7b71", - "_tpl": "5645bcc04bdc2d363b8b4572", - "parentId": "64ccac71aac81e7e823c7b55", + "_id": "65818359e0934d2f3d055a84", + "_tpl": "544fb3364bdc2d34748b456a", + "parentId": "65818359e0934d2f3d055a80", + "slotId": "pocket4", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "65818359e0934d2f3d055a85", + "_tpl": "5b432b965acfc47a8774094e", + "parentId": "65818359e0934d2f3d055a64", + "slotId": "Earpiece" + }, { + "_id": "65818359e0934d2f3d055a86", + "_tpl": "557ff21e4bdc2d89578b4586", + "parentId": "65818359e0934d2f3d055a64", + "slotId": "Eyewear" + } + ], + "Root": "65818359e0934d2f3d055a64", + "BuildType": "Standard", + "type": "equipment" + }, { + "Id": "6581c1c7d7b74c66dc56234d", + "Name": "Guard", + "Items": [{ + "_id": "65841a70c8711d5ea378d507", + "_tpl": "55d7217a4bdc2d86028b456d" + }, { + "_id": "65841a70c8711d5ea378d508", + "_tpl": "57d14d2524597714373db789", + "parentId": "65841a70c8711d5ea378d507", + "slotId": "FirstPrimaryWeapon", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + }, + "Foldable": { + "Folded": false + }, + "FireMode": { + "FireMode": "single" + } + } + }, { + "_id": "65841a70c8711d5ea378d509", + "_tpl": "57d152ec245977144076ccdf", + "parentId": "65841a70c8711d5ea378d508", + "slotId": "mod_pistol_grip" + }, { + "_id": "65841a70c8711d5ea378d50a", + "_tpl": "57d1519e24597714373db79d", + "parentId": "65841a70c8711d5ea378d508", + "slotId": "mod_magazine" + }, { + "_id": "65841a70c8711d5ea378d50b", + "_tpl": "573719762459775a626ccbc1", + "parentId": "65841a70c8711d5ea378d50a", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 30 + } + }, { + "_id": "65841a70c8711d5ea378d50c", + "_tpl": "57cd379a24597778e7682ecf", + "parentId": "65841a70c8711d5ea378d507", + "slotId": "Scabbard", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + } + } + }, { + "_id": "65841a70c8711d5ea378d50d", + "_tpl": "5c0d2727d174af02a012cf58", + "parentId": "65841a70c8711d5ea378d507", + "slotId": "Headwear" + }, { + "_id": "65841a70c8711d5ea378d50e", + "_tpl": "657ba6c3c6f689d3a205b857", + "parentId": "65841a70c8711d5ea378d50d", + "slotId": "Helmet_top", + "upd": { + "Repairable": { + "MaxDurability": 39, + "Durability": 39 + } + } + }, { + "_id": "65841a70c8711d5ea378d50f", + "_tpl": "657ba737b7e9ca9a02045bf6", + "parentId": "65841a70c8711d5ea378d50d", + "slotId": "Helmet_back", + "upd": { + "Repairable": { + "MaxDurability": 39, + "Durability": 39 + } + } + }, { + "_id": "65841a70c8711d5ea378d510", + "_tpl": "658188edf026a90c1708c827", + "parentId": "65841a70c8711d5ea378d50d", + "slotId": "helmet_eyes", + "upd": { + "Repairable": { + "MaxDurability": 39, + "Durability": 39 + } + } + }, { + "_id": "65841a70c8711d5ea378d511", + "_tpl": "657ba75e23918923cb0df573", + "parentId": "65841a70c8711d5ea378d50d", + "slotId": "Helmet_ears", + "upd": { + "Repairable": { + "MaxDurability": 39, + "Durability": 39 + } + } + }, { + "_id": "65841a70c8711d5ea378d512", + "_tpl": "59e7643b86f7742cbf2c109a", + "parentId": "65841a70c8711d5ea378d507", + "slotId": "TacticalVest" + }, { + "_id": "65841a70c8711d5ea378d513", + "_tpl": "57d1519e24597714373db79d", + "parentId": "65841a70c8711d5ea378d512", + "slotId": "1", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "65841a70c8711d5ea378d514", + "_tpl": "573719762459775a626ccbc1", + "parentId": "65841a70c8711d5ea378d513", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 30 + } + }, { + "_id": "65841a70c8711d5ea378d515", + "_tpl": "57d1519e24597714373db79d", + "parentId": "65841a70c8711d5ea378d512", + "slotId": "1", + "location": { + "x": 1, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "65841a70c8711d5ea378d516", + "_tpl": "573719762459775a626ccbc1", + "parentId": "65841a70c8711d5ea378d515", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 30 + } + }, { + "_id": "65841a70c8711d5ea378d517", + "_tpl": "57d1519e24597714373db79d", + "parentId": "65841a70c8711d5ea378d512", + "slotId": "2", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "65841a70c8711d5ea378d518", + "_tpl": "573719762459775a626ccbc1", + "parentId": "65841a70c8711d5ea378d517", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 30 + } + }, { + "_id": "65841a70c8711d5ea378d519", + "_tpl": "573719762459775a626ccbc1", + "parentId": "65841a70c8711d5ea378d512", + "slotId": "4", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + }, + "upd": { + "StackObjectsCount": 50 + } + }, { + "_id": "65841a70c8711d5ea378d51a", + "_tpl": "5857a8bc2459772bad15db29", + "parentId": "65841a70c8711d5ea378d507", + "slotId": "SecuredContainer" + }, { + "_id": "65841a70c8711d5ea378d51b", + "_tpl": "56e33680d2720be2748b4576", + "parentId": "65841a70c8711d5ea378d507", + "slotId": "Backpack" + }, { + "_id": "65841a70c8711d5ea378d51c", + "_tpl": "59e7635f86f7742cbf2c1095", + "parentId": "65841a70c8711d5ea378d507", + "slotId": "ArmorVest" + }, { + "_id": "65841a70c8711d5ea378d51d", + "_tpl": "65702f87722744627e05cdb8", + "parentId": "65841a70c8711d5ea378d51c", + "slotId": "Soft_armor_front", + "upd": { + "Repairable": { + "MaxDurability": 32, + "Durability": 32 + } + } + }, { + "_id": "65841a70c8711d5ea378d51e", + "_tpl": "65702fe593b7ea9c330f4ce8", + "parentId": "65841a70c8711d5ea378d51c", + "slotId": "Soft_armor_back", + "upd": { + "Repairable": { + "MaxDurability": 32, + "Durability": 32 + } + } + }, { + "_id": "65841a70c8711d5ea378d51f", + "_tpl": "6570305d93b7ea9c330f4ced", + "parentId": "65841a70c8711d5ea378d51c", + "slotId": "Soft_armor_left", + "upd": { + "Repairable": { + "MaxDurability": 8, + "Durability": 8 + } + } + }, { + "_id": "65841a70c8711d5ea378d520", + "_tpl": "65703472c9030b928a0a8a78", + "parentId": "65841a70c8711d5ea378d51c", + "slotId": "soft_armor_right", + "upd": { + "Repairable": { + "MaxDurability": 8, + "Durability": 8 + } + } + }, { + "_id": "65841a70c8711d5ea378d521", + "_tpl": "627a4e6b255f7527fb05a0f6", + "parentId": "65841a70c8711d5ea378d507", + "slotId": "Pockets" + }, { + "_id": "65841a70c8711d5ea378d522", + "_tpl": "5755356824597772cb798962", + "parentId": "65841a70c8711d5ea378d521", + "slotId": "pocket1", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + }, + "upd": { + "MedKit": { + "HpResource": 100 + } + } + }, { + "_id": "65841a70c8711d5ea378d523", + "_tpl": "544fb25a4bdc2dfb738b4567", + "parentId": "65841a70c8711d5ea378d521", + "slotId": "pocket2", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "65841a70c8711d5ea378d524", + "_tpl": "5e831507ea0a7c419c2f9bd9", + "parentId": "65841a70c8711d5ea378d521", + "slotId": "pocket3", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + } + ], + "Root": "65841a70c8711d5ea378d507", + "BuildType": "Standard", + "type": "equipment" + }, { + "Id": "6581c1c7d7b74c66dc56235d", + "Name": "Raider", + "Items": [{ + "_id": "658182d4ec6fb71af44c8bf6", + "_tpl": "55d7217a4bdc2d86028b456d" + }, { + "_id": "658182d4ec6fb71af44c8bf7", + "_tpl": "57dc2fa62459775949412633", + "parentId": "658182d4ec6fb71af44c8bf6", + "slotId": "FirstPrimaryWeapon", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + }, + "Foldable": { + "Folded": false + }, + "FireMode": { + "FireMode": "single" + } + } + }, { + "_id": "658182d4ec6fb71af44c8bf8", + "_tpl": "57e3dba62459770f0c32322b", + "parentId": "658182d4ec6fb71af44c8bf7", + "slotId": "mod_pistol_grip" + }, { + "_id": "658182d4ec6fb71af44c8bf9", + "_tpl": "57dc347d245977596754e7a1", + "parentId": "658182d4ec6fb71af44c8bf7", + "slotId": "mod_stock" + }, { + "_id": "658182d4ec6fb71af44c8bfa", + "_tpl": "564ca99c4bdc2d16268b4589", + "parentId": "658182d4ec6fb71af44c8bf7", + "slotId": "mod_magazine" + }, { + "_id": "658182d4ec6fb71af44c8bfb", + "_tpl": "56dff421d2720b5f5a8b4567", + "parentId": "658182d4ec6fb71af44c8bfa", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 30 + } + }, { + "_id": "658182d4ec6fb71af44c8bfc", + "_tpl": "57dc324a24597759501edc20", + "parentId": "658182d4ec6fb71af44c8bf7", + "slotId": "mod_muzzle" + }, { + "_id": "658182d4ec6fb71af44c8bfd", + "_tpl": "57dc334d245977597164366f", + "parentId": "658182d4ec6fb71af44c8bf7", + "slotId": "mod_reciever" + }, { + "_id": "658182d4ec6fb71af44c8bfe", + "_tpl": "57ffb0062459777a045af529", + "parentId": "658182d4ec6fb71af44c8bfd", + "slotId": "mod_mount_000" + }, { + "_id": "658182d4ec6fb71af44c8bff", + "_tpl": "570fd721d2720bc5458b4596", + "parentId": "658182d4ec6fb71af44c8bfe", + "slotId": "mod_scope", + "upd": { + "Sight": { + "ScopesCurrentCalibPointIndexes": [0], + "ScopesSelectedModes": [0], + "SelectedScope": 0 + } + } + }, { + "_id": "658182d4ec6fb71af44c8c00", + "_tpl": "59d36a0086f7747e673f3946", + "parentId": "658182d4ec6fb71af44c8bf7", + "slotId": "mod_gas_block" + }, { + "_id": "658182d4ec6fb71af44c8c01", + "_tpl": "57ffa9f4245977728561e844", + "parentId": "658182d4ec6fb71af44c8c00", + "slotId": "mod_handguard" + }, { + "_id": "658182d4ec6fb71af44c8c02", + "_tpl": "5c1bc7752e221602b1779b34", + "parentId": "658182d4ec6fb71af44c8c01", + "slotId": "mod_foregrip" + }, { + "_id": "658182d4ec6fb71af44c8c03", + "_tpl": "56dff421d2720b5f5a8b4567", + "parentId": "658182d4ec6fb71af44c8bf7", + "slotId": "patron_in_weapon" + }, { + "_id": "658182d4ec6fb71af44c8c04", + "_tpl": "57cd379a24597778e7682ecf", + "parentId": "658182d4ec6fb71af44c8bf6", + "slotId": "Scabbard", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + } + } + }, { + "_id": "658182d4ec6fb71af44c8c05", + "_tpl": "5aa2b87de5b5b00016327c25", + "parentId": "658182d4ec6fb71af44c8bf6", + "slotId": "Headwear" + }, { + "_id": "658182d4ec6fb71af44c8c06", + "_tpl": "64be7110bf597ba84a0a41ea", + "parentId": "658182d4ec6fb71af44c8bf6", + "slotId": "TacticalVest" + }, { + "_id": "658182d4ec6fb71af44c8c07", + "_tpl": "544fb37f4bdc2dee738b4567", + "parentId": "658182d4ec6fb71af44c8c06", + "slotId": "2", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + }, + "upd": { + "MedKit": { + "HpResource": 4 + } + } + }, { + "_id": "658182d4ec6fb71af44c8c08", + "_tpl": "564ca99c4bdc2d16268b4589", + "parentId": "658182d4ec6fb71af44c8c06", + "slotId": "5", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658182d4ec6fb71af44c8c09", + "_tpl": "56dff421d2720b5f5a8b4567", + "parentId": "658182d4ec6fb71af44c8c08", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 30 + } + }, { + "_id": "658182d4ec6fb71af44c8c0a", + "_tpl": "564ca99c4bdc2d16268b4589", + "parentId": "658182d4ec6fb71af44c8c06", + "slotId": "6", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658182d4ec6fb71af44c8c0b", + "_tpl": "56dff421d2720b5f5a8b4567", + "parentId": "658182d4ec6fb71af44c8c0a", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 30 + } + }, { + "_id": "658182d4ec6fb71af44c8c0c", + "_tpl": "5857a8bc2459772bad15db29", + "parentId": "658182d4ec6fb71af44c8bf6", + "slotId": "SecuredContainer" + }, { + "_id": "658182d4ec6fb71af44c8c0d", + "_tpl": "5ab8ee7786f7742d8f33f0b9", + "parentId": "658182d4ec6fb71af44c8bf6", + "slotId": "Backpack" + }, { + "_id": "658182d4ec6fb71af44c8c0e", + "_tpl": "5df8a2ca86f7740bfe6df777", + "parentId": "658182d4ec6fb71af44c8bf6", + "slotId": "ArmorVest" + }, { + "_id": "658182d4ec6fb71af44c8c0f", + "_tpl": "656fd7c32668ef0402028fb9", + "parentId": "658182d4ec6fb71af44c8c0e", + "slotId": "Soft_armor_front", + "upd": { + "Repairable": { + "MaxDurability": 64, + "Durability": 64 + } + } + }, { + "_id": "658182d4ec6fb71af44c8c10", + "_tpl": "656fd89bf5a9631d4e042575", + "parentId": "658182d4ec6fb71af44c8c0e", + "slotId": "Soft_armor_back", + "upd": { + "Repairable": { + "MaxDurability": 64, + "Durability": 64 + } + } + }, { + "_id": "658182d4ec6fb71af44c8c11", + "_tpl": "627a4e6b255f7527fb05a0f6", + "parentId": "658182d4ec6fb71af44c8bf6", + "slotId": "Pockets" + }, { + "_id": "658182d4ec6fb71af44c8c12", + "_tpl": "5755356824597772cb798962", + "parentId": "658182d4ec6fb71af44c8c11", + "slotId": "pocket1", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + }, + "upd": { + "MedKit": { + "HpResource": 100 + } + } + }, { + "_id": "658182d4ec6fb71af44c8c13", + "_tpl": "544fb25a4bdc2dfb738b4567", + "parentId": "658182d4ec6fb71af44c8c11", + "slotId": "pocket2", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658182d4ec6fb71af44c8c14", + "_tpl": "5e831507ea0a7c419c2f9bd9", + "parentId": "658182d4ec6fb71af44c8c11", + "slotId": "pocket3", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658182d4ec6fb71af44c8c15", + "_tpl": "544fb3364bdc2d34748b456a", + "parentId": "658182d4ec6fb71af44c8c11", + "slotId": "pocket4", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658182d4ec6fb71af44c8c16", + "_tpl": "5b432b965acfc47a8774094e", + "parentId": "658182d4ec6fb71af44c8bf6", "slotId": "Earpiece" } ], - "type": "equipment", - "fastPanel": [], - "buildType": "Standard" + "Root": "658182d4ec6fb71af44c8bf6", + "BuildType": "Standard", + "type": "equipment" + }, { + "Id": "6581c1c7d7b74c66dc562356", + "Name": "Papasha", + "Items": [{ + "_id": "6581815bec6fb71af44c8bcc", + "_tpl": "55d7217a4bdc2d86028b456d" + }, { + "_id": "6581815bec6fb71af44c8bcd", + "_tpl": "5ea03f7400685063ec28bfa8", + "parentId": "6581815bec6fb71af44c8bcc", + "slotId": "FirstPrimaryWeapon", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + }, + "FireMode": { + "FireMode": "single" + } + } + }, { + "_id": "6581815bec6fb71af44c8bce", + "_tpl": "5ea03e9400685063ec28bfa4", + "parentId": "6581815bec6fb71af44c8bcd", + "slotId": "mod_stock" + }, { + "_id": "6581815bec6fb71af44c8bcf", + "_tpl": "5ea034eb5aad6446a939737b", + "parentId": "6581815bec6fb71af44c8bcd", + "slotId": "mod_magazine" + }, { + "_id": "6581815bec6fb71af44c8bd0", + "_tpl": "5735ff5c245977640e39ba7e", + "parentId": "6581815bec6fb71af44c8bcf", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 35 + } + }, { + "_id": "6581815bec6fb71af44c8bd1", + "_tpl": "5ea03e5009aa976f2e7a514b", + "parentId": "6581815bec6fb71af44c8bcd", + "slotId": "mod_reciever" + }, { + "_id": "6581815bec6fb71af44c8bd2", + "_tpl": "5ea02bb600685063ec28bfa1", + "parentId": "6581815bec6fb71af44c8bcd", + "slotId": "mod_barrel" + }, { + "_id": "6581815bec6fb71af44c8bd3", + "_tpl": "57cd379a24597778e7682ecf", + "parentId": "6581815bec6fb71af44c8bcc", + "slotId": "Scabbard", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + } + } + }, { + "_id": "6581815bec6fb71af44c8bd4", + "_tpl": "5b43271c5acfc432ff4dce65", + "parentId": "6581815bec6fb71af44c8bcc", + "slotId": "Headwear" + }, { + "_id": "6581815bec6fb71af44c8bd5", + "_tpl": "59e7643b86f7742cbf2c109a", + "parentId": "6581815bec6fb71af44c8bcc", + "slotId": "TacticalVest" + }, { + "_id": "6581815bec6fb71af44c8bd6", + "_tpl": "5ea034eb5aad6446a939737b", + "parentId": "6581815bec6fb71af44c8bd5", + "slotId": "1", + "location": { + "x": 1, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "6581815bec6fb71af44c8bd7", + "_tpl": "5735ff5c245977640e39ba7e", + "parentId": "6581815bec6fb71af44c8bd6", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 35 + } + }, { + "_id": "6581815bec6fb71af44c8bd8", + "_tpl": "5ea034eb5aad6446a939737b", + "parentId": "6581815bec6fb71af44c8bd5", + "slotId": "1", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "6581815bec6fb71af44c8bd9", + "_tpl": "5735ff5c245977640e39ba7e", + "parentId": "6581815bec6fb71af44c8bd8", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 35 + } + }, { + "_id": "6581815bec6fb71af44c8bda", + "_tpl": "5ea034eb5aad6446a939737b", + "parentId": "6581815bec6fb71af44c8bd5", + "slotId": "2", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "6581815bec6fb71af44c8bdb", + "_tpl": "5735ff5c245977640e39ba7e", + "parentId": "6581815bec6fb71af44c8bda", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 35 + } + }, { + "_id": "6581815bec6fb71af44c8bdc", + "_tpl": "5735ff5c245977640e39ba7e", + "parentId": "6581815bec6fb71af44c8bd5", + "slotId": "4", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + }, + "upd": { + "StackObjectsCount": 50 + } + }, { + "_id": "6581815bec6fb71af44c8bdd", + "_tpl": "5857a8bc2459772bad15db29", + "parentId": "6581815bec6fb71af44c8bcc", + "slotId": "SecuredContainer" + }, { + "_id": "6581815bec6fb71af44c8bde", + "_tpl": "5ab8ee7786f7742d8f33f0b9", + "parentId": "6581815bec6fb71af44c8bcc", + "slotId": "Backpack" + }, { + "_id": "6581815bec6fb71af44c8bdf", + "_tpl": "5df8a2ca86f7740bfe6df777", + "parentId": "6581815bec6fb71af44c8bcc", + "slotId": "ArmorVest" + }, { + "_id": "6581815bec6fb71af44c8be0", + "_tpl": "656fd7c32668ef0402028fb9", + "parentId": "6581815bec6fb71af44c8bdf", + "slotId": "Soft_armor_front", + "upd": { + "Repairable": { + "MaxDurability": 64, + "Durability": 64 + } + } + }, { + "_id": "6581815bec6fb71af44c8be1", + "_tpl": "656fd89bf5a9631d4e042575", + "parentId": "6581815bec6fb71af44c8bdf", + "slotId": "Soft_armor_back", + "upd": { + "Repairable": { + "MaxDurability": 64, + "Durability": 64 + } + } + }, { + "_id": "6581815bec6fb71af44c8be2", + "_tpl": "627a4e6b255f7527fb05a0f6", + "parentId": "6581815bec6fb71af44c8bcc", + "slotId": "Pockets" + }, { + "_id": "6581815bec6fb71af44c8be3", + "_tpl": "5755356824597772cb798962", + "parentId": "6581815bec6fb71af44c8be2", + "slotId": "pocket1", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + }, + "upd": { + "MedKit": { + "HpResource": 100 + } + } + }, { + "_id": "6581815bec6fb71af44c8be4", + "_tpl": "544fb25a4bdc2dfb738b4567", + "parentId": "6581815bec6fb71af44c8be2", + "slotId": "pocket2", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "6581815bec6fb71af44c8be5", + "_tpl": "5e831507ea0a7c419c2f9bd9", + "parentId": "6581815bec6fb71af44c8be2", + "slotId": "pocket3", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "6581815bec6fb71af44c8be6", + "_tpl": "5b432b965acfc47a8774094e", + "parentId": "6581815bec6fb71af44c8bcc", + "slotId": "Earpiece" + } + ], + "Root": "6581815bec6fb71af44c8bcc", + "BuildType": "Standard", + "type": "equipment" + }, { + "Id": "6581c1c7d7b74c66dc562363", + "Name": "Operator", + "Items": [{ + "_id": "658183c3143034069b1f42cb", + "_tpl": "55d7217a4bdc2d86028b456d" + }, { + "_id": "658183c3143034069b1f42cc", + "_tpl": "5926bb2186f7744b1c6c6e60", + "parentId": "658183c3143034069b1f42cb", + "slotId": "FirstPrimaryWeapon", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + }, + "FireMode": { + "FireMode": "single" + } + } + }, { + "_id": "658183c3143034069b1f42cd", + "_tpl": "5926c3b286f774640d189b6b", + "parentId": "658183c3143034069b1f42cc", + "slotId": "mod_magazine" + }, { + "_id": "658183c3143034069b1f42ce", + "_tpl": "58864a4f2459770fcc257101", + "parentId": "658183c3143034069b1f42cd", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 30 + } + }, { + "_id": "658183c3143034069b1f42cf", + "_tpl": "5926c0df86f77462f647f764", + "parentId": "658183c3143034069b1f42cc", + "slotId": "mod_reciever" + }, { + "_id": "658183c3143034069b1f42d0", + "_tpl": "5926c36d86f77467a92a8629", + "parentId": "658183c3143034069b1f42cf", + "slotId": "mod_handguard" + }, { + "_id": "658183c3143034069b1f42d1", + "_tpl": "5926d2be86f774134d668e4e", + "parentId": "658183c3143034069b1f42cf", + "slotId": "mod_sight_rear", + "upd": { + "Sight": { + "ScopesCurrentCalibPointIndexes": [0], + "ScopesSelectedModes": [0], + "SelectedScope": 0 + } + } + }, { + "_id": "658183c3143034069b1f42d2", + "_tpl": "5926d3c686f77410de68ebc8", + "parentId": "658183c3143034069b1f42cf", + "slotId": "mod_stock" + }, { + "_id": "658183c3143034069b1f42d3", + "_tpl": "5926e16e86f7742f5a0f7ecb", + "parentId": "658183c3143034069b1f42cf", + "slotId": "mod_muzzle" + }, { + "_id": "658183c3143034069b1f42d4", + "_tpl": "5926dad986f7741f82604363", + "parentId": "658183c3143034069b1f42cf", + "slotId": "mod_mount" + }, { + "_id": "658183c3143034069b1f42d5", + "_tpl": "58d39d3d86f77445bb794ae7", + "parentId": "658183c3143034069b1f42d4", + "slotId": "mod_scope" + }, { + "_id": "658183c3143034069b1f42d6", + "_tpl": "58d39b0386f77443380bf13c", + "parentId": "658183c3143034069b1f42d5", + "slotId": "mod_scope" + }, { + "_id": "658183c3143034069b1f42d7", + "_tpl": "61657230d92c473c770213d7", + "parentId": "658183c3143034069b1f42d6", + "slotId": "mod_scope", + "upd": { + "Sight": { + "ScopesCurrentCalibPointIndexes": [0], + "ScopesSelectedModes": [0], + "SelectedScope": 0 + } + } + }, { + "_id": "658183c3143034069b1f42d8", + "_tpl": "5926c32286f774616e42de99", + "parentId": "658183c3143034069b1f42cc", + "slotId": "mod_charge" + }, { + "_id": "658183c3143034069b1f42d9", + "_tpl": "58864a4f2459770fcc257101", + "parentId": "658183c3143034069b1f42cc", + "slotId": "patron_in_weapon" + }, { + "_id": "658183c3143034069b1f42da", + "_tpl": "57cd379a24597778e7682ecf", + "parentId": "658183c3143034069b1f42cb", + "slotId": "Scabbard", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + } + } + }, { + "_id": "658183c3143034069b1f42db", + "_tpl": "5b40e61f5acfc4001a599bec", + "parentId": "658183c3143034069b1f42cb", + "slotId": "Headwear" + }, { + "_id": "658183c3143034069b1f42dc", + "_tpl": "6034d0230ca681766b6a0fb5", + "parentId": "658183c3143034069b1f42cb", + "slotId": "TacticalVest" + }, { + "_id": "658183c3143034069b1f42dd", + "_tpl": "5926c3b286f774640d189b6b", + "parentId": "658183c3143034069b1f42dc", + "slotId": "1", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658183c3143034069b1f42de", + "_tpl": "58864a4f2459770fcc257101", + "parentId": "658183c3143034069b1f42dd", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 30 + } + }, { + "_id": "658183c3143034069b1f42df", + "_tpl": "58864a4f2459770fcc257101", + "parentId": "658183c3143034069b1f42dc", + "slotId": "1", + "location": { + "x": 0, + "y": 2, + "r": 0, + "isSearched": true + }, + "upd": { + "StackObjectsCount": 50 + } + }, { + "_id": "658183c3143034069b1f42e0", + "_tpl": "5926c3b286f774640d189b6b", + "parentId": "658183c3143034069b1f42dc", + "slotId": "2", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658183c3143034069b1f42e1", + "_tpl": "58864a4f2459770fcc257101", + "parentId": "658183c3143034069b1f42e0", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 30 + } + }, { + "_id": "658183c3143034069b1f42e2", + "_tpl": "5926c3b286f774640d189b6b", + "parentId": "658183c3143034069b1f42dc", + "slotId": "3", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658183c3143034069b1f42e3", + "_tpl": "58864a4f2459770fcc257101", + "parentId": "658183c3143034069b1f42e2", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 30 + } + }, { + "_id": "658183c3143034069b1f42e4", + "_tpl": "544fb37f4bdc2dee738b4567", + "parentId": "658183c3143034069b1f42dc", + "slotId": "4", + "location": { + "x": 0, + "y": 2, + "r": 0, + "isSearched": true + }, + "upd": { + "MedKit": { + "HpResource": 4 + } + } + }, { + "_id": "658183c3143034069b1f42e5", + "_tpl": "5857a8bc2459772bad15db29", + "parentId": "658183c3143034069b1f42cb", + "slotId": "SecuredContainer" + }, { + "_id": "658183c3143034069b1f42e6", + "_tpl": "56e33680d2720be2748b4576", + "parentId": "658183c3143034069b1f42cb", + "slotId": "Backpack" + }, { + "_id": "658183c3143034069b1f42e7", + "_tpl": "5648a7494bdc2d9d488b4583", + "parentId": "658183c3143034069b1f42cb", + "slotId": "ArmorVest" + }, { + "_id": "658183c3143034069b1f42e8", + "_tpl": "65703d866584602f7d057a8a", + "parentId": "658183c3143034069b1f42e7", + "slotId": "Soft_armor_front", + "upd": { + "Repairable": { + "MaxDurability": 40, + "Durability": 40 + } + } + }, { + "_id": "658183c3143034069b1f42e9", + "_tpl": "65703fa06584602f7d057a8e", + "parentId": "658183c3143034069b1f42e7", + "slotId": "Soft_armor_back", + "upd": { + "Repairable": { + "MaxDurability": 40, + "Durability": 40 + } + } + }, { + "_id": "658183c3143034069b1f42ea", + "_tpl": "65703fe46a912c8b5c03468b", + "parentId": "658183c3143034069b1f42e7", + "slotId": "Soft_armor_left", + "upd": { + "Repairable": { + "MaxDurability": 10, + "Durability": 10 + } + } + }, { + "_id": "658183c3143034069b1f42eb", + "_tpl": "657040374e67e8ec7a0d261c", + "parentId": "658183c3143034069b1f42e7", + "slotId": "soft_armor_right", + "upd": { + "Repairable": { + "MaxDurability": 10, + "Durability": 10 + } + } + }, { + "_id": "658183c3143034069b1f42ec", + "_tpl": "627a4e6b255f7527fb05a0f6", + "parentId": "658183c3143034069b1f42cb", + "slotId": "Pockets" + }, { + "_id": "658183c3143034069b1f42ed", + "_tpl": "5755356824597772cb798962", + "parentId": "658183c3143034069b1f42ec", + "slotId": "pocket1", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + }, + "upd": { + "MedKit": { + "HpResource": 100 + } + } + }, { + "_id": "658183c3143034069b1f42ee", + "_tpl": "544fb25a4bdc2dfb738b4567", + "parentId": "658183c3143034069b1f42ec", + "slotId": "pocket2", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658183c3143034069b1f42ef", + "_tpl": "5e831507ea0a7c419c2f9bd9", + "parentId": "658183c3143034069b1f42ec", + "slotId": "pocket3", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658183c3143034069b1f42f0", + "_tpl": "544fb3364bdc2d34748b456a", + "parentId": "658183c3143034069b1f42ec", + "slotId": "pocket4", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658183c3143034069b1f42f1", + "_tpl": "6033fa48ffd42c541047f728", + "parentId": "658183c3143034069b1f42cb", + "slotId": "Earpiece" + }, { + "_id": "658183c3143034069b1f42f2", + "_tpl": "5aa2b986e5b5b00014028f4c", + "parentId": "658183c3143034069b1f42cb", + "slotId": "Eyewear" + } + ], + "Root": "658183c3143034069b1f42cb", + "BuildType": "Standard", + "type": "equipment" + }, { + "Id": "6581c1c7d7b74c66dc562369", + "Name": "Fighter", + "Items": [{ + "_id": "658185b8fca8fa7cdc4a6a54", + "_tpl": "55d7217a4bdc2d86028b456d" + }, { + "_id": "658185b8fca8fa7cdc4a6a55", + "_tpl": "59e6152586f77473dc057aa1", + "parentId": "658185b8fca8fa7cdc4a6a54", + "slotId": "FirstPrimaryWeapon", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + }, + "FireMode": { + "FireMode": "single" + } + } + }, { + "_id": "658185b8fca8fa7cdc4a6a56", + "_tpl": "59ccfdba86f7747f2109a587", + "parentId": "658185b8fca8fa7cdc4a6a55", + "slotId": "mod_gas_block" + }, { + "_id": "658185b8fca8fa7cdc4a6a57", + "_tpl": "570fd721d2720bc5458b4596", + "parentId": "658185b8fca8fa7cdc4a6a56", + "slotId": "mod_scope", + "upd": { + "Sight": { + "ScopesCurrentCalibPointIndexes": [0], + "ScopesSelectedModes": [0], + "SelectedScope": 0 + } + } + }, { + "_id": "658185b8fca8fa7cdc4a6a58", + "_tpl": "59e61eb386f77440d64f5daf", + "parentId": "658185b8fca8fa7cdc4a6a55", + "slotId": "mod_muzzle" + }, { + "_id": "658185b8fca8fa7cdc4a6a59", + "_tpl": "59e6318286f77444dd62c4cc", + "parentId": "658185b8fca8fa7cdc4a6a55", + "slotId": "mod_pistol_grip" + }, { + "_id": "658185b8fca8fa7cdc4a6a5a", + "_tpl": "59e6449086f7746c9f75e822", + "parentId": "658185b8fca8fa7cdc4a6a55", + "slotId": "mod_reciever" + }, { + "_id": "658185b8fca8fa7cdc4a6a5b", + "_tpl": "59d650cf86f7741b846413a4", + "parentId": "658185b8fca8fa7cdc4a6a55", + "slotId": "mod_sight_rear", + "upd": { + "Sight": { + "ScopesCurrentCalibPointIndexes": [0], + "ScopesSelectedModes": [0], + "SelectedScope": 0 + } + } + }, { + "_id": "658185b8fca8fa7cdc4a6a5c", + "_tpl": "5649b0fc4bdc2d17108b4588", + "parentId": "658185b8fca8fa7cdc4a6a55", + "slotId": "mod_stock" + }, { + "_id": "658185b8fca8fa7cdc4a6a5d", + "_tpl": "64b9cf0ac12b9c38db26923a", + "parentId": "658185b8fca8fa7cdc4a6a55", + "slotId": "mod_magazine" + }, { + "_id": "658185b8fca8fa7cdc4a6a5e", + "_tpl": "59e4d3d286f774176a36250a", + "parentId": "658185b8fca8fa7cdc4a6a5d", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 20 + } + }, { + "_id": "658185b8fca8fa7cdc4a6a5f", + "_tpl": "59e4d3d286f774176a36250a", + "parentId": "658185b8fca8fa7cdc4a6a55", + "slotId": "patron_in_weapon" + }, { + "_id": "658185b8fca8fa7cdc4a6a60", + "_tpl": "57cd379a24597778e7682ecf", + "parentId": "658185b8fca8fa7cdc4a6a54", + "slotId": "Scabbard", + "upd": { + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + } + } + }, { + "_id": "658185b8fca8fa7cdc4a6a61", + "_tpl": "5b43271c5acfc432ff4dce65", + "parentId": "658185b8fca8fa7cdc4a6a54", + "slotId": "Headwear" + }, { + "_id": "658185b8fca8fa7cdc4a6a62", + "_tpl": "6034cf5fffd42c541047f72e", + "parentId": "658185b8fca8fa7cdc4a6a54", + "slotId": "TacticalVest" + }, { + "_id": "658185b8fca8fa7cdc4a6a63", + "_tpl": "64b9cf0ac12b9c38db26923a", + "parentId": "658185b8fca8fa7cdc4a6a62", + "slotId": "1", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658185b8fca8fa7cdc4a6a64", + "_tpl": "59e4d3d286f774176a36250a", + "parentId": "658185b8fca8fa7cdc4a6a63", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 20 + } + }, { + "_id": "658185b8fca8fa7cdc4a6a65", + "_tpl": "64b9cf0ac12b9c38db26923a", + "parentId": "658185b8fca8fa7cdc4a6a62", + "slotId": "2", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658185b8fca8fa7cdc4a6a66", + "_tpl": "59e4d3d286f774176a36250a", + "parentId": "658185b8fca8fa7cdc4a6a65", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 20 + } + }, { + "_id": "658185b8fca8fa7cdc4a6a67", + "_tpl": "64b9cf0ac12b9c38db26923a", + "parentId": "658185b8fca8fa7cdc4a6a62", + "slotId": "3", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658185b8fca8fa7cdc4a6a68", + "_tpl": "59e4d3d286f774176a36250a", + "parentId": "658185b8fca8fa7cdc4a6a67", + "slotId": "cartridges", + "upd": { + "StackObjectsCount": 20 + } + }, { + "_id": "658185b8fca8fa7cdc4a6a69", + "_tpl": "59e4d3d286f774176a36250a", + "parentId": "658185b8fca8fa7cdc4a6a62", + "slotId": "6", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + }, + "upd": { + "StackObjectsCount": 60 + } + }, { + "_id": "658185b8fca8fa7cdc4a6a6a", + "_tpl": "544fb37f4bdc2dee738b4567", + "parentId": "658185b8fca8fa7cdc4a6a62", + "slotId": "7", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + }, + "upd": { + "MedKit": { + "HpResource": 4 + } + } + }, { + "_id": "658185b8fca8fa7cdc4a6a6b", + "_tpl": "5857a8bc2459772bad15db29", + "parentId": "658185b8fca8fa7cdc4a6a54", + "slotId": "SecuredContainer" + }, { + "_id": "658185b8fca8fa7cdc4a6a6c", + "_tpl": "5ab8f04f86f774585f4237d8", + "parentId": "658185b8fca8fa7cdc4a6a54", + "slotId": "Backpack" + }, { + "_id": "658185b8fca8fa7cdc4a6a6d", + "_tpl": "5df8a2ca86f7740bfe6df777", + "parentId": "658185b8fca8fa7cdc4a6a54", + "slotId": "ArmorVest" + }, { + "_id": "658185b8fca8fa7cdc4a6a6e", + "_tpl": "656fd7c32668ef0402028fb9", + "parentId": "658185b8fca8fa7cdc4a6a6d", + "slotId": "Soft_armor_front", + "upd": { + "Repairable": { + "MaxDurability": 64, + "Durability": 64 + } + } + }, { + "_id": "658185b8fca8fa7cdc4a6a6f", + "_tpl": "656fd89bf5a9631d4e042575", + "parentId": "658185b8fca8fa7cdc4a6a6d", + "slotId": "Soft_armor_back", + "upd": { + "Repairable": { + "MaxDurability": 64, + "Durability": 64 + } + } + }, { + "_id": "658185b8fca8fa7cdc4a6a70", + "_tpl": "627a4e6b255f7527fb05a0f6", + "parentId": "658185b8fca8fa7cdc4a6a54", + "slotId": "Pockets" + }, { + "_id": "658185b8fca8fa7cdc4a6a71", + "_tpl": "5755356824597772cb798962", + "parentId": "658185b8fca8fa7cdc4a6a70", + "slotId": "pocket1", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + }, + "upd": { + "MedKit": { + "HpResource": 100 + } + } + }, { + "_id": "658185b8fca8fa7cdc4a6a72", + "_tpl": "544fb25a4bdc2dfb738b4567", + "parentId": "658185b8fca8fa7cdc4a6a70", + "slotId": "pocket2", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658185b8fca8fa7cdc4a6a73", + "_tpl": "5e831507ea0a7c419c2f9bd9", + "parentId": "658185b8fca8fa7cdc4a6a70", + "slotId": "pocket3", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658185b8fca8fa7cdc4a6a74", + "_tpl": "544fb3364bdc2d34748b456a", + "parentId": "658185b8fca8fa7cdc4a6a70", + "slotId": "pocket4", + "location": { + "x": 0, + "y": 0, + "r": 0, + "isSearched": true + } + }, { + "_id": "658185b8fca8fa7cdc4a6a75", + "_tpl": "6033fa48ffd42c541047f728", + "parentId": "658185b8fca8fa7cdc4a6a54", + "slotId": "Earpiece" + }, { + "_id": "658185b8fca8fa7cdc4a6a76", + "_tpl": "5b432be65acfc433000ed01f", + "parentId": "658185b8fca8fa7cdc4a6a54", + "slotId": "Eyewear" + } + ], + "Root": "658185b8fca8fa7cdc4a6a54", + "BuildType": "Standard", + "type": "equipment" } ] diff --git a/project/src/callbacks/BuildsCallbacks.ts b/project/src/callbacks/BuildsCallbacks.ts index 5ba1a1b9..5f2a17c0 100644 --- a/project/src/callbacks/BuildsCallbacks.ts +++ b/project/src/callbacks/BuildsCallbacks.ts @@ -3,6 +3,8 @@ import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequ import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; import { inject, injectable } from "tsyringe"; @@ -40,26 +42,32 @@ export class BuildsCallbacks * Handle client/builds/weapon/save */ // eslint-disable-next-line @typescript-eslint/no-unused-vars - public setWeapon(url: string, info: IEmptyRequestData, sessionID: string): any + public setWeapon(url: string, info: IPresetBuildActionRequestData, sessionID: string): INullResponseData { - // this.httpResponse.getBody(this.buildController.saveWeaponBuild(sessionID, info)); + this.buildController.saveWeaponBuild(sessionID, info); + + return this.httpResponse.nullResponse(); } /** * Handle client/builds/equipment/save */ // eslint-disable-next-line @typescript-eslint/no-unused-vars - public setEquipment(url: string, info: IEmptyRequestData, sessionID: string): any + public setEquipment(url: string, info: IPresetBuildActionRequestData, sessionID: string): INullResponseData { - throw new Error("Not implemented"); + this.buildController.saveEquipmentBuild(sessionID, info); + + return this.httpResponse.nullResponse(); } /** * Handle client/builds/delete */ // eslint-disable-next-line @typescript-eslint/no-unused-vars - public deleteBuild(url: string, info: IEmptyRequestData, sessionID: string): any + public deleteBuild(url: string, info: IRemoveBuildRequestData, sessionID: string): INullResponseData { - throw new Error("Not implemented"); + this.buildController.removeBuild(sessionID, info); + + return this.httpResponse.nullResponse(); } } diff --git a/project/src/callbacks/PresetBuildCallbacks.ts b/project/src/callbacks/PresetBuildCallbacks.ts deleted file mode 100644 index b1750ac4..00000000 --- a/project/src/callbacks/PresetBuildCallbacks.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { inject, injectable } from "tsyringe"; - -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; - -@injectable() -export class PresetBuildCallbacks -{ - constructor( - @inject("HttpResponseUtil") protected httpResponse: HttpResponseUtil, - //@inject("PresetBuildController") protected presetBuildController: BuildController, - ) - {} - - // /** Handle client/handbook/builds/my/list */ - // public getHandbookUserlist( - // url: string, - // info: IEmptyRequestData, - // sessionID: string, - // ): IGetBodyResponseData - // { - // return this.httpResponse.getBody(this.presetBuildController.getUserBuilds(sessionID)); - // } - - // /** Handle SaveWeaponBuild event */ - // public saveWeaponBuild( - // pmcData: IPmcData, - // body: IPresetBuildActionRequestData, - // sessionID: string, - // ): IItemEventRouterResponse - // { - // return this.presetBuildController.saveWeaponBuild(pmcData, body, sessionID); - // } - - // /** Handle removeBuild event*/ - // public removeBuild(pmcData: IPmcData, body: IRemoveBuildRequestData, sessionID: string): IItemEventRouterResponse - // { - // return this.presetBuildController.removeBuild(pmcData, body, sessionID); - // } - - // /** Handle RemoveWeaponBuild event*/ - // public removeWeaponBuild( - // pmcData: IPmcData, - // body: IPresetBuildActionRequestData, - // sessionID: string, - // ): IItemEventRouterResponse - // { - // return this.presetBuildController.removeWeaponBuild(pmcData, body, sessionID); - // } - - // /** Handle SaveEquipmentBuild event */ - // public saveEquipmentBuild( - // pmcData: IPmcData, - // body: IPresetBuildActionRequestData, - // sessionID: string, - // ): IItemEventRouterResponse - // { - // return this.presetBuildController.saveEquipmentBuild(pmcData, body, sessionID); - // } - - // /** Handle RemoveEquipmentBuild event*/ - // public removeEquipmentBuild( - // pmcData: IPmcData, - // body: IPresetBuildActionRequestData, - // sessionID: string, - // ): IItemEventRouterResponse - // { - // return this.presetBuildController.removeEquipmentBuild(pmcData, body, sessionID); - // } -} diff --git a/project/src/controllers/BuildController.ts b/project/src/controllers/BuildController.ts index d4037129..a5393032 100644 --- a/project/src/controllers/BuildController.ts +++ b/project/src/controllers/BuildController.ts @@ -7,7 +7,8 @@ import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IMagazineBuild, IUserBuilds, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEquipmentBuild, IMagazineBuild, IUserBuilds, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; @@ -46,7 +47,7 @@ export class BuildController const playerSecureContainer = profile.characters.pmc.Inventory.items?.find((x) => x.slotId === "SecuredContainer" ); - const firstDefaultItemsSecureContainer = defaultEquipmentPresets[0]?.items?.find((x) => + const firstDefaultItemsSecureContainer = defaultEquipmentPresets[0]?.Items?.find((x) => x.slotId === "SecuredContainer" ); if (playerSecureContainer && playerSecureContainer?._tpl !== firstDefaultItemsSecureContainer?._tpl) @@ -55,7 +56,7 @@ export class BuildController for (const defaultPreset of defaultEquipmentPresets) { // Find presets secure container - const secureContainer = defaultPreset.items.find((x) => x.slotId === "SecuredContainer"); + const secureContainer = defaultPreset.Items.find((item) => item.slotId === "SecuredContainer"); if (secureContainer) { secureContainer._tpl = playerSecureContainer._tpl; @@ -70,33 +71,29 @@ export class BuildController return result; } - /** Handle SaveWeaponBuild event */ + /** Handle client/builds/weapon/save */ public saveWeaponBuild( - pmcData: IPmcData, - body: IPresetBuildActionRequestData, sessionId: string, - ): IItemEventRouterResponse + body: IPresetBuildActionRequestData, + ): void { - // TODO: Could be merged into saveBuild, maybe - const output = this.eventOutputHolder.getOutput(sessionId); + const pmcData = this.profileHelper.getPmcProfile(sessionId); // Replace duplicate Id's. The first item is the base item. // The root ID and the base item ID need to match. - body.items = this.itemHelper.replaceIDs(pmcData, body.items); - body.root = body.items[0]._id; + body.Items = this.itemHelper.replaceIDs(pmcData, body.Items); + body.Root = body.Items[0]._id; // Create new object ready to save into profile userbuilds.weaponBuilds - const newId = this.hashUtil.generate(); // Id is empty, generate it const newBuild: IWeaponBuild = { - id: newId, - name: body.name, - root: body.root, - items: body.items, - type: "weapon", + Id: body.Id, + Name: body.Name, + Root: body.Root, + Items: body.Items, }; const savedWeaponBuilds = this.saveServer.getProfile(sessionId).userbuilds.weaponBuilds; - const existingBuild = savedWeaponBuilds.find((x) => x.id === body.id); + const existingBuild = savedWeaponBuilds.find((x) => x.Id === body.Id); if (existingBuild) { // exists, replace @@ -111,52 +108,37 @@ export class BuildController // Add fresh this.saveServer.getProfile(sessionId).userbuilds.weaponBuilds.push(newBuild); } - - // Inform client of new weapon preset - output.profileChanges[sessionId].weaponBuilds.push(newBuild); - - return output; } - /** Handle SaveEquipmentBuild event */ + /** Handle client/builds/equipment/save event */ public saveEquipmentBuild( - pmcData: IPmcData, - body: IPresetBuildActionRequestData, sessionID: string, - ): IItemEventRouterResponse + request: IPresetBuildActionRequestData, + ): void { - return this.saveBuild(pmcData, body, sessionID, "equipmentBuilds"); - } + const buildType = "equipmentBuilds"; + const pmcData = this.profileHelper.getPmcProfile(sessionID); - protected saveBuild( - pmcData: IPmcData, - body: IPresetBuildActionRequestData, - sessionID: string, - buildType: string, - ): IItemEventRouterResponse - { - const output = this.eventOutputHolder.getOutput(sessionID); - const existingSavedBuilds: any[] = this.saveServer.getProfile(sessionID).userbuilds[buildType]; + const existingSavedEquipmentBuilds: IEquipmentBuild[] = this.saveServer.getProfile(sessionID).userbuilds[buildType]; - // replace duplicate ID's. The first item is the base item. - // The root ID and the base item ID need to match. - body.items = this.itemHelper.replaceIDs(pmcData, body.items); + // Replace duplicate ID's. The first item is the base item. + // Root ID and the base item ID need to match. + request.Items = this.itemHelper.replaceIDs(pmcData, request.Items); - const newBuild = { - id: this.hashUtil.generate(), - name: body.name, - buildType: "Custom", - root: body.root, - fastPanel: [], - items: body.items, + const newBuild: IEquipmentBuild = { + Id: request.Id, + Name: request.Name, + BuildType: EquipmentBuildType.CUSTOM, + Root: request.Root, + Items: request.Items, }; - const existingBuild = existingSavedBuilds.find((x) => x.name === body.name); + const existingBuild = existingSavedEquipmentBuilds.find((x) => x.Name === request.Name); if (existingBuild) { // Already exists, replace this.saveServer.getProfile(sessionID).userbuilds[buildType].splice( - existingSavedBuilds.indexOf(existingBuild), + existingSavedEquipmentBuilds.indexOf(existingBuild), 1, newBuild, ); @@ -166,68 +148,50 @@ export class BuildController // Fresh, add new this.saveServer.getProfile(sessionID).userbuilds[buildType].push(newBuild); } - - output.profileChanges[sessionID][buildType].push(newBuild); - - return output; } - /** Handle RemoveWeaponBuild event*/ - public removeBuild(pmcData: IPmcData, body: IRemoveBuildRequestData, sessionID: string): IItemEventRouterResponse + /** Handle client/builds/delete*/ + public removeBuild(sessionID: string, request: IRemoveBuildRequestData): void { - return this.removePlayerBuild(pmcData, body.id, sessionID); + this.removePlayerBuild(request.id, sessionID); } - /** Handle RemoveWeaponBuild event*/ - public removeWeaponBuild( - pmcData: IPmcData, - body: IPresetBuildActionRequestData, - sessionID: string, - ): IItemEventRouterResponse + protected removePlayerBuild(id: string, sessionID: string): void { - // TODO: Does this get called? - return this.removePlayerBuild(pmcData, body.id, sessionID); - } - - /** Handle RemoveEquipmentBuild event*/ - public removeEquipmentBuild( - pmcData: IPmcData, - body: IPresetBuildActionRequestData, - sessionID: string, - ): IItemEventRouterResponse - { - // TODO: Does this get called? - return this.removePlayerBuild(pmcData, body.id, sessionID); - } - - protected removePlayerBuild(pmcData: IPmcData, id: string, sessionID: string): IItemEventRouterResponse - { - const weaponBuilds = this.saveServer.getProfile(sessionID).userbuilds.weaponBuilds; - const equipmentBuilds = this.saveServer.getProfile(sessionID).userbuilds.equipmentBuilds; + const profile = this.saveServer.getProfile(sessionID); + const weaponBuilds = profile.userbuilds.weaponBuilds; + const equipmentBuilds = profile.userbuilds.equipmentBuilds; + const magazineBuilds = profile.userbuilds.magazineBuilds; // Check for id in weapon array first - const matchingWeaponBuild = weaponBuilds.find((x) => x.id === id); + const matchingWeaponBuild = weaponBuilds.find((x) => x.Id === id); if (matchingWeaponBuild) { weaponBuilds.splice(weaponBuilds.indexOf(matchingWeaponBuild), 1); - return this.eventOutputHolder.getOutput(sessionID); + return; } // Id not found in weapons, try equipment - const matchingEquipmentBuild = equipmentBuilds.find((x) => x.id === id); + const matchingEquipmentBuild = equipmentBuilds.find((x) => x.Id === id); if (matchingEquipmentBuild) { equipmentBuilds.splice(equipmentBuilds.indexOf(matchingEquipmentBuild), 1); + + return; } - // Not found in weapons or equipment, not good - if (!(matchingWeaponBuild || matchingEquipmentBuild)) + // Id not found in weapons/equipment, try mags + const matchingMagazineBuild = magazineBuilds.find((x) => x.Id === id); + if (matchingMagazineBuild) { - this.logger.error(`Unable to delete preset, cannot find ${id} in weapon or equipment presets`); + magazineBuilds.splice(magazineBuilds.indexOf(matchingMagazineBuild), 1); + + return; } - return this.eventOutputHolder.getOutput(sessionID); + // Not found in weapons,equipment or magazines, not good + this.logger.error(`Unable to delete preset, cannot find ${id} in weapon, equipment or magazine presets`); } public createMagazineTemplate(sessionId: string, request: ISetMagazineRequest): void @@ -239,7 +203,6 @@ export class BuildController TopCount: request.TopCount, BottomCount: request.BottomCount, Items: request.Items, - type: "magazine" }; const profile = this.profileHelper.getFullProfile(sessionId); diff --git a/project/src/di/Container.ts b/project/src/di/Container.ts index bf60038e..d634aee0 100644 --- a/project/src/di/Container.ts +++ b/project/src/di/Container.ts @@ -23,7 +23,6 @@ import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; import { ModCallbacks } from "@spt-aki/callbacks/ModCallbacks"; import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { PresetBuildCallbacks } from "@spt-aki/callbacks/PresetBuildCallbacks"; import { PresetCallbacks } from "@spt-aki/callbacks/PresetCallbacks"; import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; @@ -150,7 +149,6 @@ import { HideoutItemEventRouter } from "@spt-aki/routers/item_events/HideoutItem import { InsuranceItemEventRouter } from "@spt-aki/routers/item_events/InsuranceItemEventRouter"; import { InventoryItemEventRouter } from "@spt-aki/routers/item_events/InventoryItemEventRouter"; import { NoteItemEventRouter } from "@spt-aki/routers/item_events/NoteItemEventRouter"; -import { PresetBuildItemEventRouter } from "@spt-aki/routers/item_events/PresetBuildItemEventRouter"; import { QuestItemEventRouter } from "@spt-aki/routers/item_events/QuestItemEventRouter"; import { RagfairItemEventRouter } from "@spt-aki/routers/item_events/RagfairItemEventRouter"; import { RepairItemEventRouter } from "@spt-aki/routers/item_events/RepairItemEventRouter"; @@ -350,7 +348,6 @@ export class Container depContainer.registerType("IERouters", "InsuranceItemEventRouter"); depContainer.registerType("IERouters", "InventoryItemEventRouter"); depContainer.registerType("IERouters", "NoteItemEventRouter"); - depContainer.registerType("IERouters", "PresetBuildItemEventRouter"); depContainer.registerType("IERouters", "QuestItemEventRouter"); depContainer.registerType("IERouters", "RagfairItemEventRouter"); depContainer.registerType("IERouters", "RepairItemEventRouter"); @@ -443,9 +440,6 @@ export class Container useClass: InventoryItemEventRouter, }); depContainer.register("NoteItemEventRouter", { useClass: NoteItemEventRouter }); - depContainer.register("PresetBuildItemEventRouter", { - useClass: PresetBuildItemEventRouter, - }); depContainer.register("QuestItemEventRouter", { useClass: QuestItemEventRouter }); depContainer.register("RagfairItemEventRouter", { useClass: RagfairItemEventRouter }); depContainer.register("RepairItemEventRouter", { useClass: RepairItemEventRouter }); @@ -632,7 +626,6 @@ export class Container depContainer.register("PostDBModLoader", { useClass: PostDBModLoader }); depContainer.register("NoteCallbacks", { useClass: NoteCallbacks }); depContainer.register("NotifierCallbacks", { useClass: NotifierCallbacks }); - depContainer.register("PresetBuildCallbacks", { useClass: PresetBuildCallbacks }); depContainer.register("PresetCallbacks", { useClass: PresetCallbacks }); depContainer.register("ProfileCallbacks", { useClass: ProfileCallbacks }); depContainer.register("QuestCallbacks", { useClass: QuestCallbacks }); diff --git a/project/src/models/eft/presetBuild/IPresetBuildActionRequestData.ts b/project/src/models/eft/presetBuild/IPresetBuildActionRequestData.ts index d7f2e765..75d039b8 100644 --- a/project/src/models/eft/presetBuild/IPresetBuildActionRequestData.ts +++ b/project/src/models/eft/presetBuild/IPresetBuildActionRequestData.ts @@ -3,8 +3,9 @@ import { Item } from "@spt-aki/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; - id: string; - name: string; - root: string; - items: Item[]; + Id: string; + /** name of preset given by player */ + Name: string; + Root: string; + Items: Item[]; } diff --git a/project/src/models/eft/presetBuild/IRemoveBuildRequestData.ts b/project/src/models/eft/presetBuild/IRemoveBuildRequestData.ts index fdfa7768..a7837314 100644 --- a/project/src/models/eft/presetBuild/IRemoveBuildRequestData.ts +++ b/project/src/models/eft/presetBuild/IRemoveBuildRequestData.ts @@ -1,5 +1,4 @@ export interface IRemoveBuildRequestData { - Action: "RemoveBuild"; id: string; -} +} \ No newline at end of file diff --git a/project/src/models/eft/profile/IAkiProfile.ts b/project/src/models/eft/profile/IAkiProfile.ts index 1b15489d..0f8911f1 100644 --- a/project/src/models/eft/profile/IAkiProfile.ts +++ b/project/src/models/eft/profile/IAkiProfile.ts @@ -48,6 +48,7 @@ export interface Characters scav: IPmcData; } +/** used by profile.userbuilds */ export interface IUserBuilds { weaponBuilds: IWeaponBuild[]; @@ -55,35 +56,32 @@ export interface IUserBuilds magazineBuilds: IMagazineBuild[] } -export interface IWeaponBuild -{ - id: string; - name: string; - root: string; - items: Item[]; - type: string; -} - -export interface IEquipmentBuild -{ - id: string; - name: string; - root: string; - items: Item[]; // same as PMC inventory items - type: string; - fastPanel: Record; - buildType: EquipmentBuildType; -} - -export interface IMagazineBuild +export interface IUserBuild { Id: string; Name: string; +} + +export interface IWeaponBuild extends IUserBuild +{ + + Root: string; + Items: Item[]; // Same as PMC inventory items +} + +export interface IEquipmentBuild extends IUserBuild +{ + Root: string; + Items: Item[]; // Same as PMC inventory items + BuildType: EquipmentBuildType; +} + +export interface IMagazineBuild extends IUserBuild +{ Caliber: string TopCount: number BottomCount: number Items: IMagazineTemplateAmmoItem[] - type: string } export interface IMagazineTemplateAmmoItem @@ -92,6 +90,15 @@ export interface IMagazineTemplateAmmoItem Count: number } +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild +{ + Items: Item[] + Root: string + BuildType: EquipmentBuildType + type: string +} + export interface Dialogue { attachmentsNew: number; diff --git a/project/src/models/spt/server/IDatabaseTables.ts b/project/src/models/spt/server/IDatabaseTables.ts index 6d15b1f3..b1c1f95c 100644 --- a/project/src/models/spt/server/IDatabaseTables.ts +++ b/project/src/models/spt/server/IDatabaseTables.ts @@ -17,7 +17,7 @@ import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProducti import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IEquipmentBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; import { ILocations } from "@spt-aki/models/spt/server/ILocations"; import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; @@ -52,7 +52,7 @@ export interface IDatabaseTables prices: Record; /** Default equipment loadouts that show on main inventory screen */ - defaultEquipmentPresets: IEquipmentBuild[]; + defaultEquipmentPresets: IDefaultEquipmentPreset[]; /** Achievements */ achievements: IAchievement[] diff --git a/project/src/routers/item_events/PresetBuildItemEventRouter.ts b/project/src/routers/item_events/PresetBuildItemEventRouter.ts deleted file mode 100644 index f1891afc..00000000 --- a/project/src/routers/item_events/PresetBuildItemEventRouter.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { inject, injectable } from "tsyringe"; - -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventActions } from "@spt-aki/models/enums/ItemEventActions"; - -@injectable() -export class PresetBuildItemEventRouter extends ItemEventRouterDefinition -{ - constructor(@inject("BuildsCallbacks") protected buildCallbacks: BuildsCallbacks) - { - super(); - } - - public override getHandledRoutes(): HandledRoute[] - { - return [ - new HandledRoute(ItemEventActions.SAVE_WEAPON_BUILD, false), - new HandledRoute(ItemEventActions.REMOVE_WEAPON_BUILD, false), - new HandledRoute(ItemEventActions.SAVE_EQUIPMENT_BUILD, false), - new HandledRoute(ItemEventActions.REMOVE_EQUIPMENT_BUILD, false), - new HandledRoute(ItemEventActions.REMOVE_BUILD, false), - ]; - } - - // public override handleItemEvent( - // url: string, - // pmcData: IPmcData, - // body: any, - // sessionID: string, - // ): IItemEventRouterResponse - // { - // switch (url) - // { - // case ItemEventActions.SAVE_WEAPON_BUILD: - // return this.buildCallbacks.setWeapon(pmcData, body, sessionID); - // case ItemEventActions.REMOVE_WEAPON_BUILD: - // return this.buildCallbacks.deleteBuild(pmcData, body, sessionID); - // case ItemEventActions.REMOVE_BUILD: - // return this.buildCallbacks.deleteBuild(pmcData, body, sessionID); - // case ItemEventActions.SAVE_EQUIPMENT_BUILD: - // return this.buildCallbacks.setEquipment(pmcData, body, sessionID); - // case ItemEventActions.REMOVE_EQUIPMENT_BUILD: - // return this.buildCallbacks.deleteBuild(pmcData, body, sessionID); - // } - // } -} diff --git a/project/src/services/ProfileFixerService.ts b/project/src/services/ProfileFixerService.ts index f7f8ea54..2ca7b608 100644 --- a/project/src/services/ProfileFixerService.ts +++ b/project/src/services/ProfileFixerService.ts @@ -953,7 +953,7 @@ export class ProfileFixerService // Iterate over player-made weapon builds, look for missing items and remove weapon preset if found for (const buildId in fullProfile.userbuilds?.weaponBuilds) { - for (const item of fullProfile.userbuilds.weaponBuilds[buildId].items) + for (const item of fullProfile.userbuilds.weaponBuilds[buildId].Items) { // Check item exists in itemsDb if (!itemsDb[item._tpl])