From 8c3d709682c266a82d1211894af5cf17fc3c535d Mon Sep 17 00:00:00 2001 From: Chomp Date: Sun, 22 Aug 2021 21:13:54 +0100 Subject: [PATCH] Added quest unlocks to peacekeep upto and including quest 'Samples' Lots of todos as we don't have data(price/count/max buy) for these unlocked items --- .../src/peacekeeper.js | 645 ++++++++++-------- 1 file changed, 367 insertions(+), 278 deletions(-) diff --git a/Ereshkigal-BaseAssortGenerator/src/peacekeeper.js b/Ereshkigal-BaseAssortGenerator/src/peacekeeper.js index e2bccf2..bc812ec 100644 --- a/Ereshkigal-BaseAssortGenerator/src/peacekeeper.js +++ b/Ereshkigal-BaseAssortGenerator/src/peacekeeper.js @@ -2,9 +2,11 @@ エレシュキガル */ -class PeacekeeperAssort { +class PeacekeeperAssort +{ - static GenerateLL1() { + static GenerateLL1() + { const CoreMod = require("../../CoreMod/src/Core.js"); DatabaseServer.tables.traders["5935c25fb3acc3127c3d8cd9"].assort = { "items": [], @@ -135,24 +137,24 @@ class PeacekeeperAssort { //MBSS Backpack CoreMod.CreateTraderBarter(HashUtil.generate(), "544a5cde4bdc2d39388b456b", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "590a386e86f77429692b27ab" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 1, false, 150000, 3); + [{ + "count": 1, + "_tpl": "590a386e86f77429692b27ab" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 1, false, 150000, 3); //Day pack CoreMod.CreateTraderBarter(HashUtil.generate(), "5e9dcf5986f7746c417435b3", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "590a386e86f77429692b27ab" - }, { - "count": 1, - "_tpl": "5734781f24597737e04bf32a" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 1, false, 15000, 4); + [{ + "count": 1, + "_tpl": "590a386e86f77429692b27ab" + }, { + "count": 1, + "_tpl": "5734781f24597737e04bf32a" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 1, false, 15000, 4); //M9A3 id = HashUtil.generate(); @@ -165,51 +167,69 @@ class PeacekeeperAssort { //M4A1 id = HashUtil.generate(); CoreMod.CreateTraderBarterWithPreset(id, "5af08cf886f774223c269184", "hideout", "hideout", [ - [{ - "count": 3, - "_tpl": "573477e124597737dd42e191" - }, { - "count": 3, - "_tpl": "5734779624597737e04bf329" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 1, false, 2000, 1); + [{ + "count": 3, + "_tpl": "573477e124597737dd42e191" + }, { + "count": 3, + "_tpl": "5734779624597737e04bf329" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 1, false, 2000, 1); //MPX id = HashUtil.generate(); CoreMod.CreateTraderBarterWithPreset(id, "58dffca786f774083a256ab1", "hideout", "hideout", [ - [{ - "count": 7, - "level": 8, - "side": "Any", - "_tpl": "59f32c3b86f77472a31742f0" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 1, false, 15000, 1); + [{ + "count": 7, + "level": 8, + "side": "Any", + "_tpl": "59f32c3b86f77472a31742f0" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 1, false, 15000, 1); //P226R id = HashUtil.generate(); CoreMod.CreateTraderBarterWithPreset(id, "584149242459775a7726350a", "hideout", "hideout", [ - [{ - "count": 4, - "_tpl": "57e26ea924597715ca604a09" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 1, false, 15000, 32); + [{ + "count": 4, + "_tpl": "57e26ea924597715ca604a09" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 1, false, 15000, 32); //MP5 id = HashUtil.generate(); CoreMod.CreateTraderBarterWithPreset(id, "59411aa786f7747aeb37f9a5", "hideout", "hideout", [ - [{ - "count": 8, - "_tpl": "57e26fc7245977162a14b800" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 1, false, 15000, 1); + [{ + "count": 8, + "_tpl": "57e26fc7245977162a14b800" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 1, false, 15000, 1); } - static GenerateLL2() { + static GenerateLL2() + { const CoreMod = require("../../CoreMod/src/Core.js"); let id = null; + + //TODO + // m856a1 + CoreMod.CreateTraderAssort(id, "59e6906286f7746c9f75e847", "5935c25fb3acc3127c3d8cd9", 5, "USD", 2, false, 2000, 300); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a27b9de86f77464e5044585"); // the cult part 1 + + //TODO + // m67 hand grenade + CoreMod.CreateTraderAssort(id, "58d3db5386f77426186285a0", "5935c25fb3acc3127c3d8cd9", 30, "USD", 2, false, 2000, 300); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a03173786f77451cb427172"); // spa tour part 2 + + //TODO + //AK-101/SLR-106 5.56x45 Circle 10 30-round Magazine + id = HashUtil.generate(); + CoreMod.CreateTraderAssort(id, "5c0548ae0db834001966a3c2", "5935c25fb3acc3127c3d8cd9", 20, "USD", 2, false, 2000, 1); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5c0d4e61d09282029f53920e"); // the guide + //M80 CoreMod.CreateTraderAssort(HashUtil.generate(), "58dd3ad986f77403051cba8f", "5935c25fb3acc3127c3d8cd9", 3, "USD", 2, false, 150000, 200); @@ -251,15 +271,15 @@ class PeacekeeperAssort { //MP9 9x19 20-round magazine CoreMod.CreateTraderAssort(HashUtil.generate(), "5de8ea8ffd6b4e6e2276dc35", "5935c25fb3acc3127c3d8cd9", 19, "USD", 2, false, 10000, 10); - - //MP9 9x19 30-round magazine + + //MP9 9x19 30-round magazine CoreMod.CreateTraderBarter(HashUtil.generate(), "5de8eac42a78646d96665d91", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "590a3efd86f77437d351a25b" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 2, false, 20000, 3); + [{ + "count": 1, + "_tpl": "590a3efd86f77437d351a25b" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 2, false, 20000, 3); //KAC 7.62x51 10-round steel magazine CoreMod.CreateTraderAssort(HashUtil.generate(), "5df8f535bb49d91fb446d6b0", "5935c25fb3acc3127c3d8cd9", 18, "USD", 2, false, 20000, 10); @@ -308,6 +328,12 @@ class PeacekeeperAssort { //Trijicon RMR reflex sight CoreMod.CreateTraderAssort(HashUtil.generate(), "5a32aa8bc4a2826c6e06d737", "5935c25fb3acc3127c3d8cd9", 236, "USD", 2, false, 10000, 3); + + //TODO + // Sig Sauer Romeo 4 reflex sight + id = HashUtil.generate(); + CoreMod.CreateTraderAssort(id, "5b3116595acfc40019476364", "5935c25fb3acc3127c3d8cd9", 20, "USD", 2, false, 2000, 3); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a27b75b86f7742e97191958"); // fishing gear //P226 Sight Mount 220-239 rear sight bearing CoreMod.CreateTraderAssort(HashUtil.generate(), "56ea7293d2720b8d4b8b45ba", "5935c25fb3acc3127c3d8cd9", 37, "USD", 2, false, 30000); @@ -443,80 +469,80 @@ class PeacekeeperAssort { //KAC QDC 5.56x45 flash suppressor kit CoreMod.CreateTraderBarter(HashUtil.generate(), "56ea8180d2720bf2698b456a", "hideout", "hideout", [ - [{ - "count": 2, - "_tpl": "5909e99886f7740c983b9984" - }, { - "count": 1, - "_tpl": "590c2c9c86f774245b1f03f2" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 2, false, 2000, 1); + [{ + "count": 2, + "_tpl": "5909e99886f7740c983b9984" + }, { + "count": 1, + "_tpl": "590c2c9c86f774245b1f03f2" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 2, false, 2000, 1); //SIG Sauer BRAVO4 4X30 Scope CoreMod.CreateTraderBarter(HashUtil.generate(), "57adff4f24597737f373b6e6", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "5d403f9186f7743cac3f229b" - }, { - "count": 1, - "_tpl": "590c37d286f77443be3d7827" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 2, false, 2000, 2); + [{ + "count": 1, + "_tpl": "5d403f9186f7743cac3f229b" + }, { + "count": 1, + "_tpl": "590c37d286f77443be3d7827" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 2, false, 2000, 2); //M14 UTG 4-Point Locking Deluxe mount CoreMod.CreateTraderBarter(HashUtil.generate(), "5addbfef5acfc400185c2857", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "5d1c819a86f774771b0acd6c" - }, { - "count": 1, - "_tpl": "590c5bbd86f774785762df04" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 2, false, 2000, 3); + [{ + "count": 1, + "_tpl": "5d1c819a86f774771b0acd6c" + }, { + "count": 1, + "_tpl": "590c5bbd86f774785762df04" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 2, false, 2000, 3); //Secure container Beta CoreMod.CreateTraderBarter(HashUtil.generate(), "5857a8b324597729ab0a0e7d", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "5d03794386f77420415576f5" - }, { - "count": 3, - "_tpl": "5d0377ce86f774186372f689" - }, { - "count": 2, - "_tpl": "5c05308086f7746b2101e90b" - }, { - "count": 3, - "_tpl": "5d0375ff86f774186372f685" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 2, false, 150, 1); + [{ + "count": 1, + "_tpl": "5d03794386f77420415576f5" + }, { + "count": 3, + "_tpl": "5d0377ce86f774186372f689" + }, { + "count": 2, + "_tpl": "5c05308086f7746b2101e90b" + }, { + "count": 3, + "_tpl": "5d0375ff86f774186372f685" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 2, false, 150, 1); //SA-58 id = HashUtil.generate(); CoreMod.CreateTraderBarterWithPreset(id, "5b83f22086f77464e15a1d5f", "hideout", "hideout", [ - [{ - "count": 3, - "_tpl": "590a386e86f77429692b27ab" - }, { - "count": 2, - "_tpl": "57347baf24597738002c6178" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 2, false, 200, 1); + [{ + "count": 3, + "_tpl": "590a386e86f77429692b27ab" + }, { + "count": 2, + "_tpl": "57347baf24597738002c6178" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 2, false, 200, 1); //Five-Seven FDE id = HashUtil.generate(); CoreMod.CreateTraderBarterWithPreset(id, "5d7b845786f7743c1e531da7", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "5d03784a86f774203e7e0c4d" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 2, false, 2000, 3); + [{ + "count": 1, + "_tpl": "5d03784a86f774203e7e0c4d" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 2, false, 2000, 3); //M4A1 id = HashUtil.generate(); @@ -525,27 +551,27 @@ class PeacekeeperAssort { //RFB id = HashUtil.generate(); CoreMod.CreateTraderAssortWithPreset(id, "5f676b779ab5ec19f028eaf3", "5935c25fb3acc3127c3d8cd9", 481, "USD", 2, false, 20000, 5); - - //ds arms sa-58 7.62x51 assault rifle preset - CoreMod.CreateTraderBarterWithPreset(id, "5b439b5686f77428bd137424", "hideout", "hideout", [ - [{ - "count": 3, - "_tpl": "590a386e86f77429692b27ab" - },{ - "count": 2, - "_tpl": "57347baf24597738002c6178" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 2, false, 2000, 1); - - //fn five-seven mk2 5.7x28 pistol (flat dark earth) preset - CoreMod.CreateTraderBarterWithPreset(id, "5b439b5686f77428bd137424", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "5d03784a86f774203e7e0c4d" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 2, false, 2000, 3); + + //ds arms sa-58 7.62x51 assault rifle preset + CoreMod.CreateTraderBarterWithPreset(id, "5b439b5686f77428bd137424", "hideout", "hideout", [ + [{ + "count": 3, + "_tpl": "590a386e86f77429692b27ab" + }, { + "count": 2, + "_tpl": "57347baf24597738002c6178" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 2, false, 2000, 1); + + //fn five-seven mk2 5.7x28 pistol (flat dark earth) preset + CoreMod.CreateTraderBarterWithPreset(id, "5b439b5686f77428bd137424", "hideout", "hideout", [ + [{ + "count": 1, + "_tpl": "5d03784a86f774203e7e0c4d" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 2, false, 2000, 3); //P226R id = HashUtil.generate(); @@ -559,9 +585,10 @@ class PeacekeeperAssort { id = HashUtil.generate(); CoreMod.CreateTraderAssortWithPreset(id, "58dffca786f774083a256ab1", "5935c25fb3acc3127c3d8cd9", 393, "USD", 2, false, 15000, 2); - //hk MP5 (navy 3 round burst) + //hk MP5 sd (navy 3 round burst) id = HashUtil.generate(); CoreMod.CreateTraderAssortWithPreset(id, "59411aa786f7747aeb37f9a5", "5935c25fb3acc3127c3d8cd9", 313, "USD", 2, true, 999999); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a27b7d686f77460d847e6a6"); // Scrap Metal //MP9 id = HashUtil.generate(); @@ -570,8 +597,8 @@ class PeacekeeperAssort { //UMP 45 id = HashUtil.generate(); CoreMod.CreateTraderAssortWithPreset(id, "5fd2517dbdd50d684f73a474", "5935c25fb3acc3127c3d8cd9", 276, "USD", 2, false, 200000, 7); - - //Wilcox Skull Lock head mount + + //Wilcox Skull Lock head mount CoreMod.CreateTraderAssort(HashUtil.generate(), "5a16bb52fcdbcb001a3b00dc", "5935c25fb3acc3127c3d8cd9", 1133, "USD", 2, false, 20000); //UNTAR helmet @@ -582,24 +609,24 @@ class PeacekeeperAssort { //Secure container Alpha CoreMod.CreateTraderAssort(HashUtil.generate(), "544a11ac4bdc2d470e8b456a", "5935c25fb3acc3127c3d8cd9", 8139, "USD", 2, false, 1500, 1); - - //Secure container beta - CoreMod.CreateTraderBarter(id, "5857a8b324597729ab0a0e7d", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "5d03794386f77420415576f5" - },{ - "count": 3, - "_tpl": "5d0377ce86f774186372f689" - },{ - "count": 2, - "_tpl": "5c05308086f7746b2101e90b" - },{ - "count": 3, - "_tpl": "5d0375ff86f774186372f685" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 2, false, 200, 1); + + //Secure container beta + CoreMod.CreateTraderBarter(id, "5857a8b324597729ab0a0e7d", "hideout", "hideout", [ + [{ + "count": 1, + "_tpl": "5d03794386f77420415576f5" + }, { + "count": 3, + "_tpl": "5d0377ce86f774186372f689" + }, { + "count": 2, + "_tpl": "5c05308086f7746b2101e90b" + }, { + "count": 3, + "_tpl": "5d0375ff86f774186372f685" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 2, false, 200, 1); //SOE Micro Rig CoreMod.CreateTraderAssort(HashUtil.generate(), "5d5d8ca986f7742798716522", "5935c25fb3acc3127c3d8cd9", 93, "USD", 2, false, 20000, 5); @@ -609,22 +636,32 @@ class PeacekeeperAssort { //LBT-8005A Day Pack backpack CoreMod.CreateTraderAssort(HashUtil.generate(), "5e9dcf5986f7746c417435b3", "5935c25fb3acc3127c3d8cd9", 218, "USD", 2, false, 5000, 2); + + //TODO + // AK-74 Hexagon 5.45x39 sound suppressor + id = HashUtil.generate(); + CoreMod.CreateTraderAssort(id, "593d493f86f7745e6b2ceb22", "5935c25fb3acc3127c3d8cd9", 400, "USD", 2, false, 5000, 2); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a27b87686f77460de0252a8"); // Humanitarian Supplies } - static GenerateLL3() { + static GenerateLL3() + { const CoreMod = require("../../CoreMod/src/Core.js"); - + let id = null; + //5.56x45 warmageddon 20 pcs. ammo pack CoreMod.CreateTraderBarter(HashUtil.generate(), "5c11279ad174af029d64592b", "hideout", "hideout", [ - [{ - "count": 4, - "_tpl": "5672cb304bdc2dc2088b456a" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 3, false, 2000, 8); + [{ + "count": 4, + "_tpl": "5672cb304bdc2dc2088b456a" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 3, false, 2000, 8); //7.62x51mm m62 - CoreMod.CreateTraderAssort(HashUtil.generate(), "5a608bf24f39f98ffc77720e", "5935c25fb3acc3127c3d8cd9", 8, "USD", 3, false, 300000); + id = HashUtil.generate(); + CoreMod.CreateTraderAssort(id, "5a608bf24f39f98ffc77720e", "5935c25fb3acc3127c3d8cd9", 8, "USD", 3, false, 300000); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a27ba9586f7741b543d8e85"); // spa tour part 2 //4.6x30mm fmj sx CoreMod.CreateTraderAssort(HashUtil.generate(), "5ba2678ad4351e44f824b344", "5935c25fb3acc3127c3d8cd9", 3, "USD", 3, false, 500000); @@ -661,27 +698,29 @@ class PeacekeeperAssort { //5.56x45 surefire mag5-60 stanag 60-round magazine CoreMod.CreateTraderBarter(HashUtil.generate(), "544a37c44bdc2d25388b4567", "hideout", "hideout", [ - [{ - "count": 2, - "_tpl": "590a3b0486f7743954552bdb" - }, { - "count": 1, - "_tpl": "5672cb724bdc2dc2088b456b" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 3, false, 15000, 5); + [{ + "count": 2, + "_tpl": "590a3b0486f7743954552bdb" + }, { + "count": 1, + "_tpl": "5672cb724bdc2dc2088b456b" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 3, false, 15000, 5); //5.56x45 magpul pmag d-60 60-round magazine - CoreMod.CreateTraderBarter(HashUtil.generate(), "59c1383d86f774290a37e0ca", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "590c595c86f7747884343ad7" - }, { - "count": 2, - "_tpl": "5e2aedd986f7746d404f3aa4" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 3, false, 50000, 4); + id = HashUtil.generate(); + CoreMod.CreateTraderBarter(id, "59c1383d86f774290a37e0ca", "hideout", "hideout", [ + [{ + "count": 1, + "_tpl": "590c595c86f7747884343ad7" + }, { + "count": 2, + "_tpl": "5e2aedd986f7746d404f3aa4" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 3, false, 50000, 4); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a27bbf886f774333a418eeb"); // wet job part 2 //ak 7.62x39 palm us ak30 30-round magazine (black) CoreMod.CreateTraderAssort(HashUtil.generate(), "59fafc5086f7740dbe19f6c3", "5935c25fb3acc3127c3d8cd9", 22, "USD", 3, false, 20000); @@ -825,7 +864,9 @@ class PeacekeeperAssort { CoreMod.CreateTraderAssort(HashUtil.generate(), "5c7d55de2e221644f31bff68", "5935c25fb3acc3127c3d8cd9", 287, "USD", 3, false, 2000); //kac qdss nt-4 5.56x45 sound suppressor (black) - CoreMod.CreateTraderAssort(HashUtil.generate(), "57da93632459771cb65bf83f", "5935c25fb3acc3127c3d8cd9", 462, "USD", 3, false, 15000); + id = HashUtil.generate(); + CoreMod.CreateTraderAssort(id, "57da93632459771cb65bf83f", "5935c25fb3acc3127c3d8cd9", 462, "USD", 3, false, 15000); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a27bb3d86f77411ea361a21"); // cargo x part 2 //silencerCo osprey 9 9x19mm sound suppressor CoreMod.CreateTraderAssort(HashUtil.generate(), "5a32a064c4a28200741e22de", "5935c25fb3acc3127c3d8cd9", 385, "USD", 3, false, 8000); @@ -865,23 +906,23 @@ class PeacekeeperAssort { //gpnvg-18 night vision goggles CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0558060db834001b735271", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "5d1b376e86f774252519444e" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 3, false, 2000, 1); + [{ + "count": 1, + "_tpl": "5d1b376e86f774252519444e" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 3, false, 2000, 1); //gpnvg-18 night vision goggles CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0558060db834001b735271", "hideout", "hideout", [ - [{ - "count": 9, - "level": 25, - "side": "BEAR", - "_tpl": "59f32bb586f774757e1e8442" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 3, false, 200, 1); + [{ + "count": 9, + "level": 25, + "side": "BEAR", + "_tpl": "59f32bb586f774757e1e8442" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 3, false, 200, 1); //armasight n-15 night vision goggles CoreMod.CreateTraderAssort(HashUtil.generate(), "5c066e3a0db834001b7353f0", "5935c25fb3acc3127c3d8cd9", 724, "USD", 3, false, 2000); @@ -1044,12 +1085,12 @@ class PeacekeeperAssort { //ak-74n magpul CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "59430b9b86f77403c27945fd", "hideout", "hideout", [ - [{ - "count": 6, - "_tpl": "5d235b4d86f7742e017bc88a" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 3, false, 3000, 1); + [{ + "count": 6, + "_tpl": "5d235b4d86f7742e017bc88a" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 3, false, 3000, 1); //fn 5-7 CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5d51290186f77419093e7c24", "5935c25fb3acc3127c3d8cd9", 269, "USD", 3, false, 20000); @@ -1064,32 +1105,34 @@ class PeacekeeperAssort { CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5c98bd7386f7740cfb15654e", "5935c25fb3acc3127c3d8cd9", 866, "USD", 3, false, 20000, 3); //hk 416a5 5.56x45 assault rifle - CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5c0d1e9386f77440120288b7", "5935c25fb3acc3127c3d8cd9", 845, "USD", 3, false, 6000); + id = HashUtil.generate(); + CoreMod.CreateTraderAssortWithPreset(id, "5c0d1e9386f77440120288b7", "5935c25fb3acc3127c3d8cd9", 845, "USD", 3, false, 6000); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a27bc1586f7741f6d40fa2f"); // wet job part 3 //springfield armory m1a 7.62x51 carbine CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "5ac4ad3686f774181345c3da", "hideout", "hideout", [ - [{ - "count": 10, - "_tpl": "5909e99886f7740c983b9984" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 3, false, 400, 1); + [{ + "count": 10, + "_tpl": "5909e99886f7740c983b9984" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 3, false, 400, 1); //remington r11 rsass 7.62x51 marksman rifle CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "5a3a85af86f774745637d46c", "hideout", "hideout", [ - [{ - "count": 8, - "level": 15, - "side": "BEAR", - "_tpl": "59f32bb586f774757e1e8442" - }, { - "count": 8, - "level": 15, - "side": "USEC", - "_tpl": "59f32c3b86f77472a31742f0" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 3, false, 2000, 3); + [{ + "count": 8, + "level": 15, + "side": "BEAR", + "_tpl": "59f32bb586f774757e1e8442" + }, { + "count": 8, + "level": 15, + "side": "USEC", + "_tpl": "59f32c3b86f77472a31742f0" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 3, false, 2000, 3); //sig mpx 9x19 submachine gun silenced CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "58dffd4586f77408a27629b2", "5935c25fb3acc3127c3d8cd9", 515, "USD", 3, false, 15000); @@ -1102,12 +1145,12 @@ class PeacekeeperAssort { //fn p90 5.7x28 submachine gun sbr CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "5d23404b86f7740d62079098", "hideout", "hideout", [ - [{ - "count": 2, - "_tpl": "5d0375ff86f774186372f685" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 3, false, 2000, 3); + [{ + "count": 2, + "_tpl": "5d0375ff86f774186372f685" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 3, false, 2000, 3); //remington model 700 .328 bolt-action sniper rifle CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5c0c1d6586f7743e5335d264", "5935c25fb3acc3127c3d8cd9", 388, "USD", 3, false, 2000); @@ -1117,15 +1160,15 @@ class PeacekeeperAssort { //folder with intelligence CoreMod.CreateTraderBarter(HashUtil.generate(), "5c12613b86f7743bbe2c3f76", "hideout", "hideout", [ - [{ - "count": 4, - "_tpl": "590c645c86f77412b01304d9" - }, { - "count": 4, - "_tpl": "590c651286f7741e566b6461" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 3, false, 600); + [{ + "count": 4, + "_tpl": "590c645c86f77412b01304d9" + }, { + "count": 4, + "_tpl": "590c651286f7741e566b6461" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 3, false, 600); //ops-core fast visor CoreMod.CreateTraderAssort(HashUtil.generate(), "5a16b672fcdbcb001912fa83", "5935c25fb3acc3127c3d8cd9", 114, "USD", 3, false, 2000); @@ -1149,15 +1192,17 @@ class PeacekeeperAssort { CoreMod.CreateTraderAssort(HashUtil.generate(), "5d5e9c74a4b9364855191c40", "5935c25fb3acc3127c3d8cd9", 475, "USD", 3, false, 20000); //team wendy exfil ballistic helmet (black) - CoreMod.CreateTraderBarter(HashUtil.generate(), "5e00c1ad86f774747333222c", "hideout", "hideout", [ - [{ - "count": 10, - "level": 30, - "side": "BEAR", - "_tpl": "59f32bb586f774757e1e8442" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 3, false, 200); + id = HashUtil.generate(); + CoreMod.CreateTraderBarter(id, "5e00c1ad86f774747333222c", "hideout", "hideout", [ + [{ + "count": 10, + "level": 30, + "side": "BEAR", + "_tpl": "59f32bb586f774757e1e8442" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 3, false, 200); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5edac020218d181e29451446"); // Samples //armasight nvg head strap CoreMod.CreateTraderAssort(HashUtil.generate(), "5c066ef40db834001966a595", "5935c25fb3acc3127c3d8cd9", 185, "USD", 3, false, 2000); @@ -1166,8 +1211,47 @@ class PeacekeeperAssort { CoreMod.CreateTraderAssort(HashUtil.generate(), "60a3c70cde5f453f634816a3", "5935c25fb3acc3127c3d8cd9", 1439, "USD", 3, false, 2000, 1); } - static GenerateLL4() { + static GenerateLL4() + { const CoreMod = require("../../CoreMod/src/Core.js"); + let id = null; + + //TODO + //remington r11 rsass 7.62x51 marksman rifle + id = HashUtil.generate(); + CoreMod.CreateTraderAssortWithPreset(id, "5a3a85af86f774745637d46c", "5935c25fb3acc3127c3d8cd9", 500, "USD", 4, false, 100, 1); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a27bc6986f7741c7358402b"); // wet job part 5 + + //TODO + //AFAK personal tactical first aid kit + id = HashUtil.generate(); + CoreMod.CreateTraderAssort(id, "60098ad7c2240c0fe85c570a", "5935c25fb3acc3127c3d8cd9", 25, "USD", 4, false, 2000, 5); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a27bc6986f7741c7358402b"); // wet job part 5 + + //TODO + //m61 + id = HashUtil.generate(); + CoreMod.CreateTraderAssort(id, "5a6086ea4f39f99cd479502f", "5935c25fb3acc3127c3d8cd9", 25, "USD", 4, false, 2000, 200); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a27bc8586f7741b543d8ea4"); // wet job part 6 + + //todo + //id = HashUtil.generate(); + // fn gl40 mk.2 grenade launcher barter + // CoreMod.CreateTraderBarterWithPreset(id, "5e81ebcd8e146c7080625e15", "hideout", "hideout", + //CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a27bc8586f7741b543d8ea4"); // wet job part 6 + + //TODO + //SLAAP armor plate (tan) + id = HashUtil.generate(); + CoreMod.CreateTraderAssort(id, "5c0e66e2d174af02a96252f4", "5935c25fb3acc3127c3d8cd9", 100, "USD", 4, false, 2000, 1); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5c0d4e61d09282029f53920e"); // the guide + + //TODO + //Multi-hit ballistic face shield-visor for Ops-Core FAST helmet + id = HashUtil.generate(); + CoreMod.CreateTraderAssort(id, "5a16b672fcdbcb001912fa83", "5935c25fb3acc3127c3d8cd9", 50, "USD", 4, false, 2000, 1); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5edac020218d181e29451446"); // Samples + //5.56x45mm m855a1 CoreMod.CreateTraderAssort(HashUtil.generate(), "54527ac44bdc2d36668b4567", "5935c25fb3acc3127c3d8cd9", 7, "USD", 4, false, 1000000); @@ -1235,7 +1319,9 @@ class PeacekeeperAssort { CoreMod.CreateTraderAssort(HashUtil.generate(), "5c052a900db834001a66acbd", "5935c25fb3acc3127c3d8cd9", 260, "USD", 4, false, 2000); //eotech hhs-1 hybrid sight - CoreMod.CreateTraderAssort(HashUtil.generate(), "5c07dd120db834001c39092d", "5935c25fb3acc3127c3d8cd9", 496, "USD", 4, false, 2000); + id = HashUtil.generate(); + CoreMod.CreateTraderAssort(id, "5c07dd120db834001c39092d", "5935c25fb3acc3127c3d8cd9", 496, "USD", 4, false, 2000); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5c0d4e61d09282029f53920e"); // the guide //gpnvg-18 night vision goggles CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0558060db834001b735271", "5935c25fb3acc3127c3d8cd9", 1613, "USD", 4, false, 2000); @@ -1323,51 +1409,53 @@ class PeacekeeperAssort { //colt m4a1 5.56x45 assault rifle preset CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "5ebbfe23ba87a5065a00a563", "hideout", "hideout", [ - [{ - "count": 3, - "_tpl": "5d403f9186f7743cac3f229b" - }, { - "count": 1, - "_tpl": "5d40407c86f774318526545a" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 4, false, 2000, 1); + [{ + "count": 3, + "_tpl": "5d403f9186f7743cac3f229b" + }, { + "count": 1, + "_tpl": "5d40407c86f774318526545a" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 4, false, 2000, 1); //ds arms sa-58 7.62x51 assault rifle preset CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5b439b5686f77428bd137424", "5935c25fb3acc3127c3d8cd9", 1179, "USD", 4, false, 2000, 1); //desert tech mdr 7.62x51 assault rifle preset - CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5e035eb586f774756048ec12", "5935c25fb3acc3127c3d8cd9", 1355, "USD", 4, false, 2000, 1); + id = HashUtil.generate(); + CoreMod.CreateTraderAssortWithPreset(id, "5e035eb586f774756048ec12", "5935c25fb3acc3127c3d8cd9", 1355, "USD", 4, false, 2000, 1); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a27bc3686f7741c73584026"); // wet job part 4 //springfield armor m1a 7.62x51 carbine ebr preset CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5af08bfd86f774223d4528e2", "5935c25fb3acc3127c3d8cd9", 948, "USD", 4, false, 5000, 1); //hk mp7a2 4.6x30 submachine gun preset CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "5bdb3ac186f77405f232ad22", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "5c1265fc86f7743f896a21c2" - }, { - "count": 1, - "_tpl": "5af0561e86f7745f5f3ad6ac" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 4, false, 2000, 2); + [{ + "count": 1, + "_tpl": "5c1265fc86f7743f896a21c2" + }, { + "count": 1, + "_tpl": "5af0561e86f7745f5f3ad6ac" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 4, false, 2000, 2); //fn p90 5.7x28 submachine gun preset CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5d23376786f77459bb77d838", "5935c25fb3acc3127c3d8cd9", 1007, "USD", 4, false, 2000, 3); //crye precision airframe chops CoreMod.CreateTraderBarter(HashUtil.generate(), "5c178a942e22164bef5ceca3", "hideout", "hideout", [ - [{ - "count": 1, - "_tpl": "5bc9b720d4351e450201234b" - }, { - "count": 1, - "_tpl": "573477e124597737dd42e191" - } - ] - ], "5935c25fb3acc3127c3d8cd9", 4, false, 2000, 3); + [{ + "count": 1, + "_tpl": "5bc9b720d4351e450201234b" + }, { + "count": 1, + "_tpl": "573477e124597737dd42e191" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 4, false, 2000, 3); //crye precision airframe ears CoreMod.CreateTraderAssort(HashUtil.generate(), "5c1793902e221602b21d3de2", "5935c25fb3acc3127c3d8cd9", 350, "USD", 4, false, 2000); @@ -1390,7 +1478,8 @@ class PeacekeeperAssort { //3V G Paratus 3-Day Operator's Tactical backpack CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0e805e86f774683f3dd637", "5935c25fb3acc3127c3d8cd9", 563, "USD", 4, false, 2000); } - static generatePeacekeeperAssort() { + static generatePeacekeeperAssort() + { PeacekeeperAssort.GenerateLL1(); PeacekeeperAssort.GenerateLL2(); PeacekeeperAssort.GenerateLL3();