From b4a4e7092729e809cfa86e42bc0c6efcb76a7396 Mon Sep 17 00:00:00 2001 From: Ereshkigal Date: Sun, 8 Aug 2021 15:14:24 +0200 Subject: [PATCH] Therapist 100% done + new trades for skier/prapor --- Ereshkigal-BaseAssortGenerator/src/prapor.js | 13 +- Ereshkigal-BaseAssortGenerator/src/ragman.js | 387 ++++++++++-------- Ereshkigal-BaseAssortGenerator/src/skier.js | 3 + .../src/therapist.js | 34 +- 4 files changed, 255 insertions(+), 182 deletions(-) diff --git a/Ereshkigal-BaseAssortGenerator/src/prapor.js b/Ereshkigal-BaseAssortGenerator/src/prapor.js index ba3c26a..c93990d 100644 --- a/Ereshkigal-BaseAssortGenerator/src/prapor.js +++ b/Ereshkigal-BaseAssortGenerator/src/prapor.js @@ -117,6 +117,8 @@ class PraporAssort{ ] ], "54cb50c76803fa8b248b4571", 1, false, 2000, 12); + + //PP-19-01 Vityaz-SN 9x19 30-round magazine CoreMod.CreateTraderAssort(HashUtil.generate(), "599860ac86f77436b225ed1a", "54cb50c76803fa8b248b4571", 2640, "RUB", 1, true, 999999); @@ -516,6 +518,14 @@ class PraporAssort{ //PP-19-01 Vityaz-SN dust cover STD CoreMod.CreateTraderAssort(HashUtil.generate(), "59985a8086f77414ec448d1a", "54cb50c76803fa8b248b4571", 1307, "RUB", 2, false, 15000); + //6L25 + CoreMod.CreateTraderBarter(HashUtil.generate(), "57838f9f2459774a150289a0", "hideout", "hideout", [ + [{ + "count": 1, + "_tpl": "590c639286f774151567fa95" + } + ] + ], "54cb50c76803fa8b248b4571", 2, false, 2000, 5); //5x45 BT x30 GS box CoreMod.CreateTraderBarter(HashUtil.generate(), "57372c89245977685d4159b1", "hideout", "hideout", [ @@ -630,9 +640,8 @@ class PraporAssort{ CoreMod.CreateTraderAssortWithPreset(id, "5b8683a486f77467f2423114", "54cb50c76803fa8b248b4571", 56271, "RUB", 2, false, 20000); //AK-74N Black - //Todo Preset needs to be manually added id = HashUtil.generate(); - CoreMod.CreateTraderBarterWithPreset(id, "5c0c1f2b86f77455912eaefc", "hideout", "hideout", [ + CoreMod.CreateTraderBarterWithPreset(id, "AK-74N_Black", "hideout", "hideout", [ [{ "count": 5, "_tpl": "573475fb24597737fb1379e1" diff --git a/Ereshkigal-BaseAssortGenerator/src/ragman.js b/Ereshkigal-BaseAssortGenerator/src/ragman.js index 5de3ea4..a5dc812 100644 --- a/Ereshkigal-BaseAssortGenerator/src/ragman.js +++ b/Ereshkigal-BaseAssortGenerator/src/ragman.js @@ -2,7 +2,7 @@ エレシュキガル */ -class RagmanAssort{ +class RagmanAssort { static GenerateLL1() { const CoreMod = require("../../CoreMod/src/Core.js"); @@ -133,11 +133,12 @@ class RagmanAssort{ CoreMod.CreateTraderAssort(HashUtil.generate(), "5a16b672fcdbcb001912fa83", "5ac3b934156ae10c4430e83c", 12985, "RUB", 2, false, 2000); //zsh-1-2m face shield - CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa7e3abe5b5b000171d064d", "hideout", "hideout", [[{ - "count": 2, - "_tpl": "59e366c186f7741778269d85" - } - ]], "5ac3b934156ae10c4430e83c", 2, true, 2000); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa7e3abe5b5b000171d064d", "hideout", "hideout", [ + [{ + "count": 2, + "_tpl": "59e366c186f7741778269d85" + }] + ], "5ac3b934156ae10c4430e83c", 2, true, 2000); //kiver face shield CoreMod.CreateTraderAssort(HashUtil.generate(), "5b46238386f7741a693bcf9c", "5ac3b934156ae10c4430e83c", 27828, "RUB", 2, false, 8000); @@ -155,11 +156,12 @@ class RagmanAssort{ CoreMod.CreateTraderAssort(HashUtil.generate(), "5aa2ba19e5b5b00014028f4e", "5ac3b934156ae10c4430e83c", 5007, "RUB", 2, true); //tactical fleece hat - CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa2ba19e5b5b00014028f4e", "hideout", "hideout", [[{ - "count": 1, - "_tpl": "590c2c9c86f774245b1f03f2" - } - ]], "5ac3b934156ae10c4430e83c", 2, true, 20000, 4); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa2ba19e5b5b00014028f4e", "hideout", "hideout", [ + [{ + "count": 1, + "_tpl": "590c2c9c86f774245b1f03f2" + }] + ], "5ac3b934156ae10c4430e83c", 2, true, 20000, 4); //ux pro beanie hat CoreMod.CreateTraderAssort(HashUtil.generate(), "5aa2ba46e5b5b000137b758d", "5ac3b934156ae10c4430e83c", 2268, "RUB", 2, false, 20000); @@ -168,11 +170,19 @@ class RagmanAssort{ CoreMod.CreateTraderAssort(HashUtil.generate(), "5f60e784f2bcbb675b00dac7", "5ac3b934156ae10c4430e83c", 13517, "RUB", 2, false, 20000); //6B47 Ratnik-BSh helmet with cover (Digital Flora) - //CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa7cfc0e5b5b00015693143", "hideout", "hideout", [[{ - // "count": unknown, - // "_tpl": "unknown" - // } - // ]], "5ac3b934156ae10c4430e83c", 2, true, 20000); + + id = HashUtil.generate() + CoreMod.CreateTraderBarter(id, "5aa7cfc0e5b5b00015693143", "hideout", "hideout", [ + [{ + "count": 7, + "level": 10, + "side": "Any", + "_tpl": "59f32c3b86f77472a31742f0" + } + + ] + ], "5ac3b934156ae10c4430e83c", 2, true, 20000); + CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5969f9e986f7741dde183a50") //Pharmacist //Bandana CoreMod.CreateTraderAssort(HashUtil.generate(), "5b43271c5acfc432ff4dce65", "5ac3b934156ae10c4430e83c", 2215, "RUB", 2, false, 2000); @@ -203,24 +213,26 @@ class RagmanAssort{ CoreMod.CreateTraderAssort(HashUtil.generate(), "5645bcc04bdc2d363b8b4572", "5ac3b934156ae10c4430e83c", 28917, "RUB", 2, false, 60000, 5); //Peltor comtac 2 headset - CoreMod.CreateTraderBarter(HashUtil.generate(), "5645bcc04bdc2d363b8b4572", "hideout", "hideout", [[{ - "count": 3, - "_tpl": "57347b8b24597737dd42e192" - } - ]], "5ac3b934156ae10c4430e83c", 2, true, 2000, 5); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5645bcc04bdc2d363b8b4572", "hideout", "hideout", [ + [{ + "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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5b44d22286f774172b0c9de8", "hideout", "hideout", [ + [{ + "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); @@ -232,14 +244,15 @@ class RagmanAssort{ CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0e5bab86f77461f55ed1f3", "5ac3b934156ae10c4430e83c", 49207, "RUB", 2, false, 5000, 3); //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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "544a5caa4bdc2d1a388b4568", "hideout", "hideout", [ + [{ + "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); @@ -248,14 +261,15 @@ class RagmanAssort{ CoreMod.CreateTraderAssort(HashUtil.generate(), "59e7643b86f7742cbf2c109a", "5ac3b934156ae10c4430e83c", 18776, "RUB", 2, false, 15000, 4); //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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "592c2d1a86f7746dbe2af32a", "hideout", "hideout", [ + [{ + "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); @@ -264,31 +278,34 @@ class RagmanAssort{ CoreMod.CreateTraderAssort(HashUtil.generate(), "5ca20abf86f77418567a43f2", "5ac3b934156ae10c4430e83c", 29301, "RUB", 2, false, 20000); //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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e446786f7742013381639", "hideout", "hideout", [ + [{ + "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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e446786f7742013381639", "hideout", "hideout", [ + [{ + "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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5d5d646386f7742797261fd9", "hideout", "hideout", [ + [{ + "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,21 +329,23 @@ class RagmanAssort{ CoreMod.CreateTraderAssort(HashUtil.generate(), "5b432f3d5acfc4704b4a1dfb", "5ac3b934156ae10c4430e83c", 3565, "RUB", 3, true, 999999); //altyn face shield - CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa7e373e5b5b000137b76f0", "hideout", "hideout", [[{ - "count": 3, - "_tpl": "5aa7e373e5b5b000137b76f0" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 200); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa7e373e5b5b000137b76f0", "hideout", "hideout", [ + [{ + "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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5d6d3829a4b9361bc8618943", "hideout", "hideout", [ + [{ + "count": 3, + "_tpl": "59e366c186f7741778269d85" + }] + ], "5ac3b934156ae10c4430e83c", 3, false, 20000); //lshz-2dtm cover CoreMod.CreateTraderAssort(HashUtil.generate(), "5d6d3943a4b9360dbc46d0cc", "5ac3b934156ae10c4430e83c", 1665, "RUB", 3, false, 2000); @@ -341,11 +360,12 @@ class RagmanAssort{ CoreMod.CreateTraderAssort(HashUtil.generate(), "5d6d2e22a4b9361bd5780d05", "5ac3b934156ae10c4430e83c", 6216, "RUB", 3, false, 20000); //kinda cowboy hat - CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa2b9ede5b5b000137b758b", "hideout", "hideout", [[{ - "count": 1, - "_tpl": "5e2af29386f7746d4159f077" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 2000, 3); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa2b9ede5b5b000137b758b", "hideout", "hideout", [ + [{ + "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); @@ -357,24 +377,26 @@ class RagmanAssort{ CoreMod.CreateTraderAssort(HashUtil.generate(), "5b4327aa5acfc400175496e0", "5ac3b934156ae10c4430e83c", 2409, "RUB", 3, false, 2000); //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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5b4329f05acfc47a86086aa1", "hideout", "hideout", [ + [{ + "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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5c091a4e0db834001d5addc8", "hideout", "hideout", [ + [{ + "count": 4, + "_tpl": "5d235b4d86f7742e017bc88a" + }] + ], "5ac3b934156ae10c4430e83c", 3, false, 2000); //BNTI LShZ-2DTM helmet CoreMod.CreateTraderAssort(HashUtil.generate(), "5d6d3716a4b9361bc8618872", "5ac3b934156ae10c4430e83c", 163075, "RUB", 3, false, 20000, 3); @@ -383,21 +405,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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5ab8e79e86f7742d8b372e78", "hideout", "hideout", [ + [{ + "count": 2, + "_tpl": "5734758f24597738025ee253" + }, { + "count": 5, + "_tpl": "5af0484c86f7740f02001f7f" + }] + ], "5ac3b934156ae10c4430e83c", 3, false, 2000, 4); //iotv gen4 body armor (high mobility kit) - CoreMod.CreateTraderBarter(HashUtil.generate(), "5b44d0de86f774503d30cba8", "hideout", "hideout", [[{ - "count": 7, - "_tpl": "5d235b4d86f7742e017bc88a" - } - ]], "5ac3b934156ae10c4430e83c", 3, false, 1000, 2); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5b44d0de86f774503d30cba8", "hideout", "hideout", [ + [{ + "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); @@ -409,17 +433,18 @@ class RagmanAssort{ CoreMod.CreateTraderAssort(HashUtil.generate(), "5ca2151486f774244a3b8d30", "5ac3b934156ae10c4430e83c", 239800, "RUB", 3, false, 2000); //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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5fd4c474dd870108a754b241", "hideout", "hideout", [ + [{ + "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); @@ -431,78 +456,86 @@ class RagmanAssort{ CoreMod.CreateTraderAssort(HashUtil.generate(), "5648a69d4bdc2ded0b8b457b", "5ac3b934156ae10c4430e83c", 45177, "RUB", 3, false, 40000); //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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "544a5caa4bdc2d1a388b4568", "hideout", "hideout", [ + [{ + "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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5ab8dced86f774646209ec87", "hideout", "hideout", [ + [{ + "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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5b44cad286f77402a54ae7e5", "hideout", "hideout", [ + [{ + "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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e6a1586f77404597b4965", "hideout", "hideout", [ + [{ + "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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e722886f7740458316a57", "hideout", "hideout", [ + [{ + "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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e746986f7741453628fe5", "hideout", "hideout", [ + [{ + "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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5d5d87f786f77427997cfaef", "hideout", "hideout", [ + [{ + "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); + CoreMod.CreateTraderBarter(HashUtil.generate(), "5df8a42886f77412640e2e75", "hideout", "hideout", [ + [{ + "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); @@ -520,4 +553,4 @@ class RagmanAssort{ } } -module.exports = RagmanAssort; +module.exports = RagmanAssort; \ No newline at end of file diff --git a/Ereshkigal-BaseAssortGenerator/src/skier.js b/Ereshkigal-BaseAssortGenerator/src/skier.js index 480b11a..d86040f 100644 --- a/Ereshkigal-BaseAssortGenerator/src/skier.js +++ b/Ereshkigal-BaseAssortGenerator/src/skier.js @@ -193,6 +193,9 @@ class SkierAssort{ const CoreMod = require("../../CoreMod/src/Core.js"); let id = null; + //.300 AAC Blackout BCP FMJ + CoreMod.CreateTraderAssort(HashUtil.generate(), "5fbe3ffdf8b6a877a729ea82", "58330581ace78e27b8b10cee", 91, "RUB", 2, false, 700000,500); + //DVL-10 Mag CoreMod.CreateTraderAssort(HashUtil.generate(), "5888988e24597752fe43a6fa", "58330581ace78e27b8b10cee", 5167, "RUB", 2, false, 15000); diff --git a/Ereshkigal-BaseAssortGenerator/src/therapist.js b/Ereshkigal-BaseAssortGenerator/src/therapist.js index ff237d6..844ede8 100644 --- a/Ereshkigal-BaseAssortGenerator/src/therapist.js +++ b/Ereshkigal-BaseAssortGenerator/src/therapist.js @@ -13,6 +13,11 @@ class TherapistAssort { let id = null; // ASSORT ID ITEM TEMPLATE TRADER ID PRICE CURRENCY LOYALTY UNLIMITED STOCK MAXIMUM BUY //Therapist LL1 + //Car first aid kit + id = HashUtil.generate() + CoreMod.CreateTraderAssort(id, "590c661e86f7741e566b646a", "54cb57776803fa99248b456e", 7372, "RUB", 1, true, 999999); + CoreMod.CreateTraderAssortUnlock("54cb57776803fa99248b456e", "success", id, "59689ee586f7740d1570bbd5") //Sanitary Standard p1 + //Analgin Painkillers CoreMod.CreateTraderAssort(HashUtil.generate(), "544fb37f4bdc2dee738b4567", "54cb57776803fa99248b456e", 5695, "RUB", 1, true, 999999); @@ -156,6 +161,17 @@ class TherapistAssort { static GenerateLL2() { const CoreMod = require("../../CoreMod/src/Core.js"); //THERAPIST LL2 + + //Army bandage + id = HashUtil.generate() + CoreMod.CreateTraderAssort(id, "5751a25924597722c463c472", "54cb57776803fa99248b456e", 2032, "RUB", 2, true, 999999); + CoreMod.CreateTraderAssortUnlock("54cb57776803fa99248b456e", "success", id, "5968eb3186f7741dde183a4d") //Operation Aquarius p2 + + //Salewa first aid kit + id = HashUtil.generate() + CoreMod.CreateTraderAssort(id, "544fb45d4bdc2dee738b4568", "54cb57776803fa99248b456e", 23162, "RUB", 2, false, 5000); + CoreMod.CreateTraderAssortUnlock("54cb57776803fa99248b456e", "success", id, "596760e186f7741e11214d58") //Operation Aquarius p + //Emelya rye croutons CoreMod.CreateTraderAssort(HashUtil.generate(), "5751487e245977207e26a315", "54cb57776803fa99248b456e", 13562, "RUB", 2, false, 6500, 4); @@ -305,6 +321,10 @@ class TherapistAssort { } static GenerateLL3() { const CoreMod = require("../../CoreMod/src/Core.js"); + //IFAK + + CoreMod.CreateTraderAssort(id, "5af0454c86f7746bf20992e8", "54cb57776803fa99248b456e", 15873, "RUB", 3, false, 7000); + //Aluminum splint CoreMod.CreateTraderAssort(HashUtil.generate(), "5af0454c86f7746bf20992e8", "54cb57776803fa99248b456e", 15873, "RUB", 3, false, 7000); @@ -313,7 +333,9 @@ class TherapistAssort { CoreMod.CreateTraderAssort(HashUtil.generate(), "5e8488fa988a8701445df1e4", "54cb57776803fa99248b456e", 4756, "RUB", 3, false, 60000, 5); //IFAK individual first aid kit - CoreMod.CreateTraderAssort(HashUtil.generate(), "590c678286f77426c9660122", "54cb57776803fa99248b456e", 27202, "RUB", 3, false, 15000); + id = HashUtil.generate() + CoreMod.CreateTraderAssort(id, "590c678286f77426c9660122", "54cb57776803fa99248b456e", 27202, "RUB", 3, false, 15000); + CoreMod.CreateTraderAssortUnlock("54cb57776803fa99248b456e", "success", id, "59689ee586f7740d1570bbd5") //Health Care Privacy - Part 1 //sj1 tglabs combat stimulant injector CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e531286f7747fa54205c2", "hideout", "hideout", [ @@ -412,7 +434,9 @@ class TherapistAssort { const CoreMod = require("../../CoreMod/src/Core.js"); //morphine injector - CoreMod.CreateTraderAssort(HashUtil.generate(), "544fb3f34bdc2d03748b456a", "54cb57776803fa99248b456e", 28289, "RUB", 4, true); + id = HashUtil.generate() + CoreMod.CreateTraderAssort(id, "544fb3f34bdc2d03748b456a", "54cb57776803fa99248b456e", 28289, "RUB", 4, true); + CoreMod.CreateTraderAssortUnlock("54cb57776803fa99248b456e", "success", id, "5a68665c86f774255929b4c7") //Health Care Privacy - Part 3 //Augmentin antibiotic pills CoreMod.CreateTraderAssort(HashUtil.generate(), "590c695186f7741e566b64a2", "54cb57776803fa99248b456e", 30844, "RUB", 4, false, 4000, 1); @@ -451,7 +475,9 @@ class TherapistAssort { CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0e533786f7747fa23f4d47", "54cb57776803fa99248b456e", 28630, "RUB", 4, false, 2000, 1); //adrenaline injector - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c10c8fd86f7743d7d706df3", "54cb57776803fa99248b456e", 28630, "RUB", 4, false, 20000, 1); + id = HashUtil.generate() + CoreMod.CreateTraderAssort(id, "5c10c8fd86f7743d7d706df3", "54cb57776803fa99248b456e", 28630, "RUB", 4, false, 20000, 1); + CoreMod.CreateTraderAssortUnlock("54cb57776803fa99248b456e", "success", id, "5c0d0d5086f774363760aef2") //Athlete //pack of sugar CoreMod.CreateTraderBarter(HashUtil.generate(), "59e3577886f774176a362503", "hideout", "hideout", [ @@ -530,6 +556,8 @@ class TherapistAssort { TherapistAssort.GenerateLL2(); TherapistAssort.GenerateLL3(); TherapistAssort.GenerateLL4(); + VFS.writeFile(`./traders/54cb57776803fa99248b456e/assort.json`, JsonUtil.serialize(DatabaseServer.tables.traders["54cb57776803fa99248b456e"].assort, true)) + VFS.writeFile(`./traders/54cb57776803fa99248b456e/questassort.json`, JsonUtil.serialize(DatabaseServer.tables.traders["54cb57776803fa99248b456e"].questassort, true)) } }