From 3aac0a6795ca6937a7bbe0a772105555b5ab645f Mon Sep 17 00:00:00 2001 From: Chomp Date: Thu, 5 Aug 2021 16:46:12 +0100 Subject: [PATCH 1/2] Add skier L4 items --- Ereshkigal-BaseAssortGenerator/src/skier.js | 421 ++++++++++++++------ 1 file changed, 289 insertions(+), 132 deletions(-) diff --git a/Ereshkigal-BaseAssortGenerator/src/skier.js b/Ereshkigal-BaseAssortGenerator/src/skier.js index ae3b11a..cbbda0d 100644 --- a/Ereshkigal-BaseAssortGenerator/src/skier.js +++ b/Ereshkigal-BaseAssortGenerator/src/skier.js @@ -2,123 +2,125 @@ エレシュキガル */ -class SkierAssort { +class SkierAssort +{ - static GenerateLL1() { - const CoreMod = require("../../CoreMod/src/Core.js") + static GenerateLL1() + { + const CoreMod = require("../../CoreMod/src/Core.js"); DatabaseServer.tables.traders["58330581ace78e27b8b10cee"].assort = { "items": [], "barter_scheme": {}, "loyal_level_items": {} - } - let id = null + }; + let id = null; // ASSORT ID ITEM TEMPLATE TRADER ID PRICE CURRENCY LOYALTY UNLIMITED STOCK MAXIMUM BUY //7mm buckshot - CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "58330581ace78e27b8b10cee", 35, "RUB", 1, true, 999999) + CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "58330581ace78e27b8b10cee", 35, "RUB", 1, true, 999999); //7mm Slug - CoreMod.CreateTraderAssort(HashUtil.generate(), "58820d1224597753c90aeb13", "58330581ace78e27b8b10cee", 65, "RUB", 1, true, 999999) + CoreMod.CreateTraderAssort(HashUtil.generate(), "58820d1224597753c90aeb13", "58330581ace78e27b8b10cee", 65, "RUB", 1, true, 999999); //366 TKM FMJ - CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6542b86f77411dc52a77a", "58330581ace78e27b8b10cee", 51, "RUB", 1, true, 999999) + CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6542b86f77411dc52a77a", "58330581ace78e27b8b10cee", 51, "RUB", 1, true, 999999); //5.56x45m mFMJ - CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6920f86f77411d82aa167", "58330581ace78e27b8b10cee", 98, "RUB", 1, true, 999999) + CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6920f86f77411d82aa167", "58330581ace78e27b8b10cee", 98, "RUB", 1, true, 999999); //7,5mm buckshot - CoreMod.CreateTraderAssort(HashUtil.generate(), "5a38ebd9c4a282000d722a5b", "58330581ace78e27b8b10cee", 28, "RUB", 1, true, 999999) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5a38ebd9c4a282000d722a5b", "58330581ace78e27b8b10cee", 28, "RUB", 1, true, 999999); //SB.5 SOK 12 - CoreMod.CreateTraderAssort(HashUtil.generate(), "57616a9e2459773c7a400234", "58330581ace78e27b8b10cee", 1949, "RUB", 1, false, 200000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "57616a9e2459773c7a400234", "58330581ace78e27b8b10cee", 1949, "RUB", 1, false, 200000); //Saiga-9 10 rounds - CoreMod.CreateTraderAssort(HashUtil.generate(), "5998529a86f774647f44f421", "58330581ace78e27b8b10cee", 1724, "RUB", 1, false, 15000, 6) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5998529a86f774647f44f421", "58330581ace78e27b8b10cee", 1724, "RUB", 1, false, 15000, 6); //AK ribbed metal - CoreMod.CreateTraderAssort(HashUtil.generate(), "59e5d83b86f7745aed03d262", "58330581ace78e27b8b10cee", 1147, "RUB", 1, true, 999999) + CoreMod.CreateTraderAssort(HashUtil.generate(), "59e5d83b86f7745aed03d262", "58330581ace78e27b8b10cee", 1147, "RUB", 1, true, 999999); //TOZ-106 20ga MC 20-01 Sb.3 2-shot magazine - CoreMod.CreateTraderAssort(HashUtil.generate(), "5a38ee51c4a282000c5a955c", "58330581ace78e27b8b10cee", 33, "RUB", 1, true, 999999) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5a38ee51c4a282000c5a955c", "58330581ace78e27b8b10cee", 33, "RUB", 1, true, 999999); //GEN M3 10 rounds - CoreMod.CreateTraderAssort(HashUtil.generate(), "5aaa5e60e5b5b000140293d6", "58330581ace78e27b8b10cee", 2302, "RUB", 1, false, 3000, 8) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5aaa5e60e5b5b000140293d6", "58330581ace78e27b8b10cee", 2302, "RUB", 1, false, 3000, 8); //AK 7.62x39 aluminium 10-round magazine - CoreMod.CreateTraderAssort(HashUtil.generate(), "5b1fd4e35acfc40018633c39", "58330581ace78e27b8b10cee", 805, "RUB", 1, true, 999999) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5b1fd4e35acfc40018633c39", "58330581ace78e27b8b10cee", 805, "RUB", 1, true, 999999); //PP-19-01 Vityaz-SN 9x19 PUFGUN SG-919 20 20-round magazine - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0673fb0db8340023300271", "58330581ace78e27b8b10cee", 2128, "RUB", 1, false, 5000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0673fb0db8340023300271", "58330581ace78e27b8b10cee", 2128, "RUB", 1, false, 5000); //Ultrafire WF-501B Flashlight - CoreMod.CreateTraderAssort(HashUtil.generate(), "57d17c5e2459775a5c57d17d", "58330581ace78e27b8b10cee", 34, "EUR", 1, false, 15000, 5) + CoreMod.CreateTraderAssort(HashUtil.generate(), "57d17c5e2459775a5c57d17d", "58330581ace78e27b8b10cee", 34, "EUR", 1, false, 15000, 5); - //Zenit RK-6 forgrip - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c1bc7752e221602b1779b34", "58330581ace78e27b8b10cee", 7263, "RUB", 1, false, 20000, 5) + //Zenith RK6 forgrip + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c1bc7752e221602b1779b34", "58330581ace78e27b8b10cee", 7263, "RUB", 1, false, 20000, 5); //AK UltiMAK M1-B gas tube & handguard - CoreMod.CreateTraderAssort(HashUtil.generate(), "59ccfdba86f7747f2109a587", "58330581ace78e27b8b10cee", 2578, "RUB", 1, false, 25000, 5) + CoreMod.CreateTraderAssort(HashUtil.generate(), "59ccfdba86f7747f2109a587", "58330581ace78e27b8b10cee", 2578, "RUB", 1, false, 25000, 6); //AK 7.62x39 Taktika Tula muzzle adapter - CoreMod.CreateTraderAssort(HashUtil.generate(), "5a0abb6e1526d8000a025282", "58330581ace78e27b8b10cee", 708, "RUB", 1, false, 5000, 3) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5a0abb6e1526d8000a025282", "58330581ace78e27b8b10cee", 708, "RUB", 1, false, 5000, 3); //Rotor 43 .366TKM muzzle brake - CoreMod.CreateTraderAssort(HashUtil.generate(), "5a9fbb74a2750c0032157181", "58330581ace78e27b8b10cee", 28784, "RUB", 1, false, 4000, 3) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5a9fbb74a2750c0032157181", "58330581ace78e27b8b10cee", 28784, "RUB", 1, false, 4000, 3); - //Waither MRS Reflex sight - CoreMod.CreateTraderAssort(HashUtil.generate(), "570fd721d2720bc5458b4596", "58330581ace78e27b8b10cee", 13800, "RUB", 1, false, 15000, 3) + //MRS Reflex sight + CoreMod.CreateTraderAssort(HashUtil.generate(), "570fd721d2720bc5458b4596", "58330581ace78e27b8b10cee", 13800, "RUB", 1, false, 15000, 3); //P1x42 - CoreMod.CreateTraderAssort(HashUtil.generate(), "584984812459776a704a82a6", "58330581ace78e27b8b10cee", 13915, "RUB", 1, true, 999999, 5) + CoreMod.CreateTraderAssort(HashUtil.generate(), "584984812459776a704a82a6", "58330581ace78e27b8b10cee", 13915, "RUB", 1, true, 999999, 5); //NcSTAR Tactical blue laser LAM-Module - CoreMod.CreateTraderAssort(HashUtil.generate(), "5cc9c20cd7f00c001336c65d", "58330581ace78e27b8b10cee", 5658, "RUB", 1, false, 20000, 3) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5cc9c20cd7f00c001336c65d", "58330581ace78e27b8b10cee", 5658, "RUB", 1, false, 20000, 3); - //AK Zenit RP-1 Charging handle - CoreMod.CreateTraderAssort(HashUtil.generate(), "5648ac824bdc2ded0b8b457d", "58330581ace78e27b8b10cee", 3063, "RUB", 1, false, 150000, 6) + //RP-1 Charging handle + CoreMod.CreateTraderAssort(HashUtil.generate(), "5648ac824bdc2ded0b8b457d", "58330581ace78e27b8b10cee", 3063, "RUB", 1, false, 150000, 6); //25mm mount ring - CoreMod.CreateTraderAssort(HashUtil.generate(), "57d17e212459775a1179a0f5", "58330581ace78e27b8b10cee", 3219, "RUB", 1, false, 15000, 5) + CoreMod.CreateTraderAssort(HashUtil.generate(), "57d17e212459775a1179a0f5", "58330581ace78e27b8b10cee", 3219, "RUB", 1, false, 15000, 5); //MP-133/153 Taktika Tula 12003 stock adapter - CoreMod.CreateTraderAssort(HashUtil.generate(), "5bfe7fb30db8340018089fed", "58330581ace78e27b8b10cee", 2530, "RUB", 1, false, 3000, 5) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5bfe7fb30db8340018089fed", "58330581ace78e27b8b10cee", 2530, "RUB", 1, false, 3000, 5); - //AKS-74U Zenit B-11 handguard - CoreMod.CreateTraderAssort(HashUtil.generate(), "57ffa9f4245977728561e844", "58330581ace78e27b8b10cee", 5974, "RUB", 1, false, 11000, 5) + //Zenith B-11 handguard + CoreMod.CreateTraderAssort(HashUtil.generate(), "57ffa9f4245977728561e844", "58330581ace78e27b8b10cee", 5974, "RUB", 1, false, 11000, 5); //Armacon Baskak stock - CoreMod.CreateTraderAssort(HashUtil.generate(), "57ade1442459771557167e15", "58330581ace78e27b8b10cee", 6189, "RUB", 1, false, 15000, 5) + CoreMod.CreateTraderAssort(HashUtil.generate(), "57ade1442459771557167e15", "58330581ace78e27b8b10cee", 6189, "RUB", 1, false, 15000, 5); //VPO-136 Vepr KM wooden stock - CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6227d86f77440d64f5dc2", "58330581ace78e27b8b10cee", 2098, "RUB", 1, false, 20000, 10) + CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6227d86f77440d64f5dc2", "58330581ace78e27b8b10cee", 2098, "RUB", 1, false, 20000, 10); //ADAR 2-15 buffer tube - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0faeddd174af02a962601f", "58330581ace78e27b8b10cee", 920, "RUB", 1, false, 2000, 4) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0faeddd174af02a962601f", "58330581ace78e27b8b10cee", 920, "RUB", 1, false, 2000, 4); //VPO-136 Vepr KM wooden handguard - CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6284f86f77440d569536f", "58330581ace78e27b8b10cee", 922, "RUB", 1, false, 20000, 10) + CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6284f86f77440d569536f", "58330581ace78e27b8b10cee", 922, "RUB", 1, false, 20000, 10); //AR-15 Magpul MOE SL Carbine Length M-LOK handguard - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c78f2792e221600106f4683", "58330581ace78e27b8b10cee", 10120, "RUB", 1, false, 5000, 5) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c78f2792e221600106f4683", "58330581ace78e27b8b10cee", 10120, "RUB", 1, false, 5000, 5); //AK bakelite pistol grip - CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6318286f77444dd62c4cc", "58330581ace78e27b8b10cee", 884, "RUB", 1, false, 20000, 10) + CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6318286f77444dd62c4cc", "58330581ace78e27b8b10cee", 884, "RUB", 1, false, 20000, 10); //AR-15 DLG-123 pistol grip - CoreMod.CreateTraderAssort(HashUtil.generate(), "602e71bd53a60014f9705bfa", "58330581ace78e27b8b10cee", 1898, "RUB", 1, false, 20000, 4) + CoreMod.CreateTraderAssort(HashUtil.generate(), "602e71bd53a60014f9705bfa", "58330581ace78e27b8b10cee", 1898, "RUB", 1, false, 20000, 4); //AKM Molot dust cover - CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6449086f7746c9f75e822", "58330581ace78e27b8b10cee", 1148, "RUB", 1, false, 20000, 10) + CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6449086f7746c9f75e822", "58330581ace78e27b8b10cee", 1148, "RUB", 1, false, 20000, 10); //AK AKademia Bastion dust cover - CoreMod.CreateTraderAssort(HashUtil.generate(), "5d2c76ed48f03532f2136169", "58330581ace78e27b8b10cee", 6325, "RUB", 1, false, 20000, 5) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5d2c76ed48f03532f2136169", "58330581ace78e27b8b10cee", 6325, "RUB", 1, false, 20000, 5); //Opsmen Earmor M32 headset - CoreMod.CreateTraderAssort(HashUtil.generate(), "6033fa48ffd42c541047f728", "58330581ace78e27b8b10cee", 19550, "RUB", 1, true, 999999) + CoreMod.CreateTraderAssort(HashUtil.generate(), "6033fa48ffd42c541047f728", "58330581ace78e27b8b10cee", 19550, "RUB", 1, true, 999999); //ADAR 2-15 Carbine - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c07c60e0db834002330051f", "58330581ace78e27b8b10cee", 7245, "RUB", 1, false, 2000, 3) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c07c60e0db834002330051f", "58330581ace78e27b8b10cee", 7245, "RUB", 1, false, 2000, 3); - //AK Zenit RP-1 Charging handle + //RP-1 Charging handle CoreMod.CreateTraderBarter(HashUtil.generate(), "5648ac824bdc2ded0b8b457d", "hideout", "hideout", [ [{ "count": 1, @@ -127,9 +129,9 @@ class SkierAssort { "count": 1, "_tpl": "5c06779c86f77426e00dd782" }] - ], "58330581ace78e27b8b10cee", 1, false, 5000, 4) + ], "58330581ace78e27b8b10cee", 1, false, 5000, 4); - //bnti Zhuk-3 Press armor + //Zhuk-3 Press CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e5edb86f77461f55ed1f7", "hideout", "hideout", [ [{ "count": 1, @@ -138,43 +140,43 @@ class SkierAssort { "count": 1, "_tpl": "5b4329075acfc400153b78ff" }] - ], "58330581ace78e27b8b10cee", 1, false, 2000, 1) + ], "58330581ace78e27b8b10cee", 1, false, 2000, 1); - //Molot VPO-136 vepr km 7.62x39 carbine - id = HashUtil.generate() - CoreMod.CreateTraderAssortWithPreset(id, "59ef24b986f77439987b8762", "58330581ace78e27b8b10cee", 32420, "RUB", 1, false, 150000, 5) + //VPO-136 + id = HashUtil.generate(); + CoreMod.CreateTraderAssortWithPreset(id, "59ef24b986f77439987b8762", "58330581ace78e27b8b10cee", 32420, "RUB", 1, false, 150000, 5); //VPO-209 - id = HashUtil.generate() - CoreMod.CreateTraderAssortWithPreset(id, "59ef247086f77439967a900a", "58330581ace78e27b8b10cee", 29392, "RUB", 1, false, 100000) + id = HashUtil.generate(); + CoreMod.CreateTraderAssortWithPreset(id, "59ef247086f77439967a900a", "58330581ace78e27b8b10cee", 29392, "RUB", 1, false, 100000); - //Adar 2-15 5.56x45 carbine - id = HashUtil.generate() - CoreMod.CreateTraderAssortWithPreset(id, "5c10fcb186f774533e5529ab", "58330581ace78e27b8b10cee", 45819, "RUB", 1, false, 20000, 4) + //Adar 2-15 + id = HashUtil.generate(); + CoreMod.CreateTraderAssortWithPreset(id, "5c10fcb186f774533e5529ab", "58330581ace78e27b8b10cee", 45819, "RUB", 1, false, 20000, 4); //TOZ-006 - id = HashUtil.generate() - CoreMod.CreateTraderAssortWithPreset(id, "5a3a859786f7747e2305e8bf", "58330581ace78e27b8b10cee", 8917, "RUB", 1, true, 999999) + id = HashUtil.generate(); + CoreMod.CreateTraderAssortWithPreset(id, "5a3a859786f7747e2305e8bf", "58330581ace78e27b8b10cee", 8917, "RUB", 1, true, 999999); //Saiga-9 - id = HashUtil.generate() - CoreMod.CreateTraderAssortWithPreset(id, "5a13df5286f774032f5454a0", "58330581ace78e27b8b10cee", 16198, "RUB", 1, true, 99999) + id = HashUtil.generate(); + CoreMod.CreateTraderAssortWithPreset(id, "5a13df5286f774032f5454a0", "58330581ace78e27b8b10cee", 16198, "RUB", 1, true, 99999); //VPO-136 - id = HashUtil.generate() + id = HashUtil.generate(); CoreMod.CreateTraderBarterWithPreset(id, "59ef24b986f77439987b8762", "hideout", "hideout", [ [{ "count": 2, "_tpl": "573478bc24597738002c6175" }] - ], "58330581ace78e27b8b10cee", 1, false, 20000) + ], "58330581ace78e27b8b10cee", 1, false, 20000); //MP-153 - id = HashUtil.generate() + id = HashUtil.generate(); CoreMod.CreateTraderBarterWithPreset(id, "58414907245977598f1ad38d", "hideout", "hideout", [ [{ "count": 1, @@ -186,167 +188,168 @@ class SkierAssort { "count": 1, "_tpl": "5a0eb38b86f774153b320eb0" }] - ], "58330581ace78e27b8b10cee", 1, false, 5000, 2) + ], "58330581ace78e27b8b10cee", 1, false, 5000, 2); } - static GenerateLL2() { - const CoreMod = require("../../CoreMod/src/Core.js") - let id = null + static GenerateLL2() + { + const CoreMod = require("../../CoreMod/src/Core.js"); + let id = null; //DVL-10 Mag - CoreMod.CreateTraderAssort(HashUtil.generate(), "5888988e24597752fe43a6fa", "58330581ace78e27b8b10cee", 5167, "RUB", 2, false, 15000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5888988e24597752fe43a6fa", "58330581ace78e27b8b10cee", 5167, "RUB", 2, false, 15000); //Glock 9x19 Big Stick - CoreMod.CreateTraderAssort(HashUtil.generate(), "5a7ad2e851dfba0016153692", "58330581ace78e27b8b10cee", 3400, "RUB", 2, false, 200000, 10) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5a7ad2e851dfba0016153692", "58330581ace78e27b8b10cee", 3400, "RUB", 2, false, 200000, 10); //Remington M700 .308 Magpul PMAG AC 5-round magazine - CoreMod.CreateTraderAssort(HashUtil.generate(), "5ce69cbad7f00c00b61c5098", "58330581ace78e27b8b10cee", 3220, "RUB", 2, false, 2000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5ce69cbad7f00c00b61c5098", "58330581ace78e27b8b10cee", 3220, "RUB", 2, false, 2000); //Glock .45 ACP 13-round magazine - CoreMod.CreateTraderAssort(HashUtil.generate(), "5fb651b52b1b027b1f50bcff", "58330581ace78e27b8b10cee", 1783, "RUB", 2, true, 999999) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5fb651b52b1b027b1f50bcff", "58330581ace78e27b8b10cee", 1783, "RUB", 2, true, 999999); //FAB Defense protection cap for AGR-870 - CoreMod.CreateTraderAssort(HashUtil.generate(), "5bfe86bd0db83400232fe959", "58330581ace78e27b8b10cee", 297, "RUB", 2, false, 2000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5bfe86bd0db83400232fe959", "58330581ace78e27b8b10cee", 297, "RUB", 2, false, 2000); //TangoDown Stubby BGV-MK46K tactical grip (Black) - CoreMod.CreateTraderAssort(HashUtil.generate(), "558032614bdc2de7118b4585", "58330581ace78e27b8b10cee", 4802, "RUB", 2, false, 15000, 5) + CoreMod.CreateTraderAssort(HashUtil.generate(), "558032614bdc2de7118b4585", "58330581ace78e27b8b10cee", 4802, "RUB", 2, false, 15000, 5); //Zenit RK-4 Foregrip - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c1bc5fb2e221602b1779b32", "58330581ace78e27b8b10cee", 9145, "RUB", 2, false, 5500, 4) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c1bc5fb2e221602b1779b32", "58330581ace78e27b8b10cee", 9145, "RUB", 2, false, 5500, 4); //RTM Pillau tactical foregrip - CoreMod.CreateTraderAssort(HashUtil.generate(), "5cf4fb76d7f00c065703d3ac", "58330581ace78e27b8b10cee", 4025, "RUB", 2, false, 20000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5cf4fb76d7f00c065703d3ac", "58330581ace78e27b8b10cee", 4025, "RUB", 2, false, 20000); //AK Zenit DTK-1 7.62x39 & 5.45x39 muzzle brake & compensator - CoreMod.CreateTraderAssort(HashUtil.generate(), "5649ab884bdc2ded0b8b457f", "58330581ace78e27b8b10cee", 4865, "RUB", 2, false, 15000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5649ab884bdc2ded0b8b457f", "58330581ace78e27b8b10cee", 4865, "RUB", 2, false, 15000); //AR-15 Surefire WarComp 5.56x45 Flash hider - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c6d710d2e22165df16b81e7", "58330581ace78e27b8b10cee", 5520, "RUB", 2, false, 2000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c6d710d2e22165df16b81e7", "58330581ace78e27b8b10cee", 5520, "RUB", 2, false, 2000); //KRISS Vector 9x19 flash hider - CoreMod.CreateTraderAssort(HashUtil.generate(), "5fbbc3324e8a554c40648348", "58330581ace78e27b8b10cee", 1541, "RUB", 2, false, 20000, 5) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5fbbc3324e8a554c40648348", "58330581ace78e27b8b10cee", 1541, "RUB", 2, false, 20000, 5); //Remington Tactical Choke 12ga - CoreMod.CreateTraderAssort(HashUtil.generate(), "560838c94bdc2d77798b4569", "58330581ace78e27b8b10cee", 3201, "RUB", 2, false, 15000, 5) + CoreMod.CreateTraderAssort(HashUtil.generate(), "560838c94bdc2d77798b4569", "58330581ace78e27b8b10cee", 3201, "RUB", 2, false, 15000, 5); //TT 7.62x25 makeshift sound suppressor - CoreMod.CreateTraderAssort(HashUtil.generate(), "571a28e524597720b4066567", "58330581ace78e27b8b10cee", 17140, "RUB", 2, false, 2000, 3) + CoreMod.CreateTraderAssort(HashUtil.generate(), "571a28e524597720b4066567", "58330581ace78e27b8b10cee", 17140, "RUB", 2, false, 2000, 3); //OKP-7 Reflex sight - CoreMod.CreateTraderAssort(HashUtil.generate(), "570fd79bd2720bc7458b4583", "58330581ace78e27b8b10cee", 16885, "RUB", 2, false, 5000, 4) + CoreMod.CreateTraderAssort(HashUtil.generate(), "570fd79bd2720bc7458b4583", "58330581ace78e27b8b10cee", 16885, "RUB", 2, false, 5000, 4); //Primary Arms Compact prism scope 2.5x - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c1cdd512e22161b267d91ae", "58330581ace78e27b8b10cee", 20125, "RUB", 2, false, 20000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c1cdd512e22161b267d91ae", "58330581ace78e27b8b10cee", 20125, "RUB", 2, false, 20000); //Holosun HS401G5 reflex sight - CoreMod.CreateTraderAssort(HashUtil.generate(), "5b30b0dc5acfc400153b7124", "58330581ace78e27b8b10cee", 17131, "RUB", 2, false, 2000, 4) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5b30b0dc5acfc400153b7124", "58330581ace78e27b8b10cee", 17131, "RUB", 2, false, 2000, 4); //Burris FastFire 3 reflex sight - CoreMod.CreateTraderAssort(HashUtil.generate(), "577d141e24597739c5255e01", "58330581ace78e27b8b10cee", 18986, "RUB", 2, false, 15000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "577d141e24597739c5255e01", "58330581ace78e27b8b10cee", 18986, "RUB", 2, false, 15000); //SOK-12 CSS rear sight rail mount - CoreMod.CreateTraderAssort(HashUtil.generate(), "58272b842459774abc128d50", "58330581ace78e27b8b10cee", 2760, "RUB", 2, false, 15000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "58272b842459774abc128d50", "58330581ace78e27b8b10cee", 2760, "RUB", 2, false, 15000); //KRISS Defiance low profile flip up rearsight - CoreMod.CreateTraderAssort(HashUtil.generate(), "5fb6564947ce63734e3fa1da", "58330581ace78e27b8b10cee", 3680, "RUB", 2, false, 20000, 5) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5fb6564947ce63734e3fa1da", "58330581ace78e27b8b10cee", 3680, "RUB", 2, false, 20000, 5); //KRISS Defiance low profile flip up front sight - CoreMod.CreateTraderAssort(HashUtil.generate(), "5fb6567747ce63734e3fa1dc", "58330581ace78e27b8b10cee", 2530, "RUB", 2, false, 20000, 5) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5fb6567747ce63734e3fa1dc", "58330581ace78e27b8b10cee", 2530, "RUB", 2, false, 20000, 5); //Zenit 2P Klesch flashlight + laser designator - CoreMod.CreateTraderAssort(HashUtil.generate(), "560d657b4bdc2da74d8b4572", "58330581ace78e27b8b10cee", 18028, "RUB", 2, false, 15000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "560d657b4bdc2da74d8b4572", "58330581ace78e27b8b10cee", 18028, "RUB", 2, false, 15000); //PNV-10T NV Goggles - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0696830db834001d23f5da", "58330581ace78e27b8b10cee", 32200, "RUB", 2, false, 2000, 3) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0696830db834001d23f5da", "58330581ace78e27b8b10cee", 32200, "RUB", 2, false, 2000, 3); //MP-443 B-8 mount - CoreMod.CreateTraderAssort(HashUtil.generate(), "576a7c512459771e796e0e17", "58330581ace78e27b8b10cee", 3156, "RUB", 2, false, 15000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "576a7c512459771e796e0e17", "58330581ace78e27b8b10cee", 3156, "RUB", 2, false, 15000); //Burris FastFire Weaver Base - CoreMod.CreateTraderAssort(HashUtil.generate(), "577d128124597739d65d0e56", "58330581ace78e27b8b10cee", 1820, "RUB", 2, false, 15000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "577d128124597739d65d0e56", "58330581ace78e27b8b10cee", 1820, "RUB", 2, false, 15000); //PP-91 Kedr Rotor 43 RIS mount - CoreMod.CreateTraderAssort(HashUtil.generate(), "57ee59b42459771c7b045da5", "58330581ace78e27b8b10cee", 4397, "RUB", 2, false, 15000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "57ee59b42459771c7b045da5", "58330581ace78e27b8b10cee", 4397, "RUB", 2, false, 15000); //AK Zenit B-12 Mount - CoreMod.CreateTraderAssort(HashUtil.generate(), "57ffaea724597779f52b3a4d", "58330581ace78e27b8b10cee", 3971, "RUB", 2, false, 15000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "57ffaea724597779f52b3a4d", "58330581ace78e27b8b10cee", 3971, "RUB", 2, false, 15000); //PNV-10T dovetail adapter - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0695860db834001b735461", "58330581ace78e27b8b10cee", 2657, "RUB", 2, false, 6000, 3) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0695860db834001b735461", "58330581ace78e27b8b10cee", 2657, "RUB", 2, false, 6000, 3); //Compact Mount adapter for sights - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c1cdd302e221602b3137250", "58330581ace78e27b8b10cee", 1150, "RUB", 2, false, 20000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c1cdd302e221602b3137250", "58330581ace78e27b8b10cee", 1150, "RUB", 2, false, 20000); //Zenit B-13 "Klassika" dovetail rail platform - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c61a40d2e2216001403158d", "58330581ace78e27b8b10cee", 8970, "RUB", 2, false, 2000, 4) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c61a40d2e2216001403158d", "58330581ace78e27b8b10cee", 8970, "RUB", 2, false, 2000, 4); //Zenit B-13V "Klassika" dovetail rail platform - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c90c3622e221601da359851", "58330581ace78e27b8b10cee", 8740, "RUB", 2, false, 2000, 4) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c90c3622e221601da359851", "58330581ace78e27b8b10cee", 8740, "RUB", 2, false, 2000, 4); //FAB Defense buffer tube for AGR-870 - CoreMod.CreateTraderAssort(HashUtil.generate(), "5bfe89510db834001808a127", "58330581ace78e27b8b10cee", 1231, "RUB", 2, false, 2000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5bfe89510db834001808a127", "58330581ace78e27b8b10cee", 1231, "RUB", 2, false, 2000); //KRISS Vector Gen.2 folding stock - CoreMod.CreateTraderAssort(HashUtil.generate(), "5fb6558ad6f0b2136f2d7eb7", "58330581ace78e27b8b10cee", 7038, "RUB", 2, false, 20000, 5) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5fb6558ad6f0b2136f2d7eb7", "58330581ace78e27b8b10cee", 7038, "RUB", 2, false, 20000, 5); //KRISS Vector non-folding stock adapter - CoreMod.CreateTraderAssort(HashUtil.generate(), "5fb655b748c711690e3a8d5a", "58330581ace78e27b8b10cee", 4485, "RUB", 2, false, 20000,7) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5fb655b748c711690e3a8d5a", "58330581ace78e27b8b10cee", 4485, "RUB", 2, false, 20000, 7); //FAB Defense GL-Core buttstock - CoreMod.CreateTraderAssort(HashUtil.generate(), "602e620f9b513876d4338d9a", "58330581ace78e27b8b10cee", 4715, "RUB", 2, false, 10000,4) + CoreMod.CreateTraderAssort(HashUtil.generate(), "602e620f9b513876d4338d9a", "58330581ace78e27b8b10cee", 4715, "RUB", 2, false, 10000, 4); //TT 7.62x25 121mm homespun threaded barrel - CoreMod.CreateTraderAssort(HashUtil.generate(), "571a279b24597720b4066566", "58330581ace78e27b8b10cee", 2472, "RUB", 2, false, 2000,3) + CoreMod.CreateTraderAssort(HashUtil.generate(), "571a279b24597720b4066566", "58330581ace78e27b8b10cee", 2472, "RUB", 2, false, 2000, 3); //KRISS Vector 9x19 5 inch barrel - CoreMod.CreateTraderAssort(HashUtil.generate(), "5fbbc366ca32ed67276c1557", "58330581ace78e27b8b10cee", 9430, "RUB", 2, false, 20000,5) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5fbbc366ca32ed67276c1557", "58330581ace78e27b8b10cee", 9430, "RUB", 2, false, 20000, 5); //AR-15 5.56x45 406mm barrel - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0e2f94d174af029f650d56", "58330581ace78e27b8b10cee", 18630, "RUB", 2, false, 2000,4) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0e2f94d174af029f650d56", "58330581ace78e27b8b10cee", 18630, "RUB", 2, false, 2000, 4); //KRISS Vector 9x19 6 inch barrel - CoreMod.CreateTraderAssort(HashUtil.generate(), "5fbbc383d5cb881a7363194a", "58330581ace78e27b8b10cee", 11155, "RUB", 2, false, 20000,5) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5fbbc383d5cb881a7363194a", "58330581ace78e27b8b10cee", 11155, "RUB", 2, false, 20000, 5); //SOK-12 Leapers UTG PRO MTU002 Short Top aluminum handguard - CoreMod.CreateTraderAssort(HashUtil.generate(), "58272b392459774b4c7b3ccd", "58330581ace78e27b8b10cee", 8670, "RUB", 2, false, 15000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "58272b392459774b4c7b3ccd", "58330581ace78e27b8b10cee", 8670, "RUB", 2, false, 15000); //PR870 forestock - CoreMod.CreateTraderAssort(HashUtil.generate(), "5a788031c585673f2b5c1c79", "58330581ace78e27b8b10cee", 2359, "RUB", 2, false, 2000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5a788031c585673f2b5c1c79", "58330581ace78e27b8b10cee", 2359, "RUB", 2, false, 2000); //Zenit B-10 handguard - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c617a5f2e2216000f1e81b3", "58330581ace78e27b8b10cee", 7049, "RUB", 2, false, 25000,5) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c617a5f2e2216000f1e81b3", "58330581ace78e27b8b10cee", 7049, "RUB", 2, false, 25000, 5); //AR-15 Magpul MOE SL mid length M-LOK handguard - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c78f26f2e221601da3581d1", "58330581ace78e27b8b10cee", 12765, "RUB", 2, false, 2000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c78f26f2e221601da3581d1", "58330581ace78e27b8b10cee", 12765, "RUB", 2, false, 2000); //AK TDI AKM-L handguard - CoreMod.CreateTraderAssort(HashUtil.generate(), "5d1b198cd7ad1a604869ad72", "58330581ace78e27b8b10cee", 4830, "RUB", 2, false, 1870) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5d1b198cd7ad1a604869ad72", "58330581ace78e27b8b10cee", 4830, "RUB", 2, false, 1870); //AR-15 DI ECS pistol grip (Flat Dark Earth) - CoreMod.CreateTraderAssort(HashUtil.generate(), "571659bb2459771fb2755a12", "58330581ace78e27b8b10cee", 1839, "RUB", 2, false, 25000) + CoreMod.CreateTraderAssort(HashUtil.generate(), "571659bb2459771fb2755a12", "58330581ace78e27b8b10cee", 1839, "RUB", 2, false, 25000); //M870 FAB Defense AGR-870 pistol grip - CoreMod.CreateTraderAssort(HashUtil.generate(), "5bfe86a20db834001d23e8f7", "58330581ace78e27b8b10cee", 3300, "RUB", 2, false, 20000, 4) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5bfe86a20db834001d23e8f7", "58330581ace78e27b8b10cee", 3300, "RUB", 2, false, 20000, 4); //Euros - CoreMod.CreateTraderAssort(HashUtil.generate(), "569668774bdc2da2298b4568", "58330581ace78e27b8b10cee", 147, "RUB", 2, true, 999999) + CoreMod.CreateTraderAssort(HashUtil.generate(), "569668774bdc2da2298b4568", "58330581ace78e27b8b10cee", 147, "RUB", 2, true, 999999); //M870 - id = HashUtil.generate() - CoreMod.CreateTraderAssortWithPreset(id, "5ac4ad7586f7747d14551da3", "58330581ace78e27b8b10cee", 33003, "RUB", 2, false, 20000) + id = HashUtil.generate(); + CoreMod.CreateTraderAssortWithPreset(id, "5ac4ad7586f7747d14551da3", "58330581ace78e27b8b10cee", 33003, "RUB", 2, false, 20000); //Vector .45 ACP - id = HashUtil.generate() - CoreMod.CreateTraderAssortWithPreset(id, "5fd251ee16cac650092f5d02", "58330581ace78e27b8b10cee", 86439, "RUB", 2, false, 20000,3) + id = HashUtil.generate(); + CoreMod.CreateTraderAssortWithPreset(id, "5fd251ee16cac650092f5d02", "58330581ace78e27b8b10cee", 86439, "RUB", 2, false, 20000, 3); //STM-9 //Todo: create preset - id = HashUtil.generate() - CoreMod.CreateTraderAssortWithPreset(id, "5c0c1dff86f7744dba7a2892", "58330581ace78e27b8b10cee", 44121, "RUB", 2, false, 50000,4) + id = HashUtil.generate(); + CoreMod.CreateTraderAssortWithPreset(id, "5c0c1dff86f7744dba7a2892", "58330581ace78e27b8b10cee", 44121, "RUB", 2, false, 50000, 4); //SIG MCX .300 - id = HashUtil.generate() + id = HashUtil.generate(); CoreMod.CreateTraderBarterWithPreset(id, "5fd251a31189a17bcc172662", "hideout", "hideout", [ [{ "count": 1, @@ -355,21 +358,175 @@ class SkierAssort { "count": 1, "_tpl": "5bc9b720d4351e450201234b" }] - ], "58330581ace78e27b8b10cee", 1, false, 10000, 2) + ], "58330581ace78e27b8b10cee", 1, false, 10000, 2); } - static GenerateLL3() { - const CoreMod = require("../../CoreMod/src/Core.js") - let id = null + static GenerateLL3() + { + const CoreMod = require("../../CoreMod/src/Core.js"); + let id = null; } - static GenerateLL4() { - const CoreMod = require("../../CoreMod/src/Core.js") - let id = null + static GenerateLL4() + { + const CoreMod = require("../../CoreMod/src/Core.js"); + + //5.56x45mm m855a1 + CoreMod.CreateTraderAssort(HashUtil.generate(), "54527ac44bdc2d36668b4567", "58330581ace78e27b8b10cee", 368, "RUB", 4, false, 300000, 90); + + //9X19MM LUGER CCI + CoreMod.CreateTraderAssort(HashUtil.generate(), "5a3c16fe86f77452b62de32a", "58330581ace78e27b8b10cee", 447, "RUB", 4, true, 999999); + + //zenit rk-2 foregrip + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c1bc5af2e221602b412949b", "58330581ace78e27b8b10cee", 26227, "RUB", 4, false, 200000); + + //zenit rk-1 foregrip on b-25u mount + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c1cd46f2e22164bef5cfedb", "58330581ace78e27b8b10cee", 48444, "RUB", 4, false, 30000); + + //AK Vezhlivyy Strelok VS-24 + VS-33c handguard & gas block combo + CoreMod.CreateTraderAssort(HashUtil.generate(), "5cf656f2d7f00c06585fb6eb", "58330581ace78e27b8b10cee", 20240, "RUB", 4, false, 2000); + + //dvl-10 muzzle device + CoreMod.CreateTraderAssort(HashUtil.generate(), "58889c7324597754281f9439", "58330581ace78e27b8b10cee", 6031, "RUB", 4, false, 2000); + + //ar-15 sai jailbrake 5.56x45 muzzle device + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c78f2882e22165df16b832e", "58330581ace78e27b8b10cee", 23538, "RUB", 4, false, 20000); + + //ak 7.62x39 lantac dragon muzzle brake & compensator + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c878ebb2e2216001219d48a", "58330581ace78e27b8b10cee", 14145, "RUB", 4, false, 2000); + + //vortex razor amg uh-1 holographic sight + CoreMod.CreateTraderAssort(HashUtil.generate(), "59f9d81586f7744c7506ee62", "58330581ace78e27b8b10cee", 29725, "RUB", 4, false, 2000); + + //AK 5.45x39 TGP-A muzzle device/suppressor + CoreMod.CreateTraderBarter(HashUtil.generate(), "564caa3d4bdc2d17108b458e", "hideout", "hideout", [ + [{ + "count": 4, + "side": "BEAR", + "level": 20, + "_tpl": "59f32bb586f774757e1e8442" + }] + ], "58330581ace78e27b8b10cee", 4, false, 15000); + + //AK Hexagon DTKP MK.2 7.62x39 sound suppressor + CoreMod.CreateTraderAssort(HashUtil.generate(), "5e208b9842457a4a7a33d074", "58330581ace78e27b8b10cee", 59472, "RUB", 4, false, 7000); + + //SIG Sauer SRD762-QD 7.62x51 sound suppressor + CoreMod.CreateTraderBarter(HashUtil.generate(), "5fbe760793164a5b6278efc8", "hideout", "hideout", [ + [{ + "count": 1, + "_tpl": "5e54f62086f774219b0f1937" + }] + ], "58330581ace78e27b8b10cee", 4, false, 2000, 1); + + //hensoldt ff 4-16x56 scope + CoreMod.CreateTraderAssort(HashUtil.generate(), "56ea70acd2720b844b8b4594", "58330581ace78e27b8b10cee", 64152, "RUB", 4, false, 2000); + + //Trijicon reap-ir thermal scope + CoreMod.CreateTraderBarter(HashUtil.generate(), "5a1eaa87fcdbcb001865f75e", "hideout", "hideout", [ + [{ + "count": 4, + "_tpl": "59e3647686f774176a362507" + },{ + "count": 4, + "_tpl": "59faf7ca86f7740dbe19f6c2" + },{ + "count": 6, + "_tpl": "5d235a5986f77443f6329bc6" + }] + ], "58330581ace78e27b8b10cee", 4, false, 50, 1); + + //zenit perst-3 tactical device + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c5952732e2216398b5abda2", "58330581ace78e27b8b10cee", 19600, "RUB", 4, false, 6000); + + //FAB Defense GL-SHOCK buttstock + CoreMod.CreateTraderAssort(HashUtil.generate(), "5a9eb32da2750c00171b3f9c", "58330581ace78e27b8b10cee", 11927, "RUB", 4, false, 2000); + + //AKM/AK-74 FAB Defense UAS stock + CoreMod.CreateTraderAssort(HashUtil.generate(), "5b04473a5acfc40018632f70", "58330581ace78e27b8b10cee", 18489, "RUB", 4, false, 2000); + + //dvl-10 .308 500mm barrel + CoreMod.CreateTraderAssort(HashUtil.generate(), "5888945a2459774bf43ba385", "58330581ace78e27b8b10cee", 39873, "RUB", 4, false, 2000); + + //AR-15 SAI 10 inch QD Rail handguard + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c78f2612e221600114c9f0d", "58330581ace78e27b8b10cee", 34362, "RUB", 4, false, 20000); + + //STM-9 9x19 16 inch barrel + CoreMod.CreateTraderAssort(HashUtil.generate(), "603373004e02ce1eaa358814", "58330581ace78e27b8b10cee", 14375, "RUB", 4, false, 6000); + + //AR-15 SAI 14.5 inch QD Rail handguard + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c78f2492e221600114c9f04", "58330581ace78e27b8b10cee", 41832, "RUB", 4, false, 20000); + + //ak magpul zhukov-u handguard (black) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c9a07572e221644f31c4b32", "58330581ace78e27b8b10cee", 22080, "RUB", 4, false, 2000); + + //ak magpul zhukov-u handguard (flat dark earth) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c9a1c3a2e2216000e69fb6a", "58330581ace78e27b8b10cee", 22080, "RUB", 4, false, 2000); + + //ak magpul zhukov-u handguard (plum) + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c9a1c422e221600106f69f0", "58330581ace78e27b8b10cee", 22080, "RUB", 4, false, 2000); + + //B-30 handguard with B-31S upper handguard rail + CoreMod.CreateTraderAssort(HashUtil.generate(), "5efaf417aeb21837e749c7f2", "58330581ace78e27b8b10cee", 21077, "RUB", 4, false, 5000); + + //ar-15 stm 15 inch m-lok handguard + CoreMod.CreateTraderAssort(HashUtil.generate(), "6034e3d953a60014f970617b", "58330581ace78e27b8b10cee", 17250, "RUB", 4, false, 2000); + + //SA-58 FAB Defense AG-FAL pistol grip + CoreMod.CreateTraderAssort(HashUtil.generate(), "5b7d679f5acfc4001a5c4024", "58330581ace78e27b8b10cee", 4845, "RUB", 4, false, 2000); + + //ak custom arms ags-74 pro + sniper kit pistol grip + CoreMod.CreateTraderAssort(HashUtil.generate(), "6087e663132d4d12c81fd96b", "58330581ace78e27b8b10cee", 16445, "RUB", 4, false, 2000); + + //AK-74 FAB Defense PDC dust cover + CoreMod.CreateTraderAssort(HashUtil.generate(), "5d2c770c48f0354b4a07c100", "58330581ace78e27b8b10cee", 18786, "RUB", 4, false, 8000); + + //toi kriss vector gen 2 9x19 submachine gun + CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5fd251c90d9c95034825edb5", "58330581ace78e27b8b10cee", 96715, "RUB", 4, false, 200000); + + //lobaev arms dvl-10 saboteur .308 bolt-action sniper rifle + CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "59e8d2b386f77445830dd299", "hideout", "hideout", [ + [{ + "count": 1, + "_tpl": "5d0378d486f77420421a5ff4" + }] + ], "58330581ace78e27b8b10cee", 4, false, 600, 1); + + //Miller Bros. Blades M-2 Tactical Sword + CoreMod.CreateTraderBarter(HashUtil.generate(), "5bffdd7e0db834001b734a1a", "hideout", "hideout", [ + [{ + "count": 2, + "_tpl": "5c052f6886f7746b1e3db148" + },{ + "count": 1, + "_tpl": "5913915886f774123603c392" + },{ + "count": 2, + "_tpl": "5c1267ee86f77416ec610f72" + },{ + "count": 2, + "_tpl": "5d03775b86f774203e7e0c4b" + }] + ], "58330581ace78e27b8b10cee", 4, false, 100, 1); + + //weapon case + CoreMod.CreateTraderBarter(HashUtil.generate(), "59fb023c86f7746d0d4b423c", "hideout", "hideout", [ + [{ + "count": 10, + "_tpl": "5d1b376e86f774252519444e" + },{ + "count": 10, + "_tpl": "5d40407c86f774318526545a" + },{ + "count": 5, + "_tpl": "544fb6cc4bdc2d34748b456e" + }] + ], "58330581ace78e27b8b10cee", 4, false, 100, 1); } - static generateSkierAssort() { - SkierAssort.GenerateLL1() - SkierAssort.GenerateLL2() - SkierAssort.GenerateLL3() - SkierAssort.GenerateLL4() + static generateSkierAssort() + { + SkierAssort.GenerateLL1(); + SkierAssort.GenerateLL2(); + SkierAssort.GenerateLL3(); + SkierAssort.GenerateLL4(); } } From c80a6bc4ddd44e9d68830a4ba73a20d67abaf5e0 Mon Sep 17 00:00:00 2001 From: Chomp Date: Thu, 5 Aug 2021 16:46:38 +0100 Subject: [PATCH 2/2] Format file --- Ereshkigal-BaseAssortGenerator/src/skier.js | 236 ++++++++++---------- 1 file changed, 118 insertions(+), 118 deletions(-) diff --git a/Ereshkigal-BaseAssortGenerator/src/skier.js b/Ereshkigal-BaseAssortGenerator/src/skier.js index cbbda0d..480b11a 100644 --- a/Ereshkigal-BaseAssortGenerator/src/skier.js +++ b/Ereshkigal-BaseAssortGenerator/src/skier.js @@ -1,12 +1,10 @@ /* エレシュキガル -*/ + */ -class SkierAssort -{ +class SkierAssort{ - static GenerateLL1() - { + static GenerateLL1() { const CoreMod = require("../../CoreMod/src/Core.js"); DatabaseServer.tables.traders["58330581ace78e27b8b10cee"].assort = { "items": [], @@ -122,46 +120,44 @@ class SkierAssort //RP-1 Charging handle CoreMod.CreateTraderBarter(HashUtil.generate(), "5648ac824bdc2ded0b8b457d", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "5734781f24597737e04bf32a" - }, { - "count": 1, - "_tpl": "5c06779c86f77426e00dd782" - }] - ], "58330581ace78e27b8b10cee", 1, false, 5000, 4); + [{ + "count": 1, + "_tpl": "5734781f24597737e04bf32a" + }, { + "count": 1, + "_tpl": "5c06779c86f77426e00dd782" + } + ] + ], "58330581ace78e27b8b10cee", 1, false, 5000, 4); //Zhuk-3 Press CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e5edb86f77461f55ed1f7", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "59e3658a86f7741776641ac4" - }, { - "count": 1, - "_tpl": "5b4329075acfc400153b78ff" - }] - ], "58330581ace78e27b8b10cee", 1, false, 2000, 1); + [{ + "count": 1, + "_tpl": "59e3658a86f7741776641ac4" + }, { + "count": 1, + "_tpl": "5b4329075acfc400153b78ff" + } + ] + ], "58330581ace78e27b8b10cee", 1, false, 2000, 1); //VPO-136 id = HashUtil.generate(); CoreMod.CreateTraderAssortWithPreset(id, "59ef24b986f77439987b8762", "58330581ace78e27b8b10cee", 32420, "RUB", 1, false, 150000, 5); - //VPO-209 id = HashUtil.generate(); CoreMod.CreateTraderAssortWithPreset(id, "59ef247086f77439967a900a", "58330581ace78e27b8b10cee", 29392, "RUB", 1, false, 100000); - //Adar 2-15 id = HashUtil.generate(); CoreMod.CreateTraderAssortWithPreset(id, "5c10fcb186f774533e5529ab", "58330581ace78e27b8b10cee", 45819, "RUB", 1, false, 20000, 4); - //TOZ-006 id = HashUtil.generate(); CoreMod.CreateTraderAssortWithPreset(id, "5a3a859786f7747e2305e8bf", "58330581ace78e27b8b10cee", 8917, "RUB", 1, true, 999999); - //Saiga-9 id = HashUtil.generate(); CoreMod.CreateTraderAssortWithPreset(id, "5a13df5286f774032f5454a0", "58330581ace78e27b8b10cee", 16198, "RUB", 1, true, 99999); @@ -169,31 +165,31 @@ class SkierAssort //VPO-136 id = HashUtil.generate(); CoreMod.CreateTraderBarterWithPreset(id, "59ef24b986f77439987b8762", "hideout", "hideout", [ - [{ - "count": 2, - "_tpl": "573478bc24597738002c6175" - }] - ], "58330581ace78e27b8b10cee", 1, false, 20000); + [{ + "count": 2, + "_tpl": "573478bc24597738002c6175" + } + ] + ], "58330581ace78e27b8b10cee", 1, false, 20000); //MP-153 id = HashUtil.generate(); CoreMod.CreateTraderBarterWithPreset(id, "58414907245977598f1ad38d", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "591ae8f986f77406f854be45" - }, { - "count": 1, - "_tpl": "5913651986f774432f15d132" - }, { - "count": 1, - "_tpl": "5a0eb38b86f774153b320eb0" - }] - ], "58330581ace78e27b8b10cee", 1, false, 5000, 2); - + [{ + "count": 1, + "_tpl": "591ae8f986f77406f854be45" + }, { + "count": 1, + "_tpl": "5913651986f774432f15d132" + }, { + "count": 1, + "_tpl": "5a0eb38b86f774153b320eb0" + } + ] + ], "58330581ace78e27b8b10cee", 1, false, 5000, 2); } - static GenerateLL2() - { + static GenerateLL2() { const CoreMod = require("../../CoreMod/src/Core.js"); let id = null; @@ -351,22 +347,21 @@ class SkierAssort //SIG MCX .300 id = HashUtil.generate(); CoreMod.CreateTraderBarterWithPreset(id, "5fd251a31189a17bcc172662", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "5c1265fc86f7743f896a21c2" - }, { - "count": 1, - "_tpl": "5bc9b720d4351e450201234b" - }] - ], "58330581ace78e27b8b10cee", 1, false, 10000, 2); + [{ + "count": 1, + "_tpl": "5c1265fc86f7743f896a21c2" + }, { + "count": 1, + "_tpl": "5bc9b720d4351e450201234b" + } + ] + ], "58330581ace78e27b8b10cee", 1, false, 10000, 2); } - static GenerateLL3() - { + static GenerateLL3() { const CoreMod = require("../../CoreMod/src/Core.js"); let id = null; } - static GenerateLL4() - { + static GenerateLL4() { const CoreMod = require("../../CoreMod/src/Core.js"); //5.56x45mm m855a1 @@ -397,42 +392,45 @@ class SkierAssort CoreMod.CreateTraderAssort(HashUtil.generate(), "59f9d81586f7744c7506ee62", "58330581ace78e27b8b10cee", 29725, "RUB", 4, false, 2000); //AK 5.45x39 TGP-A muzzle device/suppressor - CoreMod.CreateTraderBarter(HashUtil.generate(), "564caa3d4bdc2d17108b458e", "hideout", "hideout", [ - [{ - "count": 4, - "side": "BEAR", - "level": 20, - "_tpl": "59f32bb586f774757e1e8442" - }] - ], "58330581ace78e27b8b10cee", 4, false, 15000); + CoreMod.CreateTraderBarter(HashUtil.generate(), "564caa3d4bdc2d17108b458e", "hideout", "hideout", [ + [{ + "count": 4, + "side": "BEAR", + "level": 20, + "_tpl": "59f32bb586f774757e1e8442" + } + ] + ], "58330581ace78e27b8b10cee", 4, false, 15000); //AK Hexagon DTKP MK.2 7.62x39 sound suppressor CoreMod.CreateTraderAssort(HashUtil.generate(), "5e208b9842457a4a7a33d074", "58330581ace78e27b8b10cee", 59472, "RUB", 4, false, 7000); //SIG Sauer SRD762-QD 7.62x51 sound suppressor - CoreMod.CreateTraderBarter(HashUtil.generate(), "5fbe760793164a5b6278efc8", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "5e54f62086f774219b0f1937" - }] - ], "58330581ace78e27b8b10cee", 4, false, 2000, 1); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5fbe760793164a5b6278efc8", "hideout", "hideout", [ + [{ + "count": 1, + "_tpl": "5e54f62086f774219b0f1937" + } + ] + ], "58330581ace78e27b8b10cee", 4, false, 2000, 1); //hensoldt ff 4-16x56 scope CoreMod.CreateTraderAssort(HashUtil.generate(), "56ea70acd2720b844b8b4594", "58330581ace78e27b8b10cee", 64152, "RUB", 4, false, 2000); //Trijicon reap-ir thermal scope - CoreMod.CreateTraderBarter(HashUtil.generate(), "5a1eaa87fcdbcb001865f75e", "hideout", "hideout", [ - [{ - "count": 4, - "_tpl": "59e3647686f774176a362507" - },{ - "count": 4, - "_tpl": "59faf7ca86f7740dbe19f6c2" - },{ - "count": 6, - "_tpl": "5d235a5986f77443f6329bc6" - }] - ], "58330581ace78e27b8b10cee", 4, false, 50, 1); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5a1eaa87fcdbcb001865f75e", "hideout", "hideout", [ + [{ + "count": 4, + "_tpl": "59e3647686f774176a362507" + }, { + "count": 4, + "_tpl": "59faf7ca86f7740dbe19f6c2" + }, { + "count": 6, + "_tpl": "5d235a5986f77443f6329bc6" + } + ] + ], "58330581ace78e27b8b10cee", 4, false, 50, 1); //zenit perst-3 tactical device CoreMod.CreateTraderAssort(HashUtil.generate(), "5c5952732e2216398b5abda2", "58330581ace78e27b8b10cee", 19600, "RUB", 4, false, 6000); @@ -483,46 +481,48 @@ class SkierAssort CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5fd251c90d9c95034825edb5", "58330581ace78e27b8b10cee", 96715, "RUB", 4, false, 200000); //lobaev arms dvl-10 saboteur .308 bolt-action sniper rifle - CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "59e8d2b386f77445830dd299", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "5d0378d486f77420421a5ff4" - }] - ], "58330581ace78e27b8b10cee", 4, false, 600, 1); + CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "59e8d2b386f77445830dd299", "hideout", "hideout", [ + [{ + "count": 1, + "_tpl": "5d0378d486f77420421a5ff4" + } + ] + ], "58330581ace78e27b8b10cee", 4, false, 600, 1); //Miller Bros. Blades M-2 Tactical Sword - CoreMod.CreateTraderBarter(HashUtil.generate(), "5bffdd7e0db834001b734a1a", "hideout", "hideout", [ - [{ - "count": 2, - "_tpl": "5c052f6886f7746b1e3db148" - },{ - "count": 1, - "_tpl": "5913915886f774123603c392" - },{ - "count": 2, - "_tpl": "5c1267ee86f77416ec610f72" - },{ - "count": 2, - "_tpl": "5d03775b86f774203e7e0c4b" - }] - ], "58330581ace78e27b8b10cee", 4, false, 100, 1); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5bffdd7e0db834001b734a1a", "hideout", "hideout", [ + [{ + "count": 2, + "_tpl": "5c052f6886f7746b1e3db148" + }, { + "count": 1, + "_tpl": "5913915886f774123603c392" + }, { + "count": 2, + "_tpl": "5c1267ee86f77416ec610f72" + }, { + "count": 2, + "_tpl": "5d03775b86f774203e7e0c4b" + } + ] + ], "58330581ace78e27b8b10cee", 4, false, 100, 1); //weapon case - CoreMod.CreateTraderBarter(HashUtil.generate(), "59fb023c86f7746d0d4b423c", "hideout", "hideout", [ - [{ - "count": 10, - "_tpl": "5d1b376e86f774252519444e" - },{ - "count": 10, - "_tpl": "5d40407c86f774318526545a" - },{ - "count": 5, - "_tpl": "544fb6cc4bdc2d34748b456e" - }] - ], "58330581ace78e27b8b10cee", 4, false, 100, 1); + CoreMod.CreateTraderBarter(HashUtil.generate(), "59fb023c86f7746d0d4b423c", "hideout", "hideout", [ + [{ + "count": 10, + "_tpl": "5d1b376e86f774252519444e" + }, { + "count": 10, + "_tpl": "5d40407c86f774318526545a" + }, { + "count": 5, + "_tpl": "544fb6cc4bdc2d34748b456e" + } + ] + ], "58330581ace78e27b8b10cee", 4, false, 100, 1); } - static generateSkierAssort() - { + static generateSkierAssort() { SkierAssort.GenerateLL1(); SkierAssort.GenerateLL2(); SkierAssort.GenerateLL3(); @@ -530,4 +530,4 @@ class SkierAssort } } -module.exports = SkierAssort; \ No newline at end of file +module.exports = SkierAssort;