From 7f6a1f9831d12d5a92bccdba1dfef631b48262f3 Mon Sep 17 00:00:00 2001 From: Chomp Date: Sat, 21 Aug 2021 13:57:47 +0100 Subject: [PATCH] Add ragman unlock links --- Ereshkigal-BaseAssortGenerator/src/ragman.js | 665 ++++++++++--------- 1 file changed, 346 insertions(+), 319 deletions(-) diff --git a/Ereshkigal-BaseAssortGenerator/src/ragman.js b/Ereshkigal-BaseAssortGenerator/src/ragman.js index 99ed1ad..234e9f3 100644 --- a/Ereshkigal-BaseAssortGenerator/src/ragman.js +++ b/Ereshkigal-BaseAssortGenerator/src/ragman.js @@ -2,9 +2,11 @@ エレシュキガル */ -class RagmanAssort{ +class RagmanAssort +{ - static GenerateLL1() { + static GenerateLL1() + { const CoreMod = require("../../CoreMod/src/Core.js"); DatabaseServer.tables.traders["5ac3b934156ae10c4430e83c"].assort = { "items": [], @@ -34,10 +36,10 @@ class RagmanAssort{ //kolpak-1s visor CoreMod.CreateTraderBarter(HashUtil.generate(), "5ac4c50d5acfc40019262e87", "hideout", "hideout", [[{ - "count": 1, - "_tpl": "573474f924597738002c6174" - } - ]], "5ac3b934156ae10c4430e83c", 1, false, 2000); + "count": 1, + "_tpl": "573474f924597738002c6174" + } + ]], "5ac3b934156ae10c4430e83c", 1, false, 2000); //tactical glasses CoreMod.CreateTraderAssort(HashUtil.generate(), "557ff21e4bdc2d89578b4586", "5ac3b934156ae10c4430e83c", 1853, "RUB", 1, true, 999999, 4); @@ -47,20 +49,20 @@ class RagmanAssort{ //fort kiver-m bulletproof helmet CoreMod.CreateTraderBarter(HashUtil.generate(), "5645bc214bdc2d363b8b4571", "hideout", "hideout", [[{ - "count": 2, - "_tpl": "573474f924597738002c6174" - } - ]], "5ac3b934156ae10c4430e83c", 1, false, 2000, 1); + "count": 2, + "_tpl": "573474f924597738002c6174" + } + ]], "5ac3b934156ae10c4430e83c", 1, false, 2000, 1); //kolpak-1S riot helmet CoreMod.CreateTraderAssort(HashUtil.generate(), "59e7711e86f7746cae05fbe1", "5ac3b934156ae10c4430e83c", 8137, "RUB", 1, true, 999999, 5); //6b47 ratnik-bsh helmet CoreMod.CreateTraderBarter(HashUtil.generate(), "5a7c4850e899ef00150be885", "hideout", "hideout", [[{ - "count": 2, - "_tpl": "59e3556c86f7741776641ac2" - } - ]], "5ac3b934156ae10c4430e83c", 1, false, 6000, 4); + "count": 2, + "_tpl": "59e3556c86f7741776641ac2" + } + ]], "5ac3b934156ae10c4430e83c", 1, false, 6000, 4); //usec baseball cap CoreMod.CreateTraderAssort(HashUtil.generate(), "5aa2a7e8e5b5b00016327c16", "5ac3b934156ae10c4430e83c", 1823, "RUB", 1, false, 20000); @@ -79,10 +81,10 @@ class RagmanAssort{ //gssh-01 active headset CoreMod.CreateTraderBarter(HashUtil.generate(), "5b432b965acfc47a8774094e", "hideout", "hideout", [[{ - "count": 2, - "_tpl": "577e1c9d2459773cd707c525" - } - ]], "5ac3b934156ae10c4430e83c", 1, false, 2000); + "count": 2, + "_tpl": "577e1c9d2459773cd707c525" + } + ]], "5ac3b934156ae10c4430e83c", 1, false, 2000); //6b5-16-zh-86 "uley" armored rig CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0e3eb886f7742015526062", "5ac3b934156ae10c4430e83c", 49751, "RUB", 1, false, 2000); @@ -95,20 +97,20 @@ class RagmanAssort{ //paca soft armor CoreMod.CreateTraderBarter(HashUtil.generate(), "5648a7494bdc2d9d488b4583", "hideout", "hideout", [[{ - "count": 3, - "_tpl": "572b7fa524597762b747ce82" - } - ]], "5ac3b934156ae10c4430e83c", 1, false, 7000, 3); + "count": 3, + "_tpl": "572b7fa524597762b747ce82" + } + ]], "5ac3b934156ae10c4430e83c", 1, false, 7000, 3); //paca soft armor CoreMod.CreateTraderAssort(HashUtil.generate(), "5648a7494bdc2d9d488b4583", "5ac3b934156ae10c4430e83c", 29154, "RUB", 1, true, 999999, 4); //mf-untar body armor CoreMod.CreateTraderBarter(HashUtil.generate(), "5ab8e4ed86f7742d8e50c7fa", "hideout", "hideout", [[{ - "count": 3, - "_tpl": "5751435d24597720a27126d1" - } - ]], "5ac3b934156ae10c4430e83c", 1, false, 2000, 1); + "count": 3, + "_tpl": "5751435d24597720a27126d1" + } + ]], "5ac3b934156ae10c4430e83c", 1, false, 2000, 1); //6b2 armor (flora) CoreMod.CreateTraderAssort(HashUtil.generate(), "5df8a2ca86f7740bfe6df777", "5ac3b934156ae10c4430e83c", 27079, "RUB", 1, false, 20000, 3); @@ -121,18 +123,19 @@ class RagmanAssort{ //wartech berkut bb-102 backpack CoreMod.CreateTraderBarter(HashUtil.generate(), "5ca20d5986f774331e7c9602", "hideout", "hideout", [[{ - "count": 1, - "_tpl": "572b7fa524597762b747ce82" - } - ]], "5ac3b934156ae10c4430e83c", 1, false, 10000, 3); + "count": 1, + "_tpl": "572b7fa524597762b747ce82" + } + ]], "5ac3b934156ae10c4430e83c", 1, false, 10000, 3); //wartech berkut bb-102 backpack CoreMod.CreateTraderAssort(HashUtil.generate(), "5ca20d5986f774331e7c9602", "5ac3b934156ae10c4430e83c", 23444, "RUB", 1, false, 20000, 3); } - static GenerateLL2() { + static GenerateLL2() + { const CoreMod = require("../../CoreMod/src/Core.js"); - + let id = null; //cold fear infrared balaclava CoreMod.CreateTraderAssort(HashUtil.generate(), "5ab8f39486f7745cd93a1cca", "5ac3b934156ae10c4430e83c", 4793, "RUB", 2, false, 5000); @@ -144,10 +147,10 @@ class RagmanAssort{ //zsh-1-2m face shield CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa7e3abe5b5b000171d064d", "hideout", "hideout", [[{ - "count": 2, - "_tpl": "59e366c186f7741778269d85" - } - ]], "5ac3b934156ae10c4430e83c", 2, true, 2000); + "count": 2, + "_tpl": "59e366c186f7741778269d85" + } + ]], "5ac3b934156ae10c4430e83c", 2, true, 2000); //kiver face shield CoreMod.CreateTraderAssort(HashUtil.generate(), "5b46238386f7741a693bcf9c", "5ac3b934156ae10c4430e83c", 27828, "RUB", 2, false, 8000); @@ -166,10 +169,10 @@ class RagmanAssort{ //tactical fleece hat CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa2ba19e5b5b00014028f4e", "hideout", "hideout", [[{ - "count": 1, - "_tpl": "590c2c9c86f774245b1f03f2" - } - ]], "5ac3b934156ae10c4430e83c", 2, true, 20000, 4); + "count": 1, + "_tpl": "590c2c9c86f774245b1f03f2" + } + ]], "5ac3b934156ae10c4430e83c", 2, true, 20000, 4); //ux pro beanie hat CoreMod.CreateTraderAssort(HashUtil.generate(), "5aa2ba46e5b5b000137b758d", "5ac3b934156ae10c4430e83c", 2268, "RUB", 2, false, 20000); @@ -214,23 +217,23 @@ class RagmanAssort{ //Peltor comtac 2 headset CoreMod.CreateTraderBarter(HashUtil.generate(), "5645bcc04bdc2d363b8b4572", "hideout", "hideout", [[{ - "count": 3, - "_tpl": "57347b8b24597737dd42e192" - } - ]], "5ac3b934156ae10c4430e83c", 2, true, 2000, 5); + "count": 3, + "_tpl": "57347b8b24597737dd42e192" + } + ]], "5ac3b934156ae10c4430e83c", 2, true, 2000, 5); //bnti kirasa-n armor CoreMod.CreateTraderBarter(HashUtil.generate(), "5b44d22286f774172b0c9de8", "hideout", "hideout", [[{ - "count": 1, - "_tpl": "5af0484c86f7740f02001f7f" - }, { - "count": 1, - "_tpl": "57514643245977207f2c2d09" - }, { - "count": 1, - "_tpl": "575146b724597720a27126d5" - } - ]], "5ac3b934156ae10c4430e83c", 2, true, 50); + "count": 1, + "_tpl": "5af0484c86f7740f02001f7f" + }, { + "count": 1, + "_tpl": "57514643245977207f2c2d09" + }, { + "count": 1, + "_tpl": "575146b724597720a27126d5" + } + ]], "5ac3b934156ae10c4430e83c", 2, true, 50); //bnti kirasa-n armor CoreMod.CreateTraderAssort(HashUtil.generate(), "5b44d22286f774172b0c9de8", "5ac3b934156ae10c4430e83c", 64553, "RUB", 2, false, 2000); @@ -243,13 +246,13 @@ class RagmanAssort{ //crye precision avs plate carrier CoreMod.CreateTraderBarter(HashUtil.generate(), "544a5caa4bdc2d1a388b4568", "hideout", "hideout", [[{ - "count": 2, - "_tpl": "5734758f24597738025ee253" - }, { - "count": 2, - "_tpl": "5b3b713c5acfc4330140bd8d" - } - ]], "5ac3b934156ae10c4430e83c", 2, true, 2000, 1); + "count": 2, + "_tpl": "5734758f24597738025ee253" + }, { + "count": 2, + "_tpl": "5b3b713c5acfc4330140bd8d" + } + ]], "5ac3b934156ae10c4430e83c", 2, true, 2000, 1); //umtbs 6sh112 scout-sniper CoreMod.CreateTraderAssort(HashUtil.generate(), "5929a2a086f7744f4b234d43", "5ac3b934156ae10c4430e83c", 23780, "RUB", 2, false, 6000, 6); @@ -259,13 +262,13 @@ class RagmanAssort{ //ana tactical alpha chest rig CoreMod.CreateTraderBarter(HashUtil.generate(), "592c2d1a86f7746dbe2af32a", "hideout", "hideout", [[{ - "count": 5, - "_tpl": "57347c1124597737fb1379e3" - }, { - "count": 1, - "_tpl": "59faf98186f774067b6be103" - } - ]], "5ac3b934156ae10c4430e83c", 2, false, 200, 1); + "count": 5, + "_tpl": "57347c1124597737fb1379e3" + }, { + "count": 1, + "_tpl": "59faf98186f774067b6be103" + } + ]], "5ac3b934156ae10c4430e83c", 2, false, 200, 1); //Blackhawk! Commando Chest Harness (Coyote Tan) CoreMod.CreateTraderAssort(HashUtil.generate(), "5b44c8ea86f7742d1627baf1", "5ac3b934156ae10c4430e83c", 37373, "RUB", 2, false, 2000); @@ -275,30 +278,30 @@ class RagmanAssort{ //6B5-15 Zh-86 "Uley" armored rig CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e446786f7742013381639", "hideout", "hideout", [[{ - "count": 3, - "_tpl": "5c13cd2486f774072c757944" - }, { - "count": 4, - "_tpl": "5c13cef886f774072e618e82" - } - ]], "5ac3b934156ae10c4430e83c", 2, false, 15000, 1); + "count": 3, + "_tpl": "5c13cd2486f774072c757944" + }, { + "count": 4, + "_tpl": "5c13cef886f774072e618e82" + } + ]], "5ac3b934156ae10c4430e83c", 2, false, 15000, 1); //6B5-15 Zh-86 "Uley" armored rig CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e446786f7742013381639", "hideout", "hideout", [[{ - "count": 3, - "_tpl": "5c0e446786f7742013381639" - } - ]], "5ac3b934156ae10c4430e83c", 2, false, 15000, 1); + "count": 3, + "_tpl": "5c0e446786f7742013381639" + } + ]], "5ac3b934156ae10c4430e83c", 2, false, 15000, 1); //6B3TM-01M armored rig CoreMod.CreateTraderAssort(HashUtil.generate(), "5d5d646386f7742797261fd9", "5ac3b934156ae10c4430e83c", 50283, "RUB", 2, false, 15000, 2); //6B3TM-01M armored rig CoreMod.CreateTraderBarter(HashUtil.generate(), "5d5d646386f7742797261fd9", "hideout", "hideout", [[{ - "count": 4, - "_tpl": "5d5d646386f7742797261fd9" - } - ]], "5ac3b934156ae10c4430e83c", 2, false, 15000, 2); + "count": 4, + "_tpl": "5d5d646386f7742797261fd9" + } + ]], "5ac3b934156ae10c4430e83c", 2, false, 15000, 2); //Haley Strategic D3CRX Chest Harness CoreMod.CreateTraderAssort(HashUtil.generate(), "5d5d85c586f774279a21cbdb", "5ac3b934156ae10c4430e83c", 35076, "RUB", 2, false, 20000, 4); @@ -312,8 +315,10 @@ class RagmanAssort{ //Stich Profi Chest Rig MK2 (Recon, A-TACS FG) CoreMod.CreateTraderAssort(HashUtil.generate(), "60a6220e953894617404b00a", "5ac3b934156ae10c4430e83c", 39960, "RUB", 2, false, 20000); } - static GenerateLL3() { + static GenerateLL3() + { const CoreMod = require("../../CoreMod/src/Core.js"); + let id = null; //shemagh (green) CoreMod.CreateTraderAssort(HashUtil.generate(), "5ab8f85d86f7745cd93a1cf5", "5ac3b934156ae10c4430e83c", 4727, "RUB", 3, true, 999999); @@ -323,20 +328,20 @@ class RagmanAssort{ //altyn face shield CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa7e373e5b5b000137b76f0", "hideout", "hideout", [[{ - "count": 3, - "_tpl": "5aa7e373e5b5b000137b76f0" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 200); + "count": 3, + "_tpl": "5aa7e373e5b5b000137b76f0" + } + ]], "5ac3b934156ae10c4430e83c", 3, false, 200); //zsh-1-2m face shield CoreMod.CreateTraderAssort(HashUtil.generate(), "5aa7e3abe5b5b000171d064d", "5ac3b934156ae10c4430e83c", 19260, "RUB", 3, false, 2000, 3); //LShZ-2DTM face shield CoreMod.CreateTraderBarter(HashUtil.generate(), "5d6d3829a4b9361bc8618943", "hideout", "hideout", [[{ - "count": 3, - "_tpl": "59e366c186f7741778269d85" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 20000); + "count": 3, + "_tpl": "59e366c186f7741778269d85" + } + ]], "5ac3b934156ae10c4430e83c", 3, false, 20000); //lshz-2dtm cover CoreMod.CreateTraderAssort(HashUtil.generate(), "5d6d3943a4b9360dbc46d0cc", "5ac3b934156ae10c4430e83c", 1665, "RUB", 3, false, 2000); @@ -352,10 +357,10 @@ class RagmanAssort{ //kinda cowboy hat CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa2b9ede5b5b000137b758b", "hideout", "hideout", [[{ - "count": 1, - "_tpl": "5e2af29386f7746d4159f077" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 2000, 3); + "count": 1, + "_tpl": "5e2af29386f7746d4159f077" + } + ]], "5ac3b934156ae10c4430e83c", 3, false, 2000, 3); //ops-core fast mt super high cut helmet (tan) CoreMod.CreateTraderAssort(HashUtil.generate(), "5ac8d6885acfc400180ae7b0", "5ac3b934156ae10c4430e83c", 148092, "RUB", 3, false, 2000); @@ -368,23 +373,23 @@ class RagmanAssort{ //devtac ronin ballistic helmet CoreMod.CreateTraderBarter(HashUtil.generate(), "5b4329f05acfc47a86086aa1", "hideout", "hideout", [[{ - "count": 4, - "_tpl": "590c2d8786f774245b1f03f3" - }, { - "count": 4, - "_tpl": "590c311186f77424d1667482" - }, { - "count": 1, - "_tpl": "5d40419286f774318526545f" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 2000, 1); + "count": 4, + "_tpl": "590c2d8786f774245b1f03f3" + }, { + "count": 4, + "_tpl": "590c311186f77424d1667482" + }, { + "count": 1, + "_tpl": "5d40419286f774318526545f" + } + ]], "5ac3b934156ae10c4430e83c", 3, false, 2000, 1); //maska-1shch bulletproof helmet (olive drab) CoreMod.CreateTraderBarter(HashUtil.generate(), "5c091a4e0db834001d5addc8", "hideout", "hideout", [[{ - "count": 4, - "_tpl": "5d235b4d86f7742e017bc88a" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 2000); + "count": 4, + "_tpl": "5d235b4d86f7742e017bc88a" + } + ]], "5ac3b934156ae10c4430e83c", 3, false, 2000); //BNTI LShZ-2DTM helmet CoreMod.CreateTraderAssort(HashUtil.generate(), "5d6d3716a4b9361bc8618872", "5ac3b934156ae10c4430e83c", 163075, "RUB", 3, false, 20000, 3); @@ -393,21 +398,23 @@ class RagmanAssort{ CoreMod.CreateTraderAssort(HashUtil.generate(), "5aa2ba71e5b5b000137b758f", "5ac3b934156ae10c4430e83c", 28272, "RUB", 3, false, 8000); //BNTI Gzhel-K armor - CoreMod.CreateTraderBarter(HashUtil.generate(), "5ab8e79e86f7742d8b372e78", "hideout", "hideout", [[{ - "count": 2, - "_tpl": "5734758f24597738025ee253" - }, { - "count": 5, - "_tpl": "5af0484c86f7740f02001f7f" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 2000, 4); + id = HashUtil.generate(); + CoreMod.CreateTraderBarter(id, "5ab8e79e86f7742d8b372e78", "hideout", "hideout", [[{ + "count": 2, + "_tpl": "5734758f24597738025ee253" + }, { + "count": 5, + "_tpl": "5af0484c86f7740f02001f7f" + } + ]], "5ac3b934156ae10c4430e83c", 3, false, 2000, 4); + CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5ae449d986f774453a54a7e1"); // supervisor //iotv gen4 body armor (high mobility kit) CoreMod.CreateTraderBarter(HashUtil.generate(), "5b44d0de86f774503d30cba8", "hideout", "hideout", [[{ - "count": 7, - "_tpl": "5d235b4d86f7742e017bc88a" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 1000, 2); + "count": 7, + "_tpl": "5d235b4d86f7742e017bc88a" + } + ]], "5ac3b934156ae10c4430e83c", 3, false, 1000, 2); //6b13 assault armor (digital flora) CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0e53c886f7747fa54205c7", "5ac3b934156ae10c4430e83c", 67821, "RUB", 3, false, 2000); @@ -420,16 +427,16 @@ class RagmanAssort{ //5.11 tactical hexgrid plate carrier CoreMod.CreateTraderBarter(HashUtil.generate(), "5fd4c474dd870108a754b241", "hideout", "hideout", [[{ - "count": 5, - "_tpl": "5ab8f20c86f7745cdb629fb2" - }, { - "count": 5, - "_tpl": "59e7708286f7742cbd762753" - }, { - "count": 5, - "_tpl": "5aa2b923e5b5b000137b7589" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 2000, 1); + "count": 5, + "_tpl": "5ab8f20c86f7745cdb629fb2" + }, { + "count": 5, + "_tpl": "59e7708286f7742cbd762753" + }, { + "count": 5, + "_tpl": "5aa2b923e5b5b000137b7589" + } + ]], "5ac3b934156ae10c4430e83c", 3, false, 2000, 1); //nfm thor concealable vest body armor CoreMod.CreateTraderAssort(HashUtil.generate(), "609e8540d5c319764c2bc2e9", "5ac3b934156ae10c4430e83c", 56610, "RUB", 3, false, 5000); @@ -442,307 +449,327 @@ class RagmanAssort{ //crye precision avs plate carrier CoreMod.CreateTraderBarter(HashUtil.generate(), "544a5caa4bdc2d1a388b4568", "hideout", "hideout", [[{ - "count": 7, - "_tpl": "5d40412b86f7743cb332ac3a" - }, { - "count": 5, - "_tpl": "5d4041f086f7743cac3f22a7" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 5000, 2); + "count": 7, + "_tpl": "5d40412b86f7743cb332ac3a" + }, { + "count": 5, + "_tpl": "5d4041f086f7743cac3f22a7" + } + ]], "5ac3b934156ae10c4430e83c", 3, false, 5000, 2); //ana tactical alpha chest rig CoreMod.CreateTraderAssort(HashUtil.generate(), "592c2d1a86f7746dbe2af32a", "5ac3b934156ae10c4430e83c", 51181, "RUB", 3, false, 2000); //ana tactical m2 armored rig CoreMod.CreateTraderBarter(HashUtil.generate(), "5ab8dced86f774646209ec87", "hideout", "hideout", [[{ - "count": 3, - "_tpl": "5aa2b923e5b5b000137b7589" - }, { - "count": 3, - "_tpl": "5ac4c50d5acfc40019262e87" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 5000, 2); + "count": 3, + "_tpl": "5aa2b923e5b5b000137b7589" + }, { + "count": 3, + "_tpl": "5ac4c50d5acfc40019262e87" + } + ]], "5ac3b934156ae10c4430e83c", 3, false, 5000, 2); //5.11 tactical tactec plate carrier CoreMod.CreateTraderBarter(HashUtil.generate(), "5b44cad286f77402a54ae7e5", "hideout", "hideout", [[{ - "count": 5, - "_tpl": "5b432c305acfc40019478128" - }, { - "count": 6, - "_tpl": "5b4326435acfc433000ed01d" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 100, 1); + "count": 5, + "_tpl": "5b432c305acfc40019478128" + }, { + "count": 6, + "_tpl": "5b4326435acfc433000ed01d" + } + ]], "5ac3b934156ae10c4430e83c", 3, false, 100, 1); //belt-a + belt-b gear rig CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e6a1586f77404597b4965", "hideout", "hideout", [[{ - "count": 1, - "_tpl": "590de71386f774347051a052" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 2000); + "count": 1, + "_tpl": "590de71386f774347051a052" + } + ]], "5ac3b934156ae10c4430e83c", 3, false, 2000); //ana tactical m1 armored rig CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e722886f7740458316a57", "hideout", "hideout", [[{ - "count": 4, - "_tpl": "5c0fa877d174af02a012e1cf" - }, { - "count": 1, - "_tpl": "5e8f3423fd7471236e6e3b64" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 2000); + "count": 4, + "_tpl": "5c0fa877d174af02a012e1cf" + }, { + "count": 1, + "_tpl": "5e8f3423fd7471236e6e3b64" + } + ]], "5ac3b934156ae10c4430e83c", 3, false, 2000); //wartech tv-110 plate carrier rig CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e746986f7741453628fe5", "hideout", "hideout", [[{ - "count": 4, - "_tpl": "59e3556c86f7741776641ac2" - }, { - "count": 2, - "_tpl": "5d40412b86f7743cb332ac3a" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 2000, 1); + "count": 4, + "_tpl": "59e3556c86f7741776641ac2" + }, { + "count": 2, + "_tpl": "5d40412b86f7743cb332ac3a" + } + ]], "5ac3b934156ae10c4430e83c", 3, false, 2000, 1); //ars arma a18 skanda plate carrier CoreMod.CreateTraderBarter(HashUtil.generate(), "5d5d87f786f77427997cfaef", "hideout", "hideout", [[{ - "count": 5, - "_tpl": "5d403f9186f7743cac3f229b" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 2000, 2); + "count": 5, + "_tpl": "5d403f9186f7743cac3f229b" + } + ]], "5ac3b934156ae10c4430e83c", 3, false, 2000, 2); //velocity systems multi-purpose patrol vest CoreMod.CreateTraderBarter(HashUtil.generate(), "5df8a42886f77412640e2e75", "hideout", "hideout", [[{ - "count": 3, - "_tpl": "5734773724597737fd047c14" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 20000, 3); + "count": 3, + "_tpl": "5734773724597737fd047c14" + } + ]], "5ac3b934156ae10c4430e83c", 3, false, 20000, 3); //stich profi chest rig mk2 (assault, a-tacs fg) CoreMod.CreateTraderAssort(HashUtil.generate(), "60a621c49c197e4e8c4455e6", "5ac3b934156ae10c4430e83c", 41625, "RUB", 3, false, 2000); } - static GenerateLL4() { + static GenerateLL4() + { const CoreMod = require("../../CoreMod/src/Core.js"); - + let id = null; //altyn face shield CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa7e373e5b5b000137b76f0", "hideout", "hideout", [[{ - "count": 4, - "_tpl": "59e366c186f7741778269d85" - } - ]], "5ac3b934156ae10c4430e83c", 4, false); + "count": 4, + "_tpl": "59e366c186f7741778269d85" + } + ]], "5ac3b934156ae10c4430e83c", 4, false); //altyn face shield CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa7e373e5b5b000137b76f0", "hideout", "hideout", [[{ - "count": 6, - "side": "any", - "level": 20, - "_tpl": "59f32bb586f774757e1e8442" - } - ]], "5ac3b934156ae10c4430e83c", 4, false, 3); + "count": 6, + "side": "any", + "level": 20, + "_tpl": "59f32bb586f774757e1e8442" + } + ]], "5ac3b934156ae10c4430e83c", 4, false, 3); //maska-1shch face shield (olive drab) CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0919b50db834001b7ce3b9", "hideout", "hideout", [[{ - "count": 2, - "_tpl": "5d235b4d86f7742e017bc88a" - } - ]], "5ac3b934156ae10c4430e83c", 4, false, 1); + "count": 2, + "_tpl": "5d235b4d86f7742e017bc88a" + } + ]], "5ac3b934156ae10c4430e83c", 4, false, 1); //vulkan-5 face shield CoreMod.CreateTraderBarter(HashUtil.generate(), "5ca2113f86f7740b2547e1d2", "hideout", "hideout", [[{ - "count": 7, - "_tpl": "59e366c186f7741778269d85" - } - ]], "5ac3b934156ae10c4430e83c", 4, false, 2); + "count": 7, + "_tpl": "59e366c186f7741778269d85" + } + ]], "5ac3b934156ae10c4430e83c", 4, false, 2); //lshz-2dtm face shield - CoreMod.CreateTraderAssort(HashUtil.generate(), "5d6d3829a4b9361bc8618943", "5ac3b934156ae10c4430e83c", 37019, "RUB", 4, false, 2000, 2); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5d6d3829a4b9361bc8618943", "5ac3b934156ae10c4430e83c", 37019, "RUB", 4, false, 2000, 2); //lshz-2dtm aventail - CoreMod.CreateTraderAssort(HashUtil.generate(), "5d6d3be5a4b9361bc73bc763", "5ac3b934156ae10c4430e83c", 36852, "RUB", 4, false, 20000, 4); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5d6d3be5a4b9361bc73bc763", "5ac3b934156ae10c4430e83c", 36852, "RUB", 4, false, 20000, 4); //rys-t face shield CoreMod.CreateTraderBarter(HashUtil.generate(), "5f60c85b58eff926626a60f7", "hideout", "hideout", [[{ - "count": 4, - "_tpl": "59e366c186f7741778269d85" - }, { - "count": 1, - "_tpl": "57347c5b245977448d35f6e1" - } - ]], "5ac3b934156ae10c4430e83c", 4, false, 1); + "count": 4, + "_tpl": "59e366c186f7741778269d85" + }, { + "count": 1, + "_tpl": "57347c5b245977448d35f6e1" + } + ]], "5ac3b934156ae10c4430e83c", 4, false, 1); //oakley si m frame saftey glasses - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c1a1cc52e221602b3136e3d", "5ac3b934156ae10c4430e83c", 5217, "RUB", 4, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c1a1cc52e221602b3136e3d", "5ac3b934156ae10c4430e83c", 5217, "RUB", 4, false, 2000); //raybench aviator glasses - CoreMod.CreateTraderAssort(HashUtil.generate(), "5d6d2ef3a4b93618084f58bd", "5ac3b934156ae10c4430e83c", 7437, "RUB", 4, true, 999999, 10); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5d6d2ef3a4b93618084f58bd", "5ac3b934156ae10c4430e83c", 7437, "RUB", 4, true, 999999, 10); //ghost balaclava - CoreMod.CreateTraderAssort(HashUtil.generate(), "5ab8f4ff86f77431c60d91ba", "5ac3b934156ae10c4430e83c", 7535, "RUB", 4, false, 10000, 5); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5ab8f4ff86f77431c60d91ba", "5ac3b934156ae10c4430e83c", 7535, "RUB", 4, false, 10000, 5); //crash axe - CoreMod.CreateTraderBarter(HashUtil.generate(), "5bffe7930db834001b734a39", "hideout", "hideout", [[{ - "count": 1, - "_tpl": "5780cf7f2459777de4559322" - }, { - "count": 1, - "_tpl": "5a0dc95c86f77452440fc675" - }, { - "count": 5, - "_tpl": "5c12688486f77426843c7d32" - } - ]], "5ac3b934156ae10c4430e83c", 4, false, 1); + id = HashUtil.generate(); + CoreMod.CreateTraderBarter(id, "5bffe7930db834001b734a39", "hideout", "hideout", [[{ + "count": 1, + "_tpl": "5780cf7f2459777de4559322" + }, { + "count": 1, + "_tpl": "5a0dc95c86f77452440fc675" + }, { + "count": 5, + "_tpl": "5c12688486f77426843c7d32" + } + ]], "5ac3b934156ae10c4430e83c", 4, false, 1); + CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5c112d7e86f7740d6f647486"); // scavenger //shattered light armored mask - CoreMod.CreateTraderAssort(HashUtil.generate(), "5b432b2f5acfc4771e1c6622", "5ac3b934156ae10c4430e83c", 26575, "RUB", 4, true, 2000, 7); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5b432b2f5acfc4771e1c6622", "5ac3b934156ae10c4430e83c", 26575, "RUB", 4, true, 2000, 7); //deadly skull mask - CoreMod.CreateTraderAssort(HashUtil.generate(), "5b432b6c5acfc4001a599bf0", "5ac3b934156ae10c4430e83c", 7584, "RUB", 4, false, 2000, 10); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5b432b6c5acfc4001a599bf0", "5ac3b934156ae10c4430e83c", 7584, "RUB", 4, false, 2000, 10); //altyn assault helmet CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa7e276e5b5b000171d0647", "hideout", "hideout", [[{ - "count": 6, - "_tpl": "5d1b31ce86f7742523398394" - }, { - "count": 5, - "_tpl": "590c2c9c86f774245b1f03f2" - }, { - "count": 5, - "_tpl": "590c2b4386f77425357b6123" - } - ]], "5ac3b934156ae10c4430e83c", 4, false, 1); + "count": 6, + "_tpl": "5d1b31ce86f7742523398394" + }, { + "count": 5, + "_tpl": "590c2c9c86f774245b1f03f2" + }, { + "count": 5, + "_tpl": "590c2b4386f77425357b6123" + } + ]], "5ac3b934156ae10c4430e83c", 4, false, 1); //highcom striker ulach IIIA helmet (black) - CoreMod.CreateTraderAssort(HashUtil.generate(), "5b40e1525acfc4771e1c6611", "5ac3b934156ae10c4430e83c", 86563, "RUB", 4, false, 2000); + id = HashUtil.generate(); + CoreMod.CreateTraderAssort(id, "5b40e1525acfc4771e1c6611", "5ac3b934156ae10c4430e83c", 86563, "RUB", 4, false, 2000); + CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5ae449a586f7744bde357696"); // no fuss needed //beret (blue) - CoreMod.CreateTraderAssort(HashUtil.generate(), "5f60e7788adaa7100c3adb49", "5ac3b934156ae10c4430e83c", 33966, "RUB", 4, false, 20000, 3); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5f60e7788adaa7100c3adb49", "5ac3b934156ae10c4430e83c", 33966, "RUB", 4, false, 20000, 3); //highcom striker ulach IIIA helmet (coyote tan) - CoreMod.CreateTraderAssort(HashUtil.generate(), "5b40e2bc5acfc40016388216", "5ac3b934156ae10c4430e83c", 68448, "RUB", 4, false, 2000, 4); + id = HashUtil.generate(); + CoreMod.CreateTraderAssort(id, "5b40e2bc5acfc40016388216", "5ac3b934156ae10c4430e83c", 68448, "RUB", 4, false, 2000, 4); + CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5ae449c386f7744bde357697"); // sales night //devtac ronin ballistic helmet - CoreMod.CreateTraderAssort(HashUtil.generate(), "5b4329f05acfc47a86086aa1", "5ac3b934156ae10c4430e83c", 146442, "RUB", 4, false, 50, 1); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5b4329f05acfc47a86086aa1", "5ac3b934156ae10c4430e83c", 146442, "RUB", 4, false, 50, 1); //rys-T bulletproof helmet CoreMod.CreateTraderBarter(HashUtil.generate(), "5f60c74e3b85f6263c145586", "hideout", "hideout", [[{ - "count": 5, - "_tpl": "5e2af4d286f7746d4159f07a" - }, { - "count": 6, - "_tpl": "59e366c186f7741778269d85" - }, { - "count": 1, - "_tpl": "5e2af41e86f774755a234b67" - } - ]], "5ac3b934156ae10c4430e83c", 4, false, 1); + "count": 5, + "_tpl": "5e2af4d286f7746d4159f07a" + }, { + "count": 6, + "_tpl": "59e366c186f7741778269d85" + }, { + "count": 1, + "_tpl": "5e2af41e86f774755a234b67" + } + ]], "5ac3b934156ae10c4430e83c", 4, false, 1); //peltor tactical sport headset - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c165d832e2216398b5a7e36", "5ac3b934156ae10c4430e83c", 38295, "RUB", 4, false, 2000); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c165d832e2216398b5a7e36", "5ac3b934156ae10c4430e83c", 38295, "RUB", 4, false, 2000); //ana tactical m2 armored rig CoreMod.CreateTraderBarter(HashUtil.generate(), "5ab8dced86f774646209ec87", "hideout", "hideout", [[{ - "count": 10, - "side": "any", - "level": 20, - "_tpl": "59f32bb586f774757e1e8442" - } - ]], "5ac3b934156ae10c4430e83c", 4, false); + "count": 10, + "side": "any", + "level": 20, + "_tpl": "59f32bb586f774757e1e8442" + } + ]], "5ac3b934156ae10c4430e83c", 4, false); //wartech tv-110 plate carrier rig - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0e746986f7741453628fe5", "5ac3b934156ae10c4430e83c", 101232, "RUB", 4, false, 2000, 1); + CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0e746986f7741453628fe5", "5ac3b934156ae10c4430e83c", 101232, "RUB", 4, false, 2000, 1); //ars arma cpc mod2 plate carrier CoreMod.CreateTraderBarter(HashUtil.generate(), "5e4ac41886f77406a511c9a8", "hideout", "hideout", [[{ - "count": 3, - "_tpl": "5e2af41e86f774755a234b67" - }, { - "count": 1, - "_tpl": "5d403f9186f7743cac3f229b" - }, { - "count": 3, - "_tpl": "5e2af4a786f7746d3f3c3400" - } - ]], "5ac3b934156ae10c4430e83c", 4, false, 1); + "count": 3, + "_tpl": "5e2af41e86f774755a234b67" + }, { + "count": 1, + "_tpl": "5d403f9186f7743cac3f229b" + }, { + "count": 3, + "_tpl": "5e2af4a786f7746d3f3c3400" + } + ]], "5ac3b934156ae10c4430e83c", 4, false, 1); //ars arma a18 skanda plate carrier - CoreMod.CreateTraderBarter(HashUtil.generate(), "5d5d87f786f77427997cfaef", "hideout", "hideout", [[{ - "count": 1, - "_tpl": "5d235a5986f77443f6329bc6" - }, { - "count": 1, - "_tpl": "5734758f24597738025ee253" - } - ]], "5ac3b934156ae10c4430e83c", 4, false, 1); + id = HashUtil.generate(); + CoreMod.CreateTraderBarter(id, "5d5d87f786f77427997cfaef", "hideout", "hideout", [[{ + "count": 1, + "_tpl": "5d235a5986f77443f6329bc6" + }, { + "count": 1, + "_tpl": "5734758f24597738025ee253" + } + ]], "5ac3b934156ae10c4430e83c", 4, false, 1); + CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5c1141f386f77430ff393792"); // living high is not a crime part 2 //iotv gen4 body armor (full protection) - CoreMod.CreateTraderBarter(HashUtil.generate(), "5b44cd8b86f774503d30cba2", "hideout", "hideout", [[{ - "count": 3, - "_tpl": "59e3639286f7741777737013" - } - ]], "5ac3b934156ae10c4430e83c", 4, false, 2); + id = HashUtil.generate(); + CoreMod.CreateTraderBarter(id, "5b44cd8b86f774503d30cba2", "hideout", "hideout", [[{ + "count": 3, + "_tpl": "59e3639286f7741777737013" + } + ]], "5ac3b934156ae10c4430e83c", 4, false, 2); + CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5b478b1886f7744d1b23c57d"); // hot delivery //6B43 Zabralo-Sh 6A Armor CoreMod.CreateTraderBarter(HashUtil.generate(), "545cdb794bdc2d3a198b456a", "hideout", "hideout", [[{ - "count": 4, - "_tpl": "545cdb794bdc2d3a198b456a" - } - ]], "5ac3b934156ae10c4430e83c", 4, false); + "count": 4, + "_tpl": "545cdb794bdc2d3a198b456a" + } + ]], "5ac3b934156ae10c4430e83c", 4, false); //lbt 6094a slick plate carrier CoreMod.CreateTraderBarter(HashUtil.generate(), "5e4abb5086f77406975c9342", "hideout", "hideout", [[{ - "count": 2, - "_tpl": "5c0e655586f774045612eeb2" - }, { - "count": 2, - "_tpl": "5e2af41e86f774755a234b67" - }, { - "count": 4, - "_tpl": "5e2af4d286f7746d4159f07a" - } - ]], "5ac3b934156ae10c4430e83c", 4, false, 1); + "count": 2, + "_tpl": "5c0e655586f774045612eeb2" + }, { + "count": 2, + "_tpl": "5e2af41e86f774755a234b67" + }, { + "count": 4, + "_tpl": "5e2af4d286f7746d4159f07a" + } + ]], "5ac3b934156ae10c4430e83c", 4, false, 1); //fort redut-t5 body armor - CoreMod.CreateTraderBarter(HashUtil.generate(), "5ca21c6986f77479963115a7", "hideout", "hideout", [[{ - "count": 6, - "_tpl": "590c595c86f7747884343ad7" - }, { - "count": 2, - "_tpl": "5c12688486f77426843c7d32" - } - ]], "5ac3b934156ae10c4430e83c", 4, false, 1); + id = HashUtil.generate(); + CoreMod.CreateTraderBarter(id, "5ca21c6986f77479963115a7", "hideout", "hideout", [[{ + "count": 6, + "_tpl": "590c595c86f7747884343ad7" + }, { + "count": 2, + "_tpl": "5c12688486f77426843c7d32" + } + ]], "5ac3b934156ae10c4430e83c", 4, false, 1); + CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5ae449d986f774453a54a7e1"); // supervisor //nfm thor integrated carrier body armor - CoreMod.CreateTraderAssort(HashUtil.generate(), "60a283193cb70855c43a381d", "5ac3b934156ae10c4430e83c", 420635, "RUB", 4, false, 2000, 1); + id = HashUtil.generate(); + CoreMod.CreateTraderAssort(id, "60a283193cb70855c43a381d", "5ac3b934156ae10c4430e83c", 420635, "RUB", 4, false, 2000, 1); + CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5c10f94386f774227172c572"); // blood of war part 3 //sso "attack 2" raid backpack CoreMod.CreateTraderBarter(HashUtil.generate(), "5ab8ebf186f7742d8b372e80", "hideout", "hideout", [[{ - "count": 1, - "_tpl": "5c1267ee86f77416ec610f72" - } - ]], "5ac3b934156ae10c4430e83c", 4, false, 3); + "count": 1, + "_tpl": "5c1267ee86f77416ec610f72" + } + ]], "5ac3b934156ae10c4430e83c", 4, false, 3); //ana tactical beta 2 battle backpack CoreMod.CreateTraderBarter(HashUtil.generate(), "5b44c6ae86f7742d1627baea", "hideout", "hideout", [[{ - "count": 6, - "_tpl": "5d1b392c86f77425243e98fe" - } - ]], "5ac3b934156ae10c4430e83c", 4, false, 3); + "count": 6, + "_tpl": "5d1b392c86f77425243e98fe" + } + ]], "5ac3b934156ae10c4430e83c", 4, false, 3); //mystery ranch blackjack 50 backpack (multicam) CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e774286f77468413cc5b2", "hideout", "hideout", [[{ - "count": 8, - "_tpl": "59e3556c86f7741776641ac2" - }, { - "count": 2, - "_tpl": "5e2af41e86f774755a234b67" - } - ]], "5ac3b934156ae10c4430e83c", 4, false, 1); + "count": 8, + "_tpl": "59e3556c86f7741776641ac2" + }, { + "count": 2, + "_tpl": "5e2af41e86f774755a234b67" + } + ]], "5ac3b934156ae10c4430e83c", 4, false, 1); //eberlestock g2 gunslinger II backpack (dry earth) - CoreMod.CreateTraderAssort(HashUtil.generate(), "6034d2d697633951dc245ea6", "5ac3b934156ae10c4430e83c", 65601, "RUB", 4, false, 4000, 3); + id = HashUtil.generate(); + CoreMod.CreateTraderAssort(id, "6034d2d697633951dc245ea6", "5ac3b934156ae10c4430e83c", 65601, "RUB", 4, false, 4000, 3); + CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5ae4498786f7744bde357695"); // key to success } - static generateRagmanAssort() { + static generateRagmanAssort() + { RagmanAssort.GenerateLL1(); RagmanAssort.GenerateLL2(); RagmanAssort.GenerateLL3(); RagmanAssort.GenerateLL4(); + VFS.writeFile("./traders/5ac3b934156ae10c4430e83c/assort.json", JsonUtil.serialize(DatabaseServer.tables.traders["5ac3b934156ae10c4430e83c"].assort, true)); + VFS.writeFile("./traders/5ac3b934156ae10c4430e83c/questassort.json", JsonUtil.serialize(DatabaseServer.tables.traders["5ac3b934156ae10c4430e83c"].questassort, true)); } }