From e4ca20fa6df3a3fe049a9b73cf6c72f6b06d1943 Mon Sep 17 00:00:00 2001 From: Chomp Date: Sat, 18 Sep 2021 23:03:23 +0100 Subject: [PATCH] Add gl40 barter --- .../src/peacekeeper.js | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/Ereshkigal-BaseAssortGenerator/src/peacekeeper.js b/Ereshkigal-BaseAssortGenerator/src/peacekeeper.js index d1d8e15..25de1a6 100644 --- a/Ereshkigal-BaseAssortGenerator/src/peacekeeper.js +++ b/Ereshkigal-BaseAssortGenerator/src/peacekeeper.js @@ -1230,17 +1230,27 @@ class PeacekeeperAssort CoreMod.CreateTraderAssort(id, "60098ad7c2240c0fe85c570a", "5935c25fb3acc3127c3d8cd9", 309, "USD", 4, false, 20000, 2); 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(); + 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 + CoreMod.CreateTraderBarterWithPreset(id, "5f06d6e1475d472556679d16", "hideout", "hideout", [ + [{ + "count": 1, + "_tpl": "5c05300686f7746dce784e5d" + }, { + "count": 5, + "_tpl": "5d0376a486f7747d8050965c" + }, { + "count": 5, + "_tpl": "5d0375ff86f774186372f685" + } + ] + ], "5935c25fb3acc3127c3d8cd9", 4, false, 600, 1); + CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a27bc8586f7741b543d8ea4"); // wet job part 6 //TODO //SLAAP armor plate (tan)