Merge pull request 'Jaeger L4 - linked items to quest unlocks + added missing quest items + peacekeeper ID fixes' (#18) from Chomp/AssortGenerator:master into master
Reviewed-on: Ereshkigal-mods/AssortGenerator#18
This commit is contained in:
commit
7acf874a3a
@ -2,17 +2,25 @@
|
|||||||
エレシュキガル
|
エレシュキガル
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class JeagerAssort {
|
class JeagerAssort
|
||||||
|
{
|
||||||
|
|
||||||
static GenerateLL1() {
|
static GenerateLL1()
|
||||||
|
{
|
||||||
const CoreMod = require("../../CoreMod/src/Core.js");
|
const CoreMod = require("../../CoreMod/src/Core.js");
|
||||||
DatabaseServer.tables.traders["5c0647fdd443bc2504c2d371"].assort = {
|
DatabaseServer.tables.traders["5c0647fdd443bc2504c2d371"].assort = {
|
||||||
"items": [],
|
"items": [],
|
||||||
"barter_scheme": {},
|
"barter_scheme": {},
|
||||||
"loyal_level_items": {}
|
"loyal_level_items": {}
|
||||||
};
|
};
|
||||||
|
let id = null;
|
||||||
// ASSORT ID ITEM TEMPLATE TRADER ID PRICE CURRENCY LOYALTY UNLIMITED STOCK MAXIMUM BUY
|
// ASSORT ID ITEM TEMPLATE TRADER ID PRICE CURRENCY LOYALTY UNLIMITED STOCK MAXIMUM BUY
|
||||||
|
|
||||||
|
// Aim sports mng rail for mosin rifle
|
||||||
|
id = HashUtil.generate();
|
||||||
|
CoreMod.CreateTraderAssort(id, "5bc5a372d4351e44f824d17f", "5c0647fdd443bc2504c2d371", 500, "RUB", 1, true, 2000, 5);
|
||||||
|
CoreMod.CreateTraderAssortUnlock("5c0647fdd443bc2504c2d371", "success", id, "5bc479e586f7747f376c7da3"); // The Tarkov shooter - Part 2
|
||||||
|
|
||||||
//12/70 7mm buckshot
|
//12/70 7mm buckshot
|
||||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "5c0647fdd443bc2504c2d371", 32, "RUB", 1, true, 999999);
|
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "5c0647fdd443bc2504c2d371", 32, "RUB", 1, true, 999999);
|
||||||
|
|
||||||
@ -326,9 +334,32 @@ class JeagerAssort {
|
|||||||
}
|
}
|
||||||
]], "5c0647fdd443bc2504c2d371", 1, true, 999999, 3);
|
]], "5c0647fdd443bc2504c2d371", 1, true, 999999, 3);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
static GenerateLL2() {
|
static GenerateLL2()
|
||||||
|
{
|
||||||
const CoreMod = require("../../CoreMod/src/Core.js");
|
const CoreMod = require("../../CoreMod/src/Core.js");
|
||||||
|
let id = null;
|
||||||
|
|
||||||
|
// Mosin Tacfire Tanker Style muzzle brake
|
||||||
|
id = HashUtil.generate();
|
||||||
|
CoreMod.CreateTraderAssort(id, "5bbdb83fd4351e44f824c44b", "5c0647fdd443bc2504c2d371", 500, "RUB", 2, false, 2000, 5);
|
||||||
|
CoreMod.CreateTraderAssortUnlock("5c0647fdd443bc2504c2d371", "success", id, "5bc47dbf86f7741ee74e93b9"); // The Tarkov shooter - Part 3
|
||||||
|
|
||||||
|
// Mosin AIM Sports Recoil pad
|
||||||
|
id = HashUtil.generate();
|
||||||
|
CoreMod.CreateTraderAssort(id, "5bbde409d4351e003562b036", "5c0647fdd443bc2504c2d371", 500, "RUB", 2, false, 2000, 5);
|
||||||
|
CoreMod.CreateTraderAssortUnlock("5c0647fdd443bc2504c2d371", "success", id, "5bc47dbf86f7741ee74e93b9"); // The Tarkov shooter - Part 3
|
||||||
|
|
||||||
|
//Aim Sports "Tri-Rail" rail for Mosin rifle
|
||||||
|
id = HashUtil.generate();
|
||||||
|
CoreMod.CreateTraderAssort(id, "5bbdb811d4351e45020113c7", "5c0647fdd443bc2504c2d371", 500, "RUB", 2, false, 2000, 5);
|
||||||
|
CoreMod.CreateTraderAssortUnlock("5c0647fdd443bc2504c2d371", "success", id, "5bc480a686f7741af0342e29"); // The Tarkov shooter - Part 4
|
||||||
|
|
||||||
|
//Tacfire pistol grip for Mosin rifle
|
||||||
|
id = HashUtil.generate();
|
||||||
|
CoreMod.CreateTraderAssort(id, "5bbde41ed4351e003562b038", "5c0647fdd443bc2504c2d371", 500, "RUB", 2, false, 2000, 5);
|
||||||
|
CoreMod.CreateTraderAssortUnlock("5c0647fdd443bc2504c2d371", "success", id, "5bc480a686f7741af0342e29"); // The Tarkov shooter - Part 4
|
||||||
|
|
||||||
//5.45x39mm sp
|
//5.45x39mm sp
|
||||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "56dff421d2720b5f5a8b4567", "5c0647fdd443bc2504c2d371", 63, "RUB", 2, false, 40000, 400);
|
CoreMod.CreateTraderAssort(HashUtil.generate(), "56dff421d2720b5f5a8b4567", "5c0647fdd443bc2504c2d371", 63, "RUB", 2, false, 40000, 400);
|
||||||
@ -591,9 +622,31 @@ class JeagerAssort {
|
|||||||
}
|
}
|
||||||
]], "5c0647fdd443bc2504c2d371", 2, false, 20000, 2);
|
]], "5c0647fdd443bc2504c2d371", 2, false, 20000, 2);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
static GenerateLL3() {
|
static GenerateLL3()
|
||||||
|
{
|
||||||
const CoreMod = require("../../CoreMod/src/Core.js");
|
const CoreMod = require("../../CoreMod/src/Core.js");
|
||||||
|
let id = null;
|
||||||
|
//remington model 700 .308 bolt-action sniper rifle arch
|
||||||
|
id = HashUtil.generate();
|
||||||
|
CoreMod.CreateTraderAssortWithPreset(id, "5d383ee786f7742a15793860", "5c0647fdd443bc2504c2d371", 80000, "RUB", 3, false, 200, 1);
|
||||||
|
CoreMod.CreateTraderAssortUnlock("5c0647fdd443bc2504c2d371", "success", id, "5d25e4ca86f77409dd5cdf2c"); // hunting trip
|
||||||
|
|
||||||
|
//remington model 700 .308 bolt-action sniper rifle aics
|
||||||
|
id = HashUtil.generate();
|
||||||
|
CoreMod.CreateTraderAssortWithPreset(id, "5d383e1a86f7742a1468ce63", "5c0647fdd443bc2504c2d371", 80000, "RUB", 3, false, 200, 1);
|
||||||
|
CoreMod.CreateTraderAssortUnlock("5c0647fdd443bc2504c2d371", "success", id, "5d25e4ca86f77409dd5cdf2c"); // hunting trip
|
||||||
|
|
||||||
|
//Mosin Texas Precision Products muzzle brake
|
||||||
|
id = HashUtil.generate();
|
||||||
|
CoreMod.CreateTraderAssort(id, "5bc5a351d4351e003477a414", "5c0647fdd443bc2504c2d371", 500, "RUB", 3, false, 2000, 5);
|
||||||
|
CoreMod.CreateTraderAssortUnlock("5c0647fdd443bc2504c2d371", "success", id, "5bc4826c86f774106d22d88b"); // The Tarkov shooter - Part 5
|
||||||
|
|
||||||
|
//Mosin Witt Machine muzzle brake
|
||||||
|
id = HashUtil.generate();
|
||||||
|
CoreMod.CreateTraderAssort(id, "5bc5a35cd4351e450201232f", "5c0647fdd443bc2504c2d371", 500, "RUB", 3, false, 2000);
|
||||||
|
CoreMod.CreateTraderAssortUnlock("5c0647fdd443bc2504c2d371", "success", id, "5bc4856986f77454c317bea7"); // The Tarkov shooter - Part 7
|
||||||
|
|
||||||
//12/70 copper sabot premier hp slug
|
//12/70 copper sabot premier hp slug
|
||||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5d6e68b3a4b9361bca7e50b5", "5c0647fdd443bc2504c2d371", 87, "RUB", 3, false, 20000);
|
CoreMod.CreateTraderAssort(HashUtil.generate(), "5d6e68b3a4b9361bca7e50b5", "5c0647fdd443bc2504c2d371", 87, "RUB", 3, false, 20000);
|
||||||
@ -623,7 +676,9 @@ class JeagerAssort {
|
|||||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5c503ad32e2216398b5aada2", "5c0647fdd443bc2504c2d371", 4043, "RUB", 3, false, 20000);
|
CoreMod.CreateTraderAssort(HashUtil.generate(), "5c503ad32e2216398b5aada2", "5c0647fdd443bc2504c2d371", 4043, "RUB", 3, false, 20000);
|
||||||
|
|
||||||
//surv12 field surgical kit
|
//surv12 field surgical kit
|
||||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5d02797c86f774203f38e30a", "5c0647fdd443bc2504c2d371", 47250, "RUB", 3, false, 2000);
|
id = HashUtil.generate();
|
||||||
|
CoreMod.CreateTraderAssort(id, "5d02797c86f774203f38e30a", "5c0647fdd443bc2504c2d371", 47250, "RUB", 3, false, 2000);
|
||||||
|
CoreMod.CreateTraderAssortUnlock("5c0647fdd443bc2504c2d371", "success", id, "5d25e46e86f77409453bce7c"); // ambulance
|
||||||
|
|
||||||
//trijicon reap-ir scope eyecup
|
//trijicon reap-ir scope eyecup
|
||||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5a1eacb3fcdbcb09800872be", "5c0647fdd443bc2504c2d371", 374, "RUB", 3, false, 2000);
|
CoreMod.CreateTraderAssort(HashUtil.generate(), "5a1eacb3fcdbcb09800872be", "5c0647fdd443bc2504c2d371", 374, "RUB", 3, false, 2000);
|
||||||
@ -685,7 +740,9 @@ class JeagerAssort {
|
|||||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "606ef0812535c57a13424d20", "5c0647fdd443bc2504c2d371", 2343, "RUB", 3, false, 2000);
|
CoreMod.CreateTraderAssort(HashUtil.generate(), "606ef0812535c57a13424d20", "5c0647fdd443bc2504c2d371", 2343, "RUB", 3, false, 2000);
|
||||||
|
|
||||||
//mosin ati monte carlo stock
|
//mosin ati monte carlo stock
|
||||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5bbdb870d4351e00367fb67d", "5c0647fdd443bc2504c2d371", 11296, "RUB", 3, false, 2000);
|
id = HashUtil.generate();
|
||||||
|
CoreMod.CreateTraderAssort(id, "5bbdb870d4351e00367fb67d", "5c0647fdd443bc2504c2d371", 11296, "RUB", 3, false, 2000);
|
||||||
|
CoreMod.CreateTraderAssortUnlock("5c0647fdd443bc2504c2d371", "success", id, "5bc4836986f7740c0152911c"); // The Tarkov shooter - Part 6
|
||||||
|
|
||||||
//mp-155 ultima medium recoil pad
|
//mp-155 ultima medium recoil pad
|
||||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "606f262c6d0bd7580617bafa", "5c0647fdd443bc2504c2d371", 3393, "RUB", 3, false, 2000);
|
CoreMod.CreateTraderAssort(HashUtil.generate(), "606f262c6d0bd7580617bafa", "5c0647fdd443bc2504c2d371", 3393, "RUB", 3, false, 2000);
|
||||||
@ -803,8 +860,43 @@ class JeagerAssort {
|
|||||||
]], "5c0647fdd443bc2504c2d371", 3, false, 2000, 1);
|
]], "5c0647fdd443bc2504c2d371", 3, false, 2000, 1);
|
||||||
|
|
||||||
}
|
}
|
||||||
static GenerateLL4() {
|
static GenerateLL4()
|
||||||
|
{
|
||||||
const CoreMod = require("../../CoreMod/src/Core.js");
|
const CoreMod = require("../../CoreMod/src/Core.js");
|
||||||
|
let id = null;
|
||||||
|
|
||||||
|
//remington model 700 .308 bolt-action sniper rifle pro
|
||||||
|
id = HashUtil.generate();
|
||||||
|
CoreMod.CreateTraderAssortWithPreset(id, "5d383f5d86f7742a15793872", "5c0647fdd443bc2504c2d371", 80000, "RUB", 4, false, 200, 1);
|
||||||
|
CoreMod.CreateTraderAssortUnlock("5c0647fdd443bc2504c2d371", "success", id, "5d25e4ca86f77409dd5cdf2c"); // hunting trip
|
||||||
|
|
||||||
|
//remington model 700 .308 bolt-action sniper rifle mrs
|
||||||
|
id = HashUtil.generate();
|
||||||
|
CoreMod.CreateTraderAssortWithPreset(id, "5d38517786f7742a1468cf6a", "5c0647fdd443bc2504c2d371", 80000, "RUB", 4, false, 200, 1);
|
||||||
|
CoreMod.CreateTraderAssortUnlock("5c0647fdd443bc2504c2d371", "success", id, "5d25e4ca86f77409dd5cdf2c"); // hunting trip
|
||||||
|
|
||||||
|
//Mp-155 ultima thermal camera
|
||||||
|
CoreMod.CreateTraderBarter(HashUtil.generate(), "606f2696f2cb2e02a42aceb1", "hideout", "hideout", [[{
|
||||||
|
"count": 2,
|
||||||
|
"_tpl": "5d1b2ffd86f77425243e8d17"
|
||||||
|
}
|
||||||
|
]], "5c0647fdd443bc2504c2d371", 4, false, 2000, 1);
|
||||||
|
CoreMod.CreateTraderAssortUnlock("5c0647fdd443bc2504c2d371", "success", id, "5d25e45e86f77408251c4bfa"); // huntsman path - eraser - part 2
|
||||||
|
|
||||||
|
//Mosin ProMag Archangel OPFOR PRS stock
|
||||||
|
id = HashUtil.generate();
|
||||||
|
CoreMod.CreateTraderAssort(id, "5bae13bad4351e00320204af", "5c0647fdd443bc2504c2d371", 2000, "RUB", 3, false, 2000, 2);
|
||||||
|
CoreMod.CreateTraderAssortUnlock("5c0647fdd443bc2504c2d371", "success", id, "5bc4893c86f774626f5ebf3e"); // The Tarkov shooter - Part 8
|
||||||
|
|
||||||
|
//Mosin 7.62x54R ProMag Archangel OPFOR 10-round magazine
|
||||||
|
id = HashUtil.generate();
|
||||||
|
CoreMod.CreateTraderAssort(id, "5bae13ded4351e44f824bf38", "5c0647fdd443bc2504c2d371", 20000, "RUB", 3, false, 2000, 2);
|
||||||
|
CoreMod.CreateTraderAssortUnlock("5c0647fdd443bc2504c2d371", "success", id, "5bc4893c86f774626f5ebf3e"); // The Tarkov shooter - Part 8
|
||||||
|
|
||||||
|
//SWORD International Mk-18 .338 LM marksman rifle
|
||||||
|
id = HashUtil.generate();
|
||||||
|
CoreMod.CreateTraderAssortWithPreset(id, "5fd25119dd870108a754a163", "5c0647fdd443bc2504c2d371", 200000, "RUB", 3, false, 200, 1);
|
||||||
|
CoreMod.CreateTraderAssortUnlock("5c0647fdd443bc2504c2d371", "success", id, "600302d73b897b11364cd161"); // Hunter
|
||||||
|
|
||||||
//5.56x45 Warmageddon 20 pcs. ammo pack
|
//5.56x45 Warmageddon 20 pcs. ammo pack
|
||||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5c11279ad174af029d64592b", "hideout", "hideout", [[{
|
CoreMod.CreateTraderBarter(HashUtil.generate(), "5c11279ad174af029d64592b", "hideout", "hideout", [[{
|
||||||
@ -885,7 +977,8 @@ class JeagerAssort {
|
|||||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b2389515acfc4771e1be0c0", "5c0647fdd443bc2504c2d371", 10068, "RUB", 4, false, 2000);
|
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b2389515acfc4771e1be0c0", "5c0647fdd443bc2504c2d371", 10068, "RUB", 4, false, 2000);
|
||||||
}
|
}
|
||||||
|
|
||||||
static generateJeagerAssort() {
|
static generateJeagerAssort()
|
||||||
|
{
|
||||||
JeagerAssort.GenerateLL1();
|
JeagerAssort.GenerateLL1();
|
||||||
JeagerAssort.GenerateLL2();
|
JeagerAssort.GenerateLL2();
|
||||||
JeagerAssort.GenerateLL3();
|
JeagerAssort.GenerateLL3();
|
||||||
|
@ -216,11 +216,13 @@ class PeacekeeperAssort
|
|||||||
|
|
||||||
//TODO
|
//TODO
|
||||||
// m856a1
|
// m856a1
|
||||||
|
id = HashUtil.generate();
|
||||||
CoreMod.CreateTraderAssort(id, "59e6906286f7746c9f75e847", "5935c25fb3acc3127c3d8cd9", 5, "USD", 2, false, 2000, 300);
|
CoreMod.CreateTraderAssort(id, "59e6906286f7746c9f75e847", "5935c25fb3acc3127c3d8cd9", 5, "USD", 2, false, 2000, 300);
|
||||||
CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a27b9de86f77464e5044585"); // the cult part 1
|
CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a27b9de86f77464e5044585"); // the cult part 1
|
||||||
|
|
||||||
//TODO
|
//TODO
|
||||||
// m67 hand grenade
|
// m67 hand grenade
|
||||||
|
id = HashUtil.generate();
|
||||||
CoreMod.CreateTraderAssort(id, "58d3db5386f77426186285a0", "5935c25fb3acc3127c3d8cd9", 30, "USD", 2, false, 2000, 300);
|
CoreMod.CreateTraderAssort(id, "58d3db5386f77426186285a0", "5935c25fb3acc3127c3d8cd9", 30, "USD", 2, false, 2000, 300);
|
||||||
CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a03173786f77451cb427172"); // spa tour part 2
|
CoreMod.CreateTraderAssortUnlock("5935c25fb3acc3127c3d8cd9", "success", id, "5a03173786f77451cb427172"); // spa tour part 2
|
||||||
|
|
||||||
@ -553,6 +555,7 @@ class PeacekeeperAssort
|
|||||||
CoreMod.CreateTraderAssortWithPreset(id, "5f676b779ab5ec19f028eaf3", "5935c25fb3acc3127c3d8cd9", 481, "USD", 2, false, 20000, 5);
|
CoreMod.CreateTraderAssortWithPreset(id, "5f676b779ab5ec19f028eaf3", "5935c25fb3acc3127c3d8cd9", 481, "USD", 2, false, 20000, 5);
|
||||||
|
|
||||||
//ds arms sa-58 7.62x51 assault rifle preset
|
//ds arms sa-58 7.62x51 assault rifle preset
|
||||||
|
id = HashUtil.generate();
|
||||||
CoreMod.CreateTraderBarterWithPreset(id, "5b439b5686f77428bd137424", "hideout", "hideout", [
|
CoreMod.CreateTraderBarterWithPreset(id, "5b439b5686f77428bd137424", "hideout", "hideout", [
|
||||||
[{
|
[{
|
||||||
"count": 3,
|
"count": 3,
|
||||||
@ -565,6 +568,7 @@ class PeacekeeperAssort
|
|||||||
], "5935c25fb3acc3127c3d8cd9", 2, false, 2000, 1);
|
], "5935c25fb3acc3127c3d8cd9", 2, false, 2000, 1);
|
||||||
|
|
||||||
//fn five-seven mk2 5.7x28 pistol (flat dark earth) preset
|
//fn five-seven mk2 5.7x28 pistol (flat dark earth) preset
|
||||||
|
id = HashUtil.generate();
|
||||||
CoreMod.CreateTraderBarterWithPreset(id, "5b439b5686f77428bd137424", "hideout", "hideout", [
|
CoreMod.CreateTraderBarterWithPreset(id, "5b439b5686f77428bd137424", "hideout", "hideout", [
|
||||||
[{
|
[{
|
||||||
"count": 1,
|
"count": 1,
|
||||||
@ -611,6 +615,7 @@ class PeacekeeperAssort
|
|||||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "544a11ac4bdc2d470e8b456a", "5935c25fb3acc3127c3d8cd9", 8139, "USD", 2, false, 1500, 1);
|
CoreMod.CreateTraderAssort(HashUtil.generate(), "544a11ac4bdc2d470e8b456a", "5935c25fb3acc3127c3d8cd9", 8139, "USD", 2, false, 1500, 1);
|
||||||
|
|
||||||
//Secure container beta
|
//Secure container beta
|
||||||
|
id = HashUtil.generate();
|
||||||
CoreMod.CreateTraderBarter(id, "5857a8b324597729ab0a0e7d", "hideout", "hideout", [
|
CoreMod.CreateTraderBarter(id, "5857a8b324597729ab0a0e7d", "hideout", "hideout", [
|
||||||
[{
|
[{
|
||||||
"count": 1,
|
"count": 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user