diff --git a/Ereshkigal-BaseAssortGenerator/src/prapor.js b/Ereshkigal-BaseAssortGenerator/src/prapor.js index 3f96e30..cb6f64c 100644 --- a/Ereshkigal-BaseAssortGenerator/src/prapor.js +++ b/Ereshkigal-BaseAssortGenerator/src/prapor.js @@ -38,7 +38,7 @@ class PraporAssort { CoreMod.CreateTraderAssort(HashUtil.generate(), "5656d7c34bdc2d9d198b4587", "54cb50c76803fa8b248b4571", 91, "RUB", 1, true, 999999); //5.45x39mm PS gs - id = HashUtil.generate() + id = HashUtil.generate(); CoreMod.CreateTraderAssort(id, "56dff3afd2720bba668b4567", "54cb50c76803fa8b248b4571", 81, "RUB", 1, true, 999999); CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "59674eb386f774539f14813a") // delivery from the past @@ -87,10 +87,10 @@ class PraporAssort { "count": 2, "_tpl": "590a3cd386f77436f20848cb" }] - ], "54cb50c76803fa8b248b4571", 1, false, 2000, 3); + ], "54cb50c76803fa8b248b4571", 1, false, 5000, 3); //RDG Smoke - CoreMod.CreateTraderAssort(HashUtil.generate(), "5a2a57cfc4a2826c6e06d44a", "54cb50c76803fa8b248b4571", 5931, "RUB", 1, false, 37000, 4); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5a2a57cfc4a2826c6e06d44a", "54cb50c76803fa8b248b4571", 5931, "RUB", 1, false, 50000, 4); //PM 9X18PM 90-93 8-round magazine CoreMod.CreateTraderAssort(HashUtil.generate(), "5448c12b4bdc2d02308b456f", "54cb50c76803fa8b248b4571", 1025, "RUB", 1, true, 999999); @@ -116,7 +116,7 @@ class PraporAssort { "count": 1, "_tpl": "5d1b31ce86f7742523398394" }] - ], "54cb50c76803fa8b248b4571", 1, false, 2000, 12); + ], "54cb50c76803fa8b248b4571", 1, false, 5000, 12); @@ -144,7 +144,7 @@ class PraporAssort { "count": 1, "_tpl": "590c2b4386f77425357b6123" }] - ], "54cb50c76803fa8b248b4571", 1, false, 5000, 12); + ], "54cb50c76803fa8b248b4571", 1, false, 5000, 4); //NPZ USP-1 scope eyecup CoreMod.CreateTraderAssort(HashUtil.generate(), "5cf639aad7f00c065703d455", "54cb50c76803fa8b248b4571", 301, "RUB", 1, false, 2000); @@ -195,10 +195,10 @@ class PraporAssort { //PU 3.5x rifle scope CoreMod.CreateTraderAssort(HashUtil.generate(), "5b3f7c1c5acfc40dc5296b1d", "54cb50c76803fa8b248b4571", 13446, "RUB", 1, false, 20000, 5); - + //Zenit-BelOMO PSO-1M2-1 4x24 scope - id = HashUtil.generate() - CoreMod.CreateTraderAssort(id, "576fd4ec2459777f0b518431", "54cb50c76803fa8b248b4571", 19385, "RUB", 1, false, 20000, 4); + id = HashUtil.generate(); + CoreMod.CreateTraderAssort(id, "576fd4ec2459777f0b518431", "54cb50c76803fa8b248b4571", 19385, "RUB", 1, false, 2000, 4); CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "5967530a86f77462ba22226b"); //Bad rep evidence //USP-1 scope @@ -252,7 +252,7 @@ class PraporAssort { //SKS id = HashUtil.generate(); CoreMod.CreateTraderAssortWithPreset(id, "58dffce486f77409f40f8162", "54cb50c76803fa8b248b4571", 21810, "RUB", 1, true, 999999); - + //AKS-74u id = HashUtil.generate(); CoreMod.CreateTraderAssortWithPreset(id, "584147732459775a2b6d9f12", "54cb50c76803fa8b248b4571", 28823, "RUB", 1, false, 700000); @@ -298,7 +298,7 @@ class PraporAssort { //tt-33 id = HashUtil.generate(); CoreMod.CreateTraderAssortWithPreset(id, "58414a2724597759b344da4d", "54cb50c76803fa8b248b4571", 8194, "RUB", 1, false, 200000); - + //MP-443 Grach id = HashUtil.generate(); CoreMod.CreateTraderBarterWithPreset(id, "584148a524597759eb357a44", "hideout", "hideout", [ @@ -404,6 +404,7 @@ class PraporAssort { }] ], "54cb50c76803fa8b248b4571", 1, false, 2000, 2); } + static GenerateLL2() { const CoreMod = require("../../CoreMod/src/Core.js"); let id = null; @@ -445,7 +446,7 @@ class PraporAssort { //Shrapnel-10 buckshot CoreMod.CreateTraderAssort(HashUtil.generate(), "5e85a9a6eacf8c039e4e2ac1", "54cb50c76803fa8b248b4571", 86, "RUB", 2, false, 200000, 80); - + //RGD-5 Hand grenade CoreMod.CreateTraderBarter(HashUtil.generate(), "5448be9a4bdc2dfd2f8b456a", "hideout", "hideout", [ [{ @@ -466,7 +467,7 @@ class PraporAssort { "count": 1, "_tpl": "590c346786f77423e50ed342" }] - ], "54cb50c76803fa8b248b4571", 2, false, 6000, 10); + ], "54cb50c76803fa8b248b4571", 2, false, 6000, 7); //vss 9x39 6L24 10-round magazine CoreMod.CreateTraderAssort(HashUtil.generate(), "57838f0b2459774a256959b2", "54cb50c76803fa8b248b4571", 5055, "RUB", 2, false, 10000, 8); @@ -595,7 +596,7 @@ class PraporAssort { //AKS-74UN id = HashUtil.generate(); - CoreMod.CreateTraderAssortWithPreset(id, "584147ed2459775a77263501", "54cb50c76803fa8b248b4571", 40326, "RUB", 2, true, 7000); + CoreMod.CreateTraderAssortWithPreset(id, "584147ed2459775a77263501", "54cb50c76803fa8b248b4571", 40326, "RUB", 2, true, 999999, 2); //AKS-74UB id = HashUtil.generate(); @@ -614,11 +615,11 @@ class PraporAssort { //AKM id = HashUtil.generate(); - CoreMod.CreateTraderAssortWithPreset(id, "59e8d2ab86f77407f03fc9c2", "54cb50c76803fa8b248b4571", 43069, "RUB", 2, true, 110000); + CoreMod.CreateTraderAssortWithPreset(id, "59e8d2ab86f77407f03fc9c2", "54cb50c76803fa8b248b4571", 43069, "RUB", 2, true, 999999); //AKMS id = HashUtil.generate(); - CoreMod.CreateTraderAssortWithPreset(id, "5a327f4a86f774766866140b", "54cb50c76803fa8b248b4571", 41873, "RUB", 2, true, 2000); + CoreMod.CreateTraderAssortWithPreset(id, "5a327f4a86f774766866140b", "54cb50c76803fa8b248b4571", 41873, "RUB", 2, true, 999999); //AKS-74N id = HashUtil.generate(); @@ -641,7 +642,7 @@ class PraporAssort { ], "54cb50c76803fa8b248b4571", 2, false, 2000, 1); //pb 9x18pm silenced pistol - CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "584149452459775992479702", "54cb50c76803fa8b248b4571", 21467, "RUB", 2, false, 2000); + CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "584149452459775992479702", "54cb50c76803fa8b248b4571", 21467, "RUB", 2, false, 2000, 5); //mp-443 id = HashUtil.generate(); @@ -673,7 +674,7 @@ class PraporAssort { "count": 3, "_tpl": "5909e99886f7740c983b9984" }] - ], "54cb50c76803fa8b248b4571", 2, false, 2000, 2); + ], "54cb50c76803fa8b248b4571", 2, false, 2000, 1); //PP-91-01 Kedr-B id = HashUtil.generate(); @@ -681,7 +682,7 @@ class PraporAssort { //PP-9 Klin id = HashUtil.generate(); - CoreMod.CreateTraderAssortWithPreset(id, "584149ad2459775a7726350e", "54cb50c76803fa8b248b4571", 23427, "RUB", 2, false, 20000); + CoreMod.CreateTraderAssortWithPreset(id, "584149ad2459775a7726350e", "54cb50c76803fa8b248b4571", 23427, "RUB", 2, false, 15000); //PP-19-01 Vityaz SN id = HashUtil.generate(); @@ -730,7 +731,7 @@ class PraporAssort { "count": 1, "_tpl": "5d1b32c186f774252167a530" }] - ], "54cb50c76803fa8b248b4571", 2, false, 2000, 5); + ], "54cb50c76803fa8b248b4571", 2, false, 2000, 6); CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "59675d6c86f7740a842fc482"); //Ice cream cones //5x45 BT x30 GS box @@ -744,7 +745,7 @@ class PraporAssort { } static GenerateLL3() { const CoreMod = require("../../CoreMod/src/Core.js"); - let id = null + let id = null; //5.45x39 BS gs 30 pcs ammo pack CoreMod.CreateTraderBarter(HashUtil.generate(), "57372bd3245977670b7cd243", "hideout", "hideout", [ @@ -775,29 +776,29 @@ class PraporAssort { //5.45x39mm BT gs id = HashUtil.generate(); - CoreMod.CreateTraderAssort(id, "56dff061d2720bb5668b4567", "54cb50c76803fa8b248b4571", 641, "RUB", 3, false, 300000); + CoreMod.CreateTraderAssort(id, "56dff061d2720bb5668b4567", "54cb50c76803fa8b248b4571", 641, "RUB", 3, false, 300000, 300); CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "59ca264786f77445a80ed044"); //Punisher part 4 //7.62x25mm TT pst gzh - CoreMod.CreateTraderAssort(HashUtil.generate(), "573603562459776430731618", "54cb50c76803fa8b248b4571", 77, "RUB", 3, true, 1000000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "573603562459776430731618", "54cb50c76803fa8b248b4571", 77, "RUB", 3, true, 999999); //9x18mm PM Bzht gzh - CoreMod.CreateTraderAssort(HashUtil.generate(), "573718ba2459775a75491131", "54cb50c76803fa8b248b4571", 71, "RUB", 3, true, 1000000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "573718ba2459775a75491131", "54cb50c76803fa8b248b4571", 71, "RUB", 3, true, 999999); //9x18mm PM PBM gzh - CoreMod.CreateTraderAssort(HashUtil.generate(), "573719df2459775a626ccbc2", "54cb50c76803fa8b248b4571", 121, "RUB", 3, false, 210000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "573719df2459775a626ccbc2", "54cb50c76803fa8b248b4571", 121, "RUB", 3, false, 210000, 350); //9x18mm PMM Pstm gzh - CoreMod.CreateTraderAssort(HashUtil.generate(), "57371aab2459775a77142f22", "54cb50c76803fa8b248b4571", 151, "RUB", 3, false, 400000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "57371aab2459775a77142f22", "54cb50c76803fa8b248b4571", 151, "RUB", 3, false, 400000, 450); //9x18mm PM RG028 gzh - CoreMod.CreateTraderAssort(HashUtil.generate(), "573720e02459776143012541", "54cb50c76803fa8b248b4571", 86, "RUB", 3, true, 1000000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "573720e02459776143012541", "54cb50c76803fa8b248b4571", 86, "RUB", 3, true, 999999, 400); //9x18mm PM SP7 gzh - CoreMod.CreateTraderAssort(HashUtil.generate(), "57372140245977611f70ee91", "54cb50c76803fa8b248b4571", 165, "RUB", 3, false, 400000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "57372140245977611f70ee91", "54cb50c76803fa8b248b4571", 165, "RUB", 3, false, 400000, 450); //9x18mm PM SP8 gzh - CoreMod.CreateTraderAssort(HashUtil.generate(), "5737218f245977612125ba51", "54cb50c76803fa8b248b4571", 69, "RUB", 3, true, 1000000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5737218f245977612125ba51", "54cb50c76803fa8b248b4571", 69, "RUB", 3, true, 999999, 400); //9x39mm spp gs id = HashUtil.generate(); @@ -805,28 +806,28 @@ class PraporAssort { CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "5c0bd94186f7747a727f09b2"); //test drive part 1 //7.62x39mm US gzh - CoreMod.CreateTraderAssort(HashUtil.generate(), "59e4d24686f7741776641ac7", "54cb50c76803fa8b248b4571", 161, "RUB", 3, false, 200000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "59e4d24686f7741776641ac7", "54cb50c76803fa8b248b4571", 161, "RUB", 3, false, 200000, 800); //7.62x54R PS - CoreMod.CreateTraderAssort(HashUtil.generate(), "59e77a2386f7742ee578960a", "54cb50c76803fa8b248b4571", 805, "RUB", 3, false, 400000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "59e77a2386f7742ee578960a", "54cb50c76803fa8b248b4571", 805, "RUB", 3, false, 400000, 120); //9x21mm PS gzh CoreMod.CreateTraderAssort(HashUtil.generate(), "5a269f97c4a282000b151807", "54cb50c76803fa8b248b4571", 153, "RUB", 3, false, 35000, 200); //9x21mm PE gzh - CoreMod.CreateTraderAssort(HashUtil.generate(), "5a26ac06c4a282000c5a90a8", "54cb50c76803fa8b248b4571", 215, "RUB", 3, false, 35000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5a26ac06c4a282000c5a90a8", "54cb50c76803fa8b248b4571", 215, "RUB", 3, false, 35000, 400); //12.7x55 mm Ps12a - CoreMod.CreateTraderAssort(HashUtil.generate(), "5cadf6e5ae921500113bb973", "54cb50c76803fa8b248b4571", 351, "RUB", 3, false, 100000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5cadf6e5ae921500113bb973", "54cb50c76803fa8b248b4571", 351, "RUB", 3, false, 100000, 200); //23x75mm "zvezda" flashbang round - CoreMod.CreateTraderAssort(HashUtil.generate(), "5e85a9f4add9fe03027d9bf1", "54cb50c76803fa8b248b4571", 2618, "RUB", 3, false, 15000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5e85a9f4add9fe03027d9bf1", "54cb50c76803fa8b248b4571", 2618, "RUB", 3, false, 15000, 2); //23x75mm Shrapnel-25 buckshot - CoreMod.CreateTraderAssort(HashUtil.generate(), "5f647f31b6238e5dd066e196", "54cb50c76803fa8b248b4571", 105, "RUB", 3, false, 300000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5f647f31b6238e5dd066e196", "54cb50c76803fa8b248b4571", 105, "RUB", 3, false, 300000, 80); //rgd-5 hand grenade - CoreMod.CreateTraderAssort(HashUtil.generate(), "5448be9a4bdc2dfd2f8b456a", "54cb50c76803fa8b248b4571", 9851, "RUB", 3, false, 520000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5448be9a4bdc2dfd2f8b456a", "54cb50c76803fa8b248b4571", 9851, "RUB", 3, false, 520000, 4); //f-1 hand grenade CoreMod.CreateTraderAssort(HashUtil.generate(), "5710c24ad2720bc3458b45a3", "54cb50c76803fa8b248b4571", 7630, "RUB", 3, true, 999999); @@ -872,25 +873,25 @@ class PraporAssort { CoreMod.CreateTraderAssort(HashUtil.generate(), "5a0d716f1526d8000d26b1e2", "54cb50c76803fa8b248b4571", 661, "RUB", 3, false, 2000); //svds gas tube - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c471c842e221615214259b5", "54cb50c76803fa8b248b4571", 2747, "RUB", 3, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c471c842e221615214259b5", "54cb50c76803fa8b248b4571", 2747, "RUB", 3, false, 2000, 4); //sv-98 sound suppressor heat shield CoreMod.CreateTraderAssort(HashUtil.generate(), "5c4eecde2e221602b3140418", "54cb50c76803fa8b248b4571", 436, "RUB", 3, false, 2000); //svds 7.62x54r muzzle brake & compensator - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c471bfc2e221602b21d4e17", "54cb50c76803fa8b248b4571", 657, "RUB", 3, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c471bfc2e221602b21d4e17", "54cb50c76803fa8b248b4571", 657, "RUB", 3, false, 2000, 4); //sv-98 7.62x54r thread adapter - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c4eec9b2e2216398b5aaba2", "54cb50c76803fa8b248b4571", 5251, "RUB", 3, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c4eec9b2e2216398b5aaba2", "54cb50c76803fa8b248b4571", 5251, "RUB", 3, false, 2000, 4); //ak 7.62x39 molot 75-round drum magazine - CoreMod.CreateTraderAssort(HashUtil.generate(), "5cbdc23eae9215001136a407", "54cb50c76803fa8b248b4571", 31610, "RUB", 3, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5cbdc23eae9215001136a407", "54cb50c76803fa8b248b4571", 31610, "RUB", 3, false, 2000, 2); //ppsh-41 7.62x25 71-round drum magazine - CoreMod.CreateTraderAssort(HashUtil.generate(), "5ea034f65aad6446a939737e", "54cb50c76803fa8b248b4571", 17440, "RUB", 3, false, 5000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5ea034f65aad6446a939737e", "54cb50c76803fa8b248b4571", 17440, "RUB", 3, false, 5000, 4); //ak 5.45x39 tgp-a muzzle device/suppressor - CoreMod.CreateTraderAssort(HashUtil.generate(), "564caa3d4bdc2d17108b458e", "54cb50c76803fa8b248b4571", 45660, "RUB", 3, false, 12000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "564caa3d4bdc2d17108b458e", "54cb50c76803fa8b248b4571", 45660, "RUB", 3, false, 12000, 3); //vss vintorez 9x39 integral barrel-suppressor CoreMod.CreateTraderAssort(HashUtil.generate(), "57838c962459774a1651ec63", "54cb50c76803fa8b248b4571", 24533, "RUB", 3, false, 2000); @@ -900,14 +901,14 @@ class PraporAssort { //pbs-4 5.45x39 sound suppressor id = HashUtil.generate() - CoreMod.CreateTraderAssort(id, "57ffb0e42459777d047111c5", "54cb50c76803fa8b248b4571", 35961, "RUB", 3, false, 10000); + CoreMod.CreateTraderAssort(id, "57ffb0e42459777d047111c5", "54cb50c76803fa8b248b4571", 35961, "RUB", 3, false, 10000, 4); CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "5967725e86f774601a446662"); //Shaking up teller //pbs-1 7.62x39 sound suppressor CoreMod.CreateTraderAssort(HashUtil.generate(), "5a0d63621526d8dba31fe3bf", "54cb50c76803fa8b248b4571", 52512, "RUB", 3, false, 2000); //sr-1mp 9x21 silencer - CoreMod.CreateTraderAssort(HashUtil.generate(), "5a27b6bec4a282000e496f78", "54cb50c76803fa8b248b4571", 38460, "RUB", 3, false, 20000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5a27b6bec4a282000e496f78", "54cb50c76803fa8b248b4571", 38460, "RUB", 3, false, 20000, 3); //apb 9x18pm sound suppressor CoreMod.CreateTraderAssort(HashUtil.generate(), "5abcc328d8ce8700194394f3", "54cb50c76803fa8b248b4571", 7002, "RUB", 3, false, 2000); @@ -916,7 +917,7 @@ class PraporAssort { CoreMod.CreateTraderAssort(HashUtil.generate(), "5c4eecc32e221602b412b440", "54cb50c76803fa8b248b4571", 40049, "RUB", 3, false, 2000); //valday pk-120 (1p87) holographic sight - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0505e00db834001b735073", "54cb50c76803fa8b248b4571", 20956, "RUB", 3, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0505e00db834001b735073", "54cb50c76803fa8b248b4571", 20956, "RUB", 3, false, 2000, 7); //vss vintorez rear sight CoreMod.CreateTraderAssort(HashUtil.generate(), "57838e1b2459774a256959b1", "54cb50c76803fa8b248b4571", 1286, "RUB", 3, false, 2000); @@ -946,43 +947,43 @@ class PraporAssort { CoreMod.CreateTraderAssort(HashUtil.generate(), "5a27b3d0c4a282000d721ec1", "54cb50c76803fa8b248b4571", 3015, "RUB", 3, false, 2000); //sr-1mp quad rail mount - CoreMod.CreateTraderAssort(HashUtil.generate(), "5a27bad7c4a282000b15184b", "54cb50c76803fa8b248b4571", 10469, "RUB", 3, false, 20000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5a27bad7c4a282000b15184b", "54cb50c76803fa8b248b4571", 10469, "RUB", 3, false, 20000, 3); //vss vintorez wooden stock - CoreMod.CreateTraderAssort(HashUtil.generate(), "578395e82459774a0e553c7b", "54cb50c76803fa8b248b4571", 1947, "RUB", 3, false, 50000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "578395e82459774a0e553c7b", "54cb50c76803fa8b248b4571", 1947, "RUB", 3, false, 50000, 4); //as val skeleton stock - CoreMod.CreateTraderAssort(HashUtil.generate(), "57c450252459772d28133253", "54cb50c76803fa8b248b4571", 3391, "RUB", 3, false, 10000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "57c450252459772d28133253", "54cb50c76803fa8b248b4571", 3391, "RUB", 3, false, 10000, 4); //apb detachable wire stock CoreMod.CreateTraderAssort(HashUtil.generate(), "5a17fb9dfcdbcbcae6687291", "54cb50c76803fa8b248b4571", 7406, "RUB", 3, false, 2000); //ak-12 stock - CoreMod.CreateTraderAssort(HashUtil.generate(), "5beec8c20db834001d2c465c", "54cb50c76803fa8b248b4571", 4905, "RUB", 3, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5beec8c20db834001d2c465c", "54cb50c76803fa8b248b4571", 4905, "RUB", 3, false, 2000, 3); //pl-15 9x19 barrel - CoreMod.CreateTraderAssort(HashUtil.generate(), "602a95edda11d6478d5a06da", "54cb50c76803fa8b248b4571", 2794, "RUB", 3, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "602a95edda11d6478d5a06da", "54cb50c76803fa8b248b4571", 2794, "RUB", 3, false, 2000, 4); //pl-15 9x19 threaded barrel - CoreMod.CreateTraderAssort(HashUtil.generate(), "602a95fe4e02ce1eaa358729", "54cb50c76803fa8b248b4571", 5394, "RUB", 3, false, 6000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "602a95fe4e02ce1eaa358729", "54cb50c76803fa8b248b4571", 5394, "RUB", 3, false, 6000, 3); //svd modern handguard - CoreMod.CreateTraderAssort(HashUtil.generate(), "5e56991336989c75ab4f03f6", "54cb50c76803fa8b248b4571", 15587, "RUB", 3, false, 9000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5e56991336989c75ab4f03f6", "54cb50c76803fa8b248b4571", 15587, "RUB", 3, false, 9000, 3); //as val pistol grip - CoreMod.CreateTraderAssort(HashUtil.generate(), "57c44fa82459772d2d75e415", "54cb50c76803fa8b248b4571", 1628, "RUB", 3, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "57c44fa82459772d2d75e415", "54cb50c76803fa8b248b4571", 1628, "RUB", 3, false, 2000, 4); //ak-12 pistol grip - CoreMod.CreateTraderAssort(HashUtil.generate(), "5beec8ea0db834001a6f9dbf", "54cb50c76803fa8b248b4571", 1881, "RUB", 3, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5beec8ea0db834001a6f9dbf", "54cb50c76803fa8b248b4571", 1881, "RUB", 3, false, 2000, 3); //vss vintorez dust cover - CoreMod.CreateTraderAssort(HashUtil.generate(), "578395402459774a256959b5", "54cb50c76803fa8b248b4571", 1766, "RUB", 3, false, 6000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "578395402459774a256959b5", "54cb50c76803fa8b248b4571", 1766, "RUB", 3, false, 6000, 3); //as val dust cover - CoreMod.CreateTraderAssort(HashUtil.generate(), "57c44f4f2459772d2c627113", "54cb50c76803fa8b248b4571", 1743, "RUB", 3, false, 6000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "57c44f4f2459772d2c627113", "54cb50c76803fa8b248b4571", 1743, "RUB", 3, false, 6000, 4); //rpk-16 dust cover - CoreMod.CreateTraderAssort(HashUtil.generate(), "5beec91a0db834001961942d", "54cb50c76803fa8b248b4571", 7848, "RUB", 3, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5beec91a0db834001961942d", "54cb50c76803fa8b248b4571", 7848, "RUB", 3, false, 2000, 3); //aks-74ub 5.45x39 assault rifle CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "584147982459775a6c55e931", "54cb50c76803fa8b248b4571", 75045, "RUB", 3, false, 15000); @@ -1009,10 +1010,10 @@ class PraporAssort { CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5acf7e7986f774401e19c3a0", "54cb50c76803fa8b248b4571", 44093, "RUB", 3, false, 1000000); //serdyukov sr-1mp gyurza 9x21 pistol - CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5a327f6386f77479010da870", "54cb50c76803fa8b248b4571", 22670, "RUB", 3, false, 20000); + CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5a327f6386f77479010da870", "54cb50c76803fa8b248b4571", 22670, "RUB", 3, false, 20000, 3); //pl-15 9x19 pistol - CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "60479fb29c15b12b9a480fb0", "54cb50c76803fa8b248b4571", 18137, "RUB", 3, false, 40000); + CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "60479fb29c15b12b9a480fb0", "54cb50c76803fa8b248b4571", 18137, "RUB", 3, false, 40000, 5); //rpk-16 5.45x39 light machine gun CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "RPK-16_Drum", "hideout", "hideout", [ @@ -1037,10 +1038,10 @@ class PraporAssort { ], "54cb50c76803fa8b248b4571", 3, false, 200, 1); //svds 7.62x54r sniper rifle - CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5c98be1e86f7741cc96ffd79", "54cb50c76803fa8b248b4571", 94772, "RUB", 3, false, 20000); + CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5c98be1e86f7741cc96ffd79", "54cb50c76803fa8b248b4571", 94772, "RUB", 3, false, 20000, 5); //apb 9x18pm silenced machine pistol - CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5ac4ac9486f774181345c3d2", "54cb50c76803fa8b248b4571", 30305, "RUB", 3, true, 999999); + CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5ac4ac9486f774181345c3d2", "54cb50c76803fa8b248b4571", 30305, "RUB", 3, true, 999999, 5); //6kh5 bayonet CoreMod.CreateTraderBarter(HashUtil.generate(), "5bffdc370db834001d23eca8", "hideout", "hideout", [ @@ -1051,14 +1052,14 @@ class PraporAssort { "count": 1, "_tpl": "59e7715586f7742ee5789605" }] - ], "54cb50c76803fa8b248b4571", 3, true, 2000); + ], "54cb50c76803fa8b248b4571", 3, true, 999999); //toz ks-23m 23x75mm pump-action shotgun - CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5f6771214ef1ca4f4e1b8a06", "54cb50c76803fa8b248b4571", 45790, "RUB", 3, false, 20000); + CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5f6771214ef1ca4f4e1b8a06", "54cb50c76803fa8b248b4571", 45790, "RUB", 3, false, 20000, 2); //sv-98 7.62x54r bolt-action sniper rifle id = HashUtil.generate() - CoreMod.CreateTraderAssortWithPreset(id, "58414a16245977599247970a", "54cb50c76803fa8b248b4571", 35204, "RUB", 3, true, 999999); + CoreMod.CreateTraderAssortWithPreset(id, "58414a16245977599247970a", "54cb50c76803fa8b248b4571", 35204, "RUB", 3, true, 999999, 4); CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "59c50a9e86f7745fef66f4ff"); //The punisher p1 //bnti korund-vm armor @@ -1081,12 +1082,12 @@ class PraporAssort { //5,45x39mm BT gs id = HashUtil.generate() - CoreMod.CreateTraderAssort(id, "56dff061d2720bb5668b4567", "54cb50c76803fa8b248b4571", 641, "RUB", 3, true, 99999, 500); + CoreMod.CreateTraderAssort(id, "56dff061d2720bb5668b4567", "54cb50c76803fa8b248b4571", 641, "RUB", 3, true, 999999, 300); CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "59ca264786f77445a80ed044") } static GenerateLL4() { const CoreMod = require("../../CoreMod/src/Core.js"); - let id = null + let id = null; //9x39 BP gs 8 pcs. ammo pack id = HashUtil.generate() @@ -1100,17 +1101,17 @@ class PraporAssort { //7.62x54r BT gzh id = HashUtil.generate() - CoreMod.CreateTraderAssort(id, "5e023d34e8a400319a28ed44", "54cb50c76803fa8b248b4571", 1057, "RUB", 4, true, 99999, 200); + CoreMod.CreateTraderAssort(id, "5e023d34e8a400319a28ed44", "54cb50c76803fa8b248b4571", 1057, "RUB", 4, true, 999999, 120); CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "59c512ad86f7741f0d09de9b") // punisher part 3 //12,7x55 mm PS12B id = HashUtil.generate() - CoreMod.CreateTraderAssort(id, "5cadf6eeae921500134b2799", "54cb50c76803fa8b248b4571", 695, "RUB", 4, true, 99999, 200); + CoreMod.CreateTraderAssort(id, "5cadf6eeae921500134b2799", "54cb50c76803fa8b248b4571", 695, "RUB", 4, true, 999999, 200); CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "5c0d190cd09282029f5390d8")// Grenadier //7.62x54r snb - CoreMod.CreateTraderAssort(HashUtil.generate(), "560d61e84bdc2da74d8b4571", "54cb50c76803fa8b248b4571", 816, "RUB", 4, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "560d61e84bdc2da74d8b4571", "54cb50c76803fa8b248b4571", 816, "RUB", 4, false, 2000, 50); //9x21mm bt gzh CoreMod.CreateTraderAssort(HashUtil.generate(), "5a26ac0ec4a28200741e1e18", "54cb50c76803fa8b248b4571", 381, "RUB", 4, false, 250000, 200); @@ -1119,58 +1120,58 @@ class PraporAssort { CoreMod.CreateTraderAssort(HashUtil.generate(), "5cadf6ddae9215051e1c23b2", "54cb50c76803fa8b248b4571", 371, "RUB", 4, false, 30000, 300); //7.62x54r bt gzh - CoreMod.CreateTraderAssort(HashUtil.generate(), "5e023d34e8a400319a28ed44", "54cb50c76803fa8b248b4571", 1057, "RUB", 4, false, 200000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5e023d34e8a400319a28ed44", "54cb50c76803fa8b248b4571", 1057, "RUB", 4, false, 200000, 120); //23x75mm "barrikada" slug - CoreMod.CreateTraderAssort(HashUtil.generate(), "5e85aa1a988a8701445df1f5", "54cb50c76803fa8b248b4571", 280, "RUB", 4, false, 200000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5e85aa1a988a8701445df1f5", "54cb50c76803fa8b248b4571", 280, "RUB", 4, false, 200000, 20); //ak-74 5.45x39 6l31 60-round magazine - CoreMod.CreateTraderAssort(HashUtil.generate(), "55d482194bdc2d1d4e8b456b", "54cb50c76803fa8b248b4571", 38938, "RUB", 4, false, 6000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "55d482194bdc2d1d4e8b456b", "54cb50c76803fa8b248b4571", 38938, "RUB", 4, false, 6000, 12); //9x39 sr3m.130 30-round magazine - CoreMod.CreateTraderAssort(HashUtil.generate(), "5a9e81fba2750c00164f6b11", "54cb50c76803fa8b248b4571", 39278, "RUB", 4, false, 7000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5a9e81fba2750c00164f6b11", "54cb50c76803fa8b248b4571", 39278, "RUB", 4, false, 10000, 6); //ak-12 5.45x39 30-round magazine - CoreMod.CreateTraderAssort(HashUtil.generate(), "5bed61680db834001d2c45ab", "54cb50c76803fa8b248b4571", 3747, "RUB", 4, false, 10000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5bed61680db834001d2c45ab", "54cb50c76803fa8b248b4571", 3747, "RUB", 4, false, 10000, 10); //svd 7.62x54r 20-round magazine - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c88f24b2e22160bc12c69a6", "54cb50c76803fa8b248b4571", 10770, "RUB", 4, false, 20000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c88f24b2e22160bc12c69a6", "54cb50c76803fa8b248b4571", 10770, "RUB", 4, false, 20000, 5); //ash-12 12.7x55 20-round magazine - CoreMod.CreateTraderAssort(HashUtil.generate(), "5caf1109ae9215753c44119f", "54cb50c76803fa8b248b4571", 22618, "RUB", 4, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5caf1109ae9215753c44119f", "54cb50c76803fa8b248b4571", 22618, "RUB", 4, false, 2000, 5); //ash-12 vertical foregrip - CoreMod.CreateTraderAssort(HashUtil.generate(), "5cda9bcfd7f00c0c0b53e900", "54cb50c76803fa8b248b4571", 2344, "RUB", 4, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5cda9bcfd7f00c0c0b53e900", "54cb50c76803fa8b248b4571", 2344, "RUB", 4, false, 2000, 4); //ash-12 12.7x55 muzzle brake - CoreMod.CreateTraderAssort(HashUtil.generate(), "5caf17c9ae92150b30006be1", "54cb50c76803fa8b248b4571", 6649, "RUB", 4, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5caf17c9ae92150b30006be1", "54cb50c76803fa8b248b4571", 6649, "RUB", 4, false, 2000, 5); //ash-12 12.7x55 tactical sound suppressor - CoreMod.CreateTraderAssort(HashUtil.generate(), "5caf187cae92157c28402e43", "54cb50c76803fa8b248b4571", 39120, "RUB", 4, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5caf187cae92157c28402e43", "54cb50c76803fa8b248b4571", 39120, "RUB", 4, false, 2000, 2); //ash-12 rear sight carry handle - CoreMod.CreateTraderAssort(HashUtil.generate(), "5caf1691ae92152ac412efb9", "54cb50c76803fa8b248b4571", 1962, "RUB", 4, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5caf1691ae92152ac412efb9", "54cb50c76803fa8b248b4571", 1962, "RUB", 4, false, 2000, 7); //PL-15 9x19 sound suppressor - CoreMod.CreateTraderAssort(HashUtil.generate(), "602a97060ddce744014caf6f", "54cb50c76803fa8b248b4571", 33790, "RUB", 4, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "602a97060ddce744014caf6f", "54cb50c76803fa8b248b4571", 33790, "RUB", 4, false, 2000, 3); //valday ps-320 1x/6x scope - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0517910db83400232ffee5", "54cb50c76803fa8b248b4571", 54017, "RUB", 4, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0517910db83400232ffee5", "54cb50c76803fa8b248b4571", 54017, "RUB", 4, false, 2000, 6); //ash-12 folding front sight - CoreMod.CreateTraderAssort(HashUtil.generate(), "5caf16a2ae92152ac412efbc", "54cb50c76803fa8b248b4571", 2434, "RUB", 4, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5caf16a2ae92152ac412efbc", "54cb50c76803fa8b248b4571", 2434, "RUB", 4, false, 2000, 4); //pl-15 extended front sight - CoreMod.CreateTraderAssort(HashUtil.generate(), "60228a850ddce744014caf69", "54cb50c76803fa8b248b4571", 1036, "RUB", 4, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "60228a850ddce744014caf69", "54cb50c76803fa8b248b4571", 1036, "RUB", 4, false, 2000, 4); //pl-15 extended rear sight - CoreMod.CreateTraderAssort(HashUtil.generate(), "602293f023506e50807090cb", "54cb50c76803fa8b248b4571", 1036, "RUB", 4, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "602293f023506e50807090cb", "54cb50c76803fa8b248b4571", 1036, "RUB", 4, false, 2000, 4); //svd modern top rail - CoreMod.CreateTraderAssort(HashUtil.generate(), "5e569a0156edd02abe09f27d", "54cb50c76803fa8b248b4571", 10038, "RUB", 4, false, 8000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5e569a0156edd02abe09f27d", "54cb50c76803fa8b248b4571", 10038, "RUB", 4, false, 8000, 3); //rpk-16 5.45x39 15 inch barrel - CoreMod.CreateTraderAssort(HashUtil.generate(), "5beec1bd0db834001e6006f3", "54cb50c76803fa8b248b4571", 13298, "RUB", 4, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5beec1bd0db834001e6006f3", "54cb50c76803fa8b248b4571", 13298, "RUB", 4, false, 2000, 5); //RPK-16 5.45x39 22 inch barrel CoreMod.CreateTraderAssort(HashUtil.generate(), "5beec2820db834001b095426", "54cb50c76803fa8b248b4571", 18657, "RUB", 4, false, 2000); @@ -1179,7 +1180,7 @@ class PraporAssort { CoreMod.CreateTraderAssort(HashUtil.generate(), "5cdaa99dd7f00c002412d0b2", "54cb50c76803fa8b248b4571", 1114, "RUB", 4, false, 2000); //as val 9x39 suppressed assault rifle - CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5841482e2459775a050cdda9", "54cb50c76803fa8b248b4571", 144499, "RUB", 4, false, 200); + CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5841482e2459775a050cdda9", "54cb50c76803fa8b248b4571", 144499, "RUB", 4, false, 200, 1); //npp klass condor glasses CoreMod.CreateTraderAssort(HashUtil.generate(), "603409c80ca681766b6a0fb2", "54cb50c76803fa8b248b4571", 16744, "RUB", 4, false, 10000, 2); @@ -1204,18 +1205,33 @@ class PraporAssort { }] ], "54cb50c76803fa8b248b4571", 4, false, 2000, 1); CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571","success",id,"5d4bec3486f7743cac246665"); //Regulated materials + + //ash-12 12.7x55 assault rifle + id = HashUtil.generate() + CoreMod.CreateTraderBarterWithPreset(id, "5d23467086f77443f37fc602", "hideout", "hideout", [ + [{ + "count": 1, + "_tpl": "5d0376a486f7747d8050965c" + },{ + "count": 1, + "_tpl": "5c06779c86f77426e00dd782" + }] + ], "54cb50c76803fa8b248b4571", 4, false, 2000, 1); //rpk-16 5.45x39 light machine gun - CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5c0d1ec986f77439512a1a72", "54cb50c76803fa8b248b4571", 68452, "RUB", 4, false, 2000); + CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5c0d1ec986f77439512a1a72", "54cb50c76803fa8b248b4571", 68452, "RUB", 4, false, 2000, 3); //vss vintorez 9x39 special sniper rifle CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "58414a3f2459775a77263531", "hideout", "hideout", [ [{ - "count": 4, - "_tpl": "5d40419286f774318526545f" - }, { - "count": 7, + "count": 1, "_tpl": "5d4042a986f7743185265463" + }, { + "count": 1, + "_tpl": "5c052f6886f7746b1e3db148" + }, { + "count": 1, + "_tpl": "5733279d245977289b77ec24" }] ], "54cb50c76803fa8b248b4571", 4, false, 5000, 1); @@ -1231,7 +1247,7 @@ class PraporAssort { ], "54cb50c76803fa8b248b4571", 4, false, 300, 1); //bnti korund-vm armor - CoreMod.CreateTraderAssort(HashUtil.generate(), "5f5f41476bdad616ad46d631", "54cb50c76803fa8b248b4571", 112619, "RUB", 4, false, 20000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5f5f41476bdad616ad46d631", "54cb50c76803fa8b248b4571", 112619, "RUB", 4, false, 20000, 2); //6sh118 raid backpack CoreMod.CreateTraderBarter(HashUtil.generate(), "5df8a4d786f77412672a1e3b", "hideout", "hideout", [ @@ -1246,8 +1262,8 @@ class PraporAssort { PraporAssort.GenerateLL2(); PraporAssort.GenerateLL3(); PraporAssort.GenerateLL4(); - VFS.writeFile(`./traders/54cb50c76803fa8b248b4571/assort.json`, JsonUtil.serialize(DatabaseServer.tables.traders["54cb50c76803fa8b248b4571"].assort, true)) - VFS.writeFile(`./traders/54cb50c76803fa8b248b4571/questassort.json`, JsonUtil.serialize(DatabaseServer.tables.traders["54cb50c76803fa8b248b4571"].questassort, true)) + VFS.writeFile(`./traders/54cb50c76803fa8b248b4571/assort.json`, JsonUtil.serialize(DatabaseServer.tables.traders["54cb50c76803fa8b248b4571"].assort, true)); + VFS.writeFile(`./traders/54cb50c76803fa8b248b4571/questassort.json`, JsonUtil.serialize(DatabaseServer.tables.traders["54cb50c76803fa8b248b4571"].questassort, true)); } }