From 8dddbd99b1d3c8a885ea1dd8d121366ccddb8560 Mon Sep 17 00:00:00 2001 From: Ereshkigal Date: Sun, 8 Aug 2021 16:11:56 +0200 Subject: [PATCH] VSS Magless + RPK 16 drum mag preset --- .../config/custom_presets.json | 178 ++++++++++++++++++ Ereshkigal-BaseAssortGenerator/src/prapor.js | 4 +- 2 files changed, 180 insertions(+), 2 deletions(-) diff --git a/Ereshkigal-BaseAssortGenerator/config/custom_presets.json b/Ereshkigal-BaseAssortGenerator/config/custom_presets.json index c60c3f1..49a4682 100644 --- a/Ereshkigal-BaseAssortGenerator/config/custom_presets.json +++ b/Ereshkigal-BaseAssortGenerator/config/custom_presets.json @@ -331,5 +331,183 @@ "slotId": "mod_foregrip" } ] + }, + "RPK-16_Drum": { + "_id": "RPK-16_Drum", + "_type": "Preset", + "_changeWeaponName": false, + "_name": "RPK-16 Drum", + "_parent": "d7a5662e20d1ba628ce909fd", + "_items": [ + { + "_id": "d7a5662e20d1ba628ce909fd", + "_tpl": "5beed0f50db834001c062b12", + "upd": { + "StackObjectsCount": 2000, + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + }, + "Foldable": { + "Folded": false + }, + "FireMode": { + "FireMode": "single" + } + } + }, + { + "_id": "9f87a06c78e449eab346ec15", + "_tpl": "5beec8ea0db834001a6f9dbf", + "parentId": "d7a5662e20d1ba628ce909fd", + "slotId": "mod_pistol_grip" + }, + { + "_id": "3ff48ea4ed797ac5486854eb", + "_tpl": "5beec91a0db834001961942d", + "parentId": "d7a5662e20d1ba628ce909fd", + "slotId": "mod_reciever" + }, + { + "_id": "824f5e92e5842b3aff16ee88", + "_tpl": "5bed625c0db834001c062946", + "parentId": "d7a5662e20d1ba628ce909fd", + "slotId": "mod_magazine" + }, + { + "_id": "296d8b7e298f16e9eb221d39", + "_tpl": "5beec8b20db834001961942a", + "parentId": "d7a5662e20d1ba628ce909fd", + "slotId": "mod_stock_001" + }, + { + "_id": "f5d445f2f723a151957ba507", + "_tpl": "5beec3e30db8340019619424", + "parentId": "d7a5662e20d1ba628ce909fd", + "slotId": "mod_handguard" + }, + { + "_id": "d0134e71867b88bfd27efe44", + "_tpl": "5beec1bd0db834001e6006f3", + "parentId": "d7a5662e20d1ba628ce909fd", + "slotId": "mod_barrel" + }, + { + "_id": "fab49be0d681f011b6b7707e", + "_tpl": "5beec9450db83400970084fd", + "parentId": "3ff48ea4ed797ac5486854eb", + "slotId": "mod_sight_rear", + "upd": { + "Sight": { + "ScopesCurrentCalibPointIndexes": [ + 0 + ], + "ScopesSelectedModes": [ + 0 + ], + "SelectedScope": 0 + } + } + }, + { + "_id": "ecc1cbd838dd33a0cf3afafa", + "_tpl": "5beec8c20db834001d2c465c", + "parentId": "296d8b7e298f16e9eb221d39", + "slotId": "mod_stock" + }, + { + "_id": "7876e6b8d0089aff28b0c221", + "_tpl": "5beecbb80db834001d2c465e", + "parentId": "f5d445f2f723a151957ba507", + "slotId": "mod_mount_000" + }, + { + "_id": "a9cc2c587a6624e5a011c625", + "_tpl": "5beecbb80db834001d2c465e", + "parentId": "f5d445f2f723a151957ba507", + "slotId": "mod_mount_001" + }, + { + "_id": "5cdc8969cd7a7ccea6fc6de5", + "_tpl": "5beec3420db834001b095429", + "parentId": "d0134e71867b88bfd27efe44", + "slotId": "mod_muzzle" + }, + { + "_id": "dd515963e57a9290c8ae1365", + "_tpl": "5bf3f59f0db834001a6fa060", + "parentId": "fab49be0d681f011b6b7707e", + "slotId": "mod_sight_rear", + "upd": { + "Sight": { + "ScopesCurrentCalibPointIndexes": [ + 0 + ], + "ScopesSelectedModes": [ + 0 + ], + "SelectedScope": 0 + } + } + } + ] + }, + "VSS_Magless": { + "_id": "VSS_Magless", + "_type": "Preset", + "_changeWeaponName": false, + "_name": "VSS Vintorez magless", + "_parent": "06c465f556002417834e0c19", + "_items": [ + { + "_id": "06c465f556002417834e0c19", + "_tpl": "57838ad32459774a17445cd2", + "upd": { + "StackObjectsCount": 200, + "Repairable": { + "MaxDurability": 100, + "Durability": 100 + }, + "FireMode": { + "FireMode": "single" + } + } + }, + { + "_id": "8ff0ce4165d75ae6ee19e983", + "_tpl": "57838c962459774a1651ec63", + "parentId": "06c465f556002417834e0c19", + "slotId": "mod_muzzle" + }, + { + "_id": "cbcf1e97145a3cbf9b8b4fce", + "_tpl": "578395402459774a256959b5", + "parentId": "06c465f556002417834e0c19", + "slotId": "mod_reciever" + }, + { + "_id": "9f0c2c9eab7fa456d186a8e4", + "_tpl": "578395e82459774a0e553c7b", + "parentId": "06c465f556002417834e0c19", + "slotId": "mod_stock" + }, + { + "_id": "39a8c5dde2b7c1586867e2c7", + "_tpl": "57838e1b2459774a256959b1", + "parentId": "8ff0ce4165d75ae6ee19e983", + "slotId": "mod_sight_rear", + "upd": { + "Sight": { + "ScopesCurrentCalibPointIndexes": [ + 0 + ], + "ScopesSelectedModes": [ + 0 + ], + "SelectedScope": 0 + } + } + } + ] } } \ No newline at end of file diff --git a/Ereshkigal-BaseAssortGenerator/src/prapor.js b/Ereshkigal-BaseAssortGenerator/src/prapor.js index f2da74c..5f4b057 100644 --- a/Ereshkigal-BaseAssortGenerator/src/prapor.js +++ b/Ereshkigal-BaseAssortGenerator/src/prapor.js @@ -832,7 +832,7 @@ class PraporAssort { CoreMod.CreateTraderAssort(HashUtil.generate(), "5b1fb3e15acfc4001637f068", "54cb50c76803fa8b248b4571", 3909, "RUB", 3, false, 2000); //rpk-16 5.45x39 95-round drum magazine - CoreMod.CreateTraderBarter(HashUtil.generate(), "5bed625c0db834001c062946", "hideout", "hideout", [ + CoreMod.CreateTraderBarter(HashUtil.generate(), "RPK-16_Drum", "hideout", "hideout", [ [{ "count": 4, "_tpl": "590c2b4386f77425357b6123" @@ -1003,7 +1003,7 @@ class PraporAssort { ], "54cb50c76803fa8b248b4571", 3, false, 2000, 2); //vss vintorez 9x39 special sniper rifle - CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "58414a3f2459775a77263531", "hideout", "hideout", [ + CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "VSS_Magless", "hideout", "hideout", [ [{ "count": 10, "_tpl": "590c595c86f7747884343ad7"