Prapor assortunlocks

This commit is contained in:
Ereshkigal 2021-08-08 15:52:49 +02:00
parent b4a4e70927
commit a5ee3e3ef3
3 changed files with 442 additions and 330 deletions

View File

@ -251,5 +251,85 @@
} }
} }
] ]
},
"ASH-12_Silenced_LL4": {
"_id": "ASH-12_Silenced_LL4",
"_type": "Preset",
"_changeWeaponName": false,
"_name": "ash_12_silenced",
"_parent": "893a544a5de59baa183c806a",
"_items": [
{
"_id": "893a544a5de59baa183c806a",
"_tpl": "5cadfbf7ae92152ac412eeef",
"upd": {
"Repairable": {
"MaxDurability": 100,
"Durability": 100
},
"FireMode": {
"FireMode": "single"
}
}
},
{
"_id": "89df79347dfc7df98a989188",
"_tpl": "5caf187cae92157c28402e43",
"parentId": "893a544a5de59baa183c806a",
"slotId": "mod_muzzle"
},
{
"_id": "300cebc1cb6d97fe5e2c5377",
"_tpl": "5caf1041ae92157c28402e3f",
"parentId": "893a544a5de59baa183c806a",
"slotId": "mod_magazine"
},
{
"_id": "ac2c80197a7f593f1924b6e9",
"_tpl": "5caf16a2ae92152ac412efbc",
"parentId": "893a544a5de59baa183c806a",
"slotId": "mod_sight_front",
"upd": {
"Sight": {
"ScopesCurrentCalibPointIndexes": [
0
],
"ScopesSelectedModes": [
0
],
"SelectedScope": 0
}
}
},
{
"_id": "32f372594e610518abd2df76",
"_tpl": "5cdaa99dd7f00c002412d0b2",
"parentId": "893a544a5de59baa183c806a",
"slotId": "mod_handguard"
},
{
"_id": "4a37c14ff3eeb816dc2311b9",
"_tpl": "5caf1691ae92152ac412efb9",
"parentId": "893a544a5de59baa183c806a",
"slotId": "mod_scope",
"upd": {
"Sight": {
"ScopesCurrentCalibPointIndexes": [
0
],
"ScopesSelectedModes": [
0
],
"SelectedScope": 0
}
}
},
{
"_id": "483f20776801fa5928c217d6",
"_tpl": "5cda9bcfd7f00c0c0b53e900",
"parentId": "32f372594e610518abd2df76",
"slotId": "mod_foregrip"
}
]
} }
} }

View File

@ -18,6 +18,7 @@ class GenerateEverything {
constructor() { constructor() {
const mod = require("./package.json") const mod = require("./package.json")
Logger.info(`Loading: ${mod.name} : ${mod.version}`); Logger.info(`Loading: ${mod.name} : ${mod.version}`);
const customPresets = require("./config/custom_presets.json");
ModLoader.onLoad["Assorts-prapor"] = prapor.generatePraporAssort; ModLoader.onLoad["Assorts-prapor"] = prapor.generatePraporAssort;
ModLoader.onLoad["Assorts-therapist"] = therapist.generateTherapistAssort; ModLoader.onLoad["Assorts-therapist"] = therapist.generateTherapistAssort;
ModLoader.onLoad["Assorts-skier"] = skier.generateSkierAssort; ModLoader.onLoad["Assorts-skier"] = skier.generateSkierAssort;
@ -25,6 +26,7 @@ class GenerateEverything {
ModLoader.onLoad["Assorts-peacekeeper"] = peacekeeper.generatePeacekeeperAssort; ModLoader.onLoad["Assorts-peacekeeper"] = peacekeeper.generatePeacekeeperAssort;
ModLoader.onLoad["Assorts-ragman"] = ragman.generateRagmanAssort; ModLoader.onLoad["Assorts-ragman"] = ragman.generateRagmanAssort;
ModLoader.onLoad["Assorts-jeager"] = jeager.generateJeagerAssort; ModLoader.onLoad["Assorts-jeager"] = jeager.generateJeagerAssort;
Object.assign(DatabaseServer.tables.globals.ItemPresets, customPresets)
} }
} }

View File

@ -2,7 +2,7 @@
エレシュキガル エレシュキガル
*/ */
class PraporAssort{ class PraporAssort {
static GenerateLL1() { static GenerateLL1() {
const CoreMod = require("../../CoreMod/src/Core.js"); const CoreMod = require("../../CoreMod/src/Core.js");
@ -17,21 +17,19 @@ class PraporAssort{
//5x45 BP x30 GS box //5x45 BP x30 GS box
CoreMod.CreateTraderBarter(HashUtil.generate(), "57372ac324597767001bc261", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "57372ac324597767001bc261", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "59e358a886f7741776641ac3" "_tpl": "59e358a886f7741776641ac3"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 2000, 3);
], "54cb50c76803fa8b248b4571", 1, false, 2000, 3);
//5x45 BT x30 GS box //5x45 BT x30 GS box
CoreMod.CreateTraderBarter(HashUtil.generate(), "57372c89245977685d4159b1", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "57372c89245977685d4159b1", "hideout", "hideout", [
[{ [{
"count": 2, "count": 2,
"_tpl": "57347da92459774491567cf5" "_tpl": "57347da92459774491567cf5"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 4000, 4);
], "54cb50c76803fa8b248b4571", 1, false, 4000, 4);
//7mm buckshot //7mm buckshot
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "54cb50c76803fa8b248b4571", 33, "RUB", 1, true, 999999); CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "54cb50c76803fa8b248b4571", 33, "RUB", 1, true, 999999);
@ -39,6 +37,11 @@ class PraporAssort{
//7.62x39mm PS GZH //7.62x39mm PS GZH
CoreMod.CreateTraderAssort(HashUtil.generate(), "5656d7c34bdc2d9d198b4587", "54cb50c76803fa8b248b4571", 91, "RUB", 1, true, 999999); CoreMod.CreateTraderAssort(HashUtil.generate(), "5656d7c34bdc2d9d198b4587", "54cb50c76803fa8b248b4571", 91, "RUB", 1, true, 999999);
//5.45x39mm PS gs
id = HashUtil.generate()
CoreMod.CreateTraderAssort(id, "56dff3afd2720bba668b4567", "54cb50c76803fa8b248b4571", 81, "RUB", 1, true, 999999);
CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "59674eb386f774539f14813a")
//5.45x39mm PRS GS //5.45x39mm PRS GS
CoreMod.CreateTraderAssort(HashUtil.generate(), "56dff338d2720bbd668b4569", "54cb50c76803fa8b248b4571", 51, "RUB", 1, true, 999999); CoreMod.CreateTraderAssort(HashUtil.generate(), "56dff338d2720bbd668b4569", "54cb50c76803fa8b248b4571", 51, "RUB", 1, true, 999999);
@ -80,12 +83,11 @@ class PraporAssort{
//F-1 Hand grenade //F-1 Hand grenade
CoreMod.CreateTraderBarter(HashUtil.generate(), "5710c24ad2720bc3458b45a3", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5710c24ad2720bc3458b45a3", "hideout", "hideout", [
[{ [{
"count": 2, "count": 2,
"_tpl": "590a3cd386f77436f20848cb" "_tpl": "590a3cd386f77436f20848cb"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 2000, 3);
], "54cb50c76803fa8b248b4571", 1, false, 2000, 3);
//RDG Smoke //RDG Smoke
CoreMod.CreateTraderAssort(HashUtil.generate(), "5a2a57cfc4a2826c6e06d44a", "54cb50c76803fa8b248b4571", 5931, "RUB", 1, false, 37000, 6); CoreMod.CreateTraderAssort(HashUtil.generate(), "5a2a57cfc4a2826c6e06d44a", "54cb50c76803fa8b248b4571", 5931, "RUB", 1, false, 37000, 6);
@ -110,12 +112,11 @@ class PraporAssort{
//PP-91 9x18PM 30-round magazine //PP-91 9x18PM 30-round magazine
CoreMod.CreateTraderBarter(HashUtil.generate(), "57d1519e24597714373db79d", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "57d1519e24597714373db79d", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "5d1b31ce86f7742523398394" "_tpl": "5d1b31ce86f7742523398394"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 2000, 12);
], "54cb50c76803fa8b248b4571", 1, false, 2000, 12);
@ -175,12 +176,11 @@ class PraporAssort{
//Zenit-BelOMO PSO-1M2-1 4x24 scope //Zenit-BelOMO PSO-1M2-1 4x24 scope
CoreMod.CreateTraderBarter(HashUtil.generate(), "576fd4ec2459777f0b518431", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "576fd4ec2459777f0b518431", "hideout", "hideout", [
[{ [{
"count": 2, "count": 2,
"_tpl": "590a3c0a86f774385a33c450" "_tpl": "590a3c0a86f774385a33c450"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 2000);
], "54cb50c76803fa8b248b4571", 1, false, 2000);
//PU 3.5x rifle scope //PU 3.5x rifle scope
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b3f7c1c5acfc40dc5296b1d", "54cb50c76803fa8b248b4571", 13446, "RUB", 1, false, 20000, 5); CoreMod.CreateTraderAssort(HashUtil.generate(), "5b3f7c1c5acfc40dc5296b1d", "54cb50c76803fa8b248b4571", 13446, "RUB", 1, false, 20000, 5);
@ -243,15 +243,14 @@ class PraporAssort{
//AKS-74U //AKS-74U
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderBarterWithPreset(id, "584147732459775a2b6d9f12", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(id, "584147732459775a2b6d9f12", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "573478bc24597738002c6175" "_tpl": "573478bc24597738002c6175"
}, { }, {
"count": 1, "count": 1,
"_tpl": "5e2af00086f7746d3f3c33f7" "_tpl": "5e2af00086f7746d3f3c33f7"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 7000);
], "54cb50c76803fa8b248b4571", 1, false, 7000);
//AKS-74u //AKS-74u
id = HashUtil.generate(); id = HashUtil.generate();
@ -261,12 +260,11 @@ class PraporAssort{
//AKM //AKM
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderBarterWithPreset(id, "59e8d2ab86f77407f03fc9c2", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(id, "59e8d2ab86f77407f03fc9c2", "hideout", "hideout", [
[{ [{
"count": 3, "count": 3,
"_tpl": "57347d7224597744596b4e72" "_tpl": "57347d7224597744596b4e72"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 20000, 1);
], "54cb50c76803fa8b248b4571", 1, false, 20000, 1);
//PM "Makarov" 9x18 //PM "Makarov" 9x18
id = HashUtil.generate(); id = HashUtil.generate();
@ -275,15 +273,14 @@ class PraporAssort{
// PM "Makarov" 9x18 // PM "Makarov" 9x18
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderBarterWithPreset(id, "58414967245977598f1ad391", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(id, "58414967245977598f1ad391", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "57347c5b245977448d35f6e1" "_tpl": "57347c5b245977448d35f6e1"
}, { }, {
"count": 1, "count": 1,
"_tpl": "57347c77245977448d35f6e2" "_tpl": "57347c77245977448d35f6e2"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 20000, 5);
], "54cb50c76803fa8b248b4571", 1, false, 20000, 5);
//tt-33 //tt-33
id = HashUtil.generate(); id = HashUtil.generate();
@ -296,15 +293,14 @@ class PraporAssort{
//APS //APS
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderBarterWithPreset(id, "5ac4accf86f774181345c3d7", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(id, "5ac4accf86f774181345c3d7", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "59e35ef086f7741777737012" "_tpl": "59e35ef086f7741777737012"
}, { }, {
"count": 1, "count": 1,
"_tpl": "57347c5b245977448d35f6e1" "_tpl": "57347c5b245977448d35f6e1"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 2000);
], "54cb50c76803fa8b248b4571", 1, false, 2000);
//pp-91 kedr //pp-91 kedr
id = HashUtil.generate(); id = HashUtil.generate();
@ -313,12 +309,11 @@ class PraporAssort{
//PP-19-01 //PP-19-01
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderBarterWithPreset(id, "59b81f7386f77421ac688a0a", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(id, "59b81f7386f77421ac688a0a", "hideout", "hideout", [
[{ [{
"count": 4, "count": 4,
"_tpl": "57347cd0245977445a2d6ff1" "_tpl": "57347cd0245977445a2d6ff1"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 2000, 2);
], "54cb50c76803fa8b248b4571", 1, false, 2000, 2);
//6B34 anti-fragmentation glasses //6B34 anti-fragmentation glasses
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b432be65acfc433000ed01f", "54cb50c76803fa8b248b4571", 3003, "RUB", 1, true, 999999, 3); CoreMod.CreateTraderAssort(HashUtil.generate(), "5b432be65acfc433000ed01f", "54cb50c76803fa8b248b4571", 3003, "RUB", 1, true, 999999, 3);
@ -333,27 +328,25 @@ class PraporAssort{
//Mosin sniper carbine //Mosin sniper carbine
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderBarterWithPreset(id, "5c0c1f2b86f77455912eaefc", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(id, "5c0c1f2b86f77455912eaefc", "hideout", "hideout", [
[{ [{
"count": 5, "count": 5,
"_tpl": "5672cb304bdc2dc2088b456a" "_tpl": "5672cb304bdc2dc2088b456a"
}, { }, {
"count": 8, "count": 8,
"_tpl": "5672cb124bdc2d1a0f8b4568" "_tpl": "5672cb124bdc2d1a0f8b4568"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 2000, 1);
], "54cb50c76803fa8b248b4571", 1, false, 2000, 1);
//SFera-S //SFera-S
CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa7d193e5b5b000171d063f", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa7d193e5b5b000171d063f", "hideout", "hideout", [
[{ [{
"count": 2, "count": 2,
"_tpl": "57347d9c245977448b40fa85" "_tpl": "57347d9c245977448b40fa85"
}, { }, {
"count": 1, "count": 1,
"_tpl": "5d40407c86f774318526545a" "_tpl": "5d40407c86f774318526545a"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 2000, 3);
], "54cb50c76803fa8b248b4571", 1, false, 2000, 3);
//GSSh-01 active headset //GSSh-01 active headset
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b432b965acfc47a8774094e", "54cb50c76803fa8b248b4571", 13039, "RUB", 1, true, 999999); CoreMod.CreateTraderAssort(HashUtil.generate(), "5b432b965acfc47a8774094e", "54cb50c76803fa8b248b4571", 13039, "RUB", 1, true, 999999);
@ -368,37 +361,45 @@ class PraporAssort{
//6B23-1 //6B23-1
CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e5bab86f77461f55ed1f3", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e5bab86f77461f55ed1f3", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "59fafb5d86f774067a6f2084" "_tpl": "59fafb5d86f774067a6f2084"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 1000, 1);
], "54cb50c76803fa8b248b4571", 1, false, 1000, 1);
//VKBO bag //VKBO bag
CoreMod.CreateTraderBarter(HashUtil.generate(), "5ab8ee7786f7742d8f33f0b9", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5ab8ee7786f7742d8f33f0b9", "hideout", "hideout", [
[{ [{
"count": 2, "count": 2,
"_tpl": "5672cb124bdc2d1a0f8b4568" "_tpl": "5672cb124bdc2d1a0f8b4568"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 20000, 3);
], "54cb50c76803fa8b248b4571", 1, false, 20000, 3);
//6sh112 //6sh112
CoreMod.CreateTraderBarter(HashUtil.generate(), "5929a2a086f7744f4b234d43", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5929a2a086f7744f4b234d43", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "575146b724597720a27126d5" "_tpl": "575146b724597720a27126d5"
}, { }, {
"count": 1, "count": 1,
"_tpl": "57347d90245977448f7b7f65" "_tpl": "57347d90245977448f7b7f65"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 2000, 2);
], "54cb50c76803fa8b248b4571", 1, false, 2000, 2);
} }
static GenerateLL2() { static GenerateLL2() {
const CoreMod = require("../../CoreMod/src/Core.js"); const CoreMod = require("../../CoreMod/src/Core.js");
let id = null; let id = null;
//Zenit-BelOMO PSO-1M2-1 4x24 scope
id = HashUtil.generate()
CoreMod.CreateTraderAssort(id, "576fd4ec2459777f0b518431", "54cb50c76803fa8b248b4571", 21565, "RUB", 1, false, 20000, 4);
CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "5967530a86f77462ba22226b"); //Bad rep evidence
//Haxagon 12k supressor
id = HashUtil.generate()
CoreMod.CreateTraderAssort(id, "59c0ec5b86f77435b128bfca", "54cb50c76803fa8b248b4571", 25112, "RUB", 2, false, 10000);
CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "5967725e86f774601a446662"); //Shaking up teller
//9mm PST GZH //9mm PST GZH
CoreMod.CreateTraderAssort(HashUtil.generate(), "56d59d3ad2720bdb418b4577", "54cb50c76803fa8b248b4571", 68, "RUB", 2, true, 999999); CoreMod.CreateTraderAssort(HashUtil.generate(), "56d59d3ad2720bdb418b4577", "54cb50c76803fa8b248b4571", 68, "RUB", 2, true, 999999);
@ -521,83 +522,85 @@ class PraporAssort{
//6L25 //6L25
CoreMod.CreateTraderBarter(HashUtil.generate(), "57838f9f2459774a150289a0", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "57838f9f2459774a150289a0", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "590c639286f774151567fa95" "_tpl": "590c639286f774151567fa95"
} }]
]
], "54cb50c76803fa8b248b4571", 2, false, 2000, 5); ], "54cb50c76803fa8b248b4571", 2, false, 2000, 5);
//6L31
id = HashUtil.generate()
CoreMod.CreateTraderBarter(id, "55d482194bdc2d1d4e8b456b", "hideout", "hideout", [
[{
"count": 1,
"_tpl": "5d1b32c186f774252167a530"
}]
], "54cb50c76803fa8b248b4571", 2, false, 2000, 5);
CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "59675d6c86f7740a842fc482"); //Ice cream cones
//5x45 BT x30 GS box //5x45 BT x30 GS box
CoreMod.CreateTraderBarter(HashUtil.generate(), "57372c89245977685d4159b1", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "57372c89245977685d4159b1", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "590a373286f774287540368b" "_tpl": "590a373286f774287540368b"
} }]
] ], "54cb50c76803fa8b248b4571", 2, false, 2000);
], "54cb50c76803fa8b248b4571", 2, false, 2000);
//RGD-5 Hand grenade //RGD-5 Hand grenade
CoreMod.CreateTraderBarter(HashUtil.generate(), "5448be9a4bdc2dfd2f8b456a", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5448be9a4bdc2dfd2f8b456a", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "590a3cd386f77436f20848cb" "_tpl": "590a3cd386f77436f20848cb"
} }]
] ], "54cb50c76803fa8b248b4571", 2, true, 999999);
], "54cb50c76803fa8b248b4571", 2, true, 999999);
//6L18 //6L18
CoreMod.CreateTraderBarter(HashUtil.generate(), "564ca9df4bdc2d35148b4569", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "564ca9df4bdc2d35148b4569", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "590a3c0a86f774385a33c450" "_tpl": "590a3c0a86f774385a33c450"
}, { }, {
"count": 1, "count": 1,
"_tpl": "590c311186f77424d1667482" "_tpl": "590c311186f77424d1667482"
} }]
] ], "54cb50c76803fa8b248b4571", 2, false, 6000, 10);
], "54cb50c76803fa8b248b4571", 2, false, 6000, 10);
//PPSH Drum mag //PPSH Drum mag
CoreMod.CreateTraderBarter(HashUtil.generate(), "5ea034f65aad6446a939737e", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5ea034f65aad6446a939737e", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "5d1c819a86f774771b0acd6c" "_tpl": "5d1c819a86f774771b0acd6c"
} }]
] ], "54cb50c76803fa8b248b4571", 2, false, 5000, 2);
], "54cb50c76803fa8b248b4571", 2, false, 5000, 2);
//Valday PS-320 1x/6x scope //Valday PS-320 1x/6x scope
CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0517910db83400232ffee5", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0517910db83400232ffee5", "hideout", "hideout", [
[{ [{
"count": 2, "count": 2,
"_tpl": "5d40407c86f774318526545a" "_tpl": "5d40407c86f774318526545a"
}, { }, {
"count": 1, "count": 1,
"_tpl": "590c5f0d86f77413997acfab" "_tpl": "590c5f0d86f77413997acfab"
} }]
] ], "54cb50c76803fa8b248b4571", 2, false, 2000, 2);
], "54cb50c76803fa8b248b4571", 2, false, 2000, 2);
//MPL-50 Entrenching tool //MPL-50 Entrenching tool
CoreMod.CreateTraderBarter(HashUtil.generate(), "5bead2e00db834001c062938", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5bead2e00db834001c062938", "hideout", "hideout", [
[{ [{
"count": 2, "count": 2,
"_tpl": "5b4329075acfc400153b78ff" "_tpl": "5b4329075acfc400153b78ff"
} }]
] ], "54cb50c76803fa8b248b4571", 2, true, 999999);
], "54cb50c76803fa8b248b4571", 2, true, 999999);
//Metal fuel tank //Metal fuel tank
CoreMod.CreateTraderBarter(HashUtil.generate(), "5d1b36a186f7742523398433", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5d1b36a186f7742523398433", "hideout", "hideout", [
[{ [{
"count": 2, "count": 2,
"_tpl": "59fafb5d86f774067a6f2084" "_tpl": "59fafb5d86f774067a6f2084"
}, { }, {
"count": 1, "count": 1,
"_tpl": "5b43575a86f77424f443fe62" "_tpl": "5b43575a86f77424f443fe62"
} }]
] ], "54cb50c76803fa8b248b4571", 2, false, 2000, 1);
], "54cb50c76803fa8b248b4571", 2, false, 2000, 1);
//AK-74N Wood //AK-74N Wood
id = HashUtil.generate(); id = HashUtil.generate();
@ -642,90 +645,83 @@ class PraporAssort{
//AK-74N Black //AK-74N Black
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderBarterWithPreset(id, "AK-74N_Black", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(id, "AK-74N_Black", "hideout", "hideout", [
[{ [{
"count": 5, "count": 5,
"_tpl": "573475fb24597737fb1379e1" "_tpl": "573475fb24597737fb1379e1"
} }]
] ], "54cb50c76803fa8b248b4571", 2, false, 20000, 2);
], "54cb50c76803fa8b248b4571", 2, false, 20000, 2);
//AKS-74UB //AKS-74UB
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderBarterWithPreset(id, "584147982459775a6c55e931", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(id, "584147982459775a6c55e931", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "59e3658a86f7741776641ac4" "_tpl": "59e3658a86f7741776641ac4"
}, { }, {
"count": 2, "count": 2,
"_tpl": "5909e99886f7740c983b9984" "_tpl": "5909e99886f7740c983b9984"
}, { }, {
"count": 1, "count": 1,
"_tpl": "573476d324597737da2adc13" "_tpl": "573476d324597737da2adc13"
} }]
] ], "54cb50c76803fa8b248b4571", 2, false, 1000, 2);
], "54cb50c76803fa8b248b4571", 2, false, 1000, 2);
//AK-74 Plum //AK-74 Plum
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderBarterWithPreset(id, "5dd7f8c524e5d7504a4e3077", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(id, "5dd7f8c524e5d7504a4e3077", "hideout", "hideout", [
[{ [{
"count": 2, "count": 2,
"_tpl": "5c13cef886f774072e618e82" "_tpl": "5c13cef886f774072e618e82"
}, { }, {
"count": 2, "count": 2,
"_tpl": "57347c93245977448d35f6e3" "_tpl": "57347c93245977448d35f6e3"
} }]
] ], "54cb50c76803fa8b248b4571", 2, false, 2000, 2);
], "54cb50c76803fa8b248b4571", 2, false, 2000, 2);
//ks-23m Long //ks-23m Long
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderBarterWithPreset(id, "5f6771214ef1ca4f4e1b8a06", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(id, "5f6771214ef1ca4f4e1b8a06", "hideout", "hideout", [
[{ [{
"count": 4, "count": 4,
"_tpl": "590c2c9c86f774245b1f03f2" "_tpl": "590c2c9c86f774245b1f03f2"
}, { }, {
"count": 4, "count": 4,
"_tpl": "57347cd0245977445a2d6ff1" "_tpl": "57347cd0245977445a2d6ff1"
}, { }, {
"count": 3, "count": 3,
"_tpl": "5909e99886f7740c983b9984" "_tpl": "5909e99886f7740c983b9984"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 2000, 2);
], "54cb50c76803fa8b248b4571", 1, false, 2000, 2);
//SV-98 //SV-98
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderBarterWithPreset(id, "58414a16245977599247970a", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(id, "58414a16245977599247970a", "hideout", "hideout", [
[{ [{
"count": 5, "count": 5,
"_tpl": "573475fb24597737fb1379e1" "_tpl": "573475fb24597737fb1379e1"
}, { }, {
"count": 3, "count": 3,
"_tpl": "573476d324597737da2adc13" "_tpl": "573476d324597737da2adc13"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 2000, 2);
], "54cb50c76803fa8b248b4571", 1, false, 2000, 2);
//MP-443 Grach //MP-443 Grach
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderBarterWithPreset(id, "584148a524597759eb357a44", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(id, "584148a524597759eb357a44", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "573477e124597737dd42e191" "_tpl": "573477e124597737dd42e191"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 2000, 2);
], "54cb50c76803fa8b248b4571", 1, false, 2000, 2);
//SR-1MP //SR-1MP
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderBarterWithPreset(id, "5a327f6386f77479010da870", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(id, "5a327f6386f77479010da870", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "590c5a7286f7747884343aea" "_tpl": "590c5a7286f7747884343aea"
} }]
] ], "54cb50c76803fa8b248b4571", 1, false, 300, 2);
], "54cb50c76803fa8b248b4571", 1, false, 300, 2);
} }
static GenerateLL3() { static GenerateLL3() {
@ -733,28 +729,31 @@ class PraporAssort{
//5.45x39 BS gs 30 pcs ammo pack //5.45x39 BS gs 30 pcs ammo pack
CoreMod.CreateTraderBarter(HashUtil.generate(), "57372bd3245977670b7cd243", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "57372bd3245977670b7cd243", "hideout", "hideout", [
[{ [{
"count": 2, "count": 2,
"_tpl": "5751496424597720a27126da" "_tpl": "5751496424597720a27126da"
}, { }, {
"count": 2, "count": 2,
"_tpl": "573476d324597737da2adc13" "_tpl": "573476d324597737da2adc13"
} }]
] ], "54cb50c76803fa8b248b4571", 3, false, 3000, 3);
], "54cb50c76803fa8b248b4571", 3, false, 3000, 3);
//9x39 SPP 8pcs ammo pack //9x39 SPP 8pcs ammo pack
CoreMod.CreateTraderBarter(HashUtil.generate(), "5c12619186f7743f871c8a32", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5c12619186f7743f871c8a32", "hideout", "hideout", [
[{ [{
"count": 2, "count": 2,
"_tpl": "5734795124597738002c6176" "_tpl": "5734795124597738002c6176"
} }]
] ], "54cb50c76803fa8b248b4571", 3, false, 2000, 50);
], "54cb50c76803fa8b248b4571", 3, false, 2000, 50);
//5.45x39mm BP gs //5.45x39mm BP gs
CoreMod.CreateTraderAssort(HashUtil.generate(), "56dfef82d2720bbd668b4567", "54cb50c76803fa8b248b4571", 415, "RUB", 3, false, 300000, 300); CoreMod.CreateTraderAssort(HashUtil.generate(), "56dfef82d2720bbd668b4567", "54cb50c76803fa8b248b4571", 415, "RUB", 3, false, 300000, 300);
//7.62x39mm BP gzh
id = HashUtil.generate()
CoreMod.CreateTraderAssort(id, "56dfef82d2720bbd668b4567", "54cb50c76803fa8b248b4571", 985, "RUB", 3, false, 300000, 300);
CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "59ca29fb86f77445ab465c87"); //Punisher part5
//5.45x39mm BT gs //5.45x39mm BT gs
CoreMod.CreateTraderAssort(HashUtil.generate(), "56dff061d2720bb5668b4567", "54cb50c76803fa8b248b4571", 641, "RUB", 3, false, 300000); CoreMod.CreateTraderAssort(HashUtil.generate(), "56dff061d2720bb5668b4567", "54cb50c76803fa8b248b4571", 641, "RUB", 3, false, 300000);
@ -823,24 +822,22 @@ class PraporAssort{
//9x39 sr3m,130 30-round magazine //9x39 sr3m,130 30-round magazine
CoreMod.CreateTraderBarter(HashUtil.generate(), "5a9e81fba2750c00164f6b11", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5a9e81fba2750c00164f6b11", "hideout", "hideout", [
[{ [{
"count": 4, "count": 4,
"_tpl": "590c2b4386f77425357b6123" "_tpl": "590c2b4386f77425357b6123"
} }]
] ], "54cb50c76803fa8b248b4571", 3, false, 6000, 5);
], "54cb50c76803fa8b248b4571", 3, false, 6000, 5);
//ak 7.62x39 bakelite 40-round magazine //ak 7.62x39 bakelite 40-round magazine
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b1fb3e15acfc4001637f068", "54cb50c76803fa8b248b4571", 3909, "RUB", 3, false, 2000); CoreMod.CreateTraderAssort(HashUtil.generate(), "5b1fb3e15acfc4001637f068", "54cb50c76803fa8b248b4571", 3909, "RUB", 3, false, 2000);
//rpk-16 5.45x39 95-round drum magazine //rpk-16 5.45x39 95-round drum magazine
CoreMod.CreateTraderBarter(HashUtil.generate(), "5bed625c0db834001c062946", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5bed625c0db834001c062946", "hideout", "hideout", [
[{ [{
"count": 4, "count": 4,
"_tpl": "590c2b4386f77425357b6123" "_tpl": "590c2b4386f77425357b6123"
} }]
] ], "54cb50c76803fa8b248b4571", 3, false, 2000, 2);
], "54cb50c76803fa8b248b4571", 3, false, 2000, 2);
//svd 7.62x54r 10-round magazine //svd 7.62x54r 10-round magazine
CoreMod.CreateTraderAssort(HashUtil.generate(), "5c471c442e221602b542a6f8", "54cb50c76803fa8b248b4571", 4000, "RUB", 3, true, 999999); CoreMod.CreateTraderAssort(HashUtil.generate(), "5c471c442e221602b542a6f8", "54cb50c76803fa8b248b4571", 4000, "RUB", 3, true, 999999);
@ -879,7 +876,9 @@ class PraporAssort{
CoreMod.CreateTraderAssort(HashUtil.generate(), "57c44dd02459772d2e0ae249", "54cb50c76803fa8b248b4571", 25448, "RUB", 3, false, 2000); CoreMod.CreateTraderAssort(HashUtil.generate(), "57c44dd02459772d2e0ae249", "54cb50c76803fa8b248b4571", 25448, "RUB", 3, false, 2000);
//pbs-4 5.45x39 sound suppressor //pbs-4 5.45x39 sound suppressor
CoreMod.CreateTraderAssort(HashUtil.generate(), "57ffb0e42459777d047111c5", "54cb50c76803fa8b248b4571", 35961, "RUB", 3, false, 10000); id = HashUtil.generate()
CoreMod.CreateTraderAssort(id, "57ffb0e42459777d047111c5", "54cb50c76803fa8b248b4571", 35961, "RUB", 3, false, 10000);
CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "5967725e86f774601a446662"); //Shaking up teller
//pbs-1 7.62x39 sound suppressor //pbs-1 7.62x39 sound suppressor
CoreMod.CreateTraderAssort(HashUtil.generate(), "5a0d63621526d8dba31fe3bf", "54cb50c76803fa8b248b4571", 52512, "RUB", 3, false, 2000); CoreMod.CreateTraderAssort(HashUtil.generate(), "5a0d63621526d8dba31fe3bf", "54cb50c76803fa8b248b4571", 52512, "RUB", 3, false, 2000);
@ -994,27 +993,25 @@ class PraporAssort{
//rpk-16 5.45x39 light machine gun //rpk-16 5.45x39 light machine gun
CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "5c0d1ec986f77439512a1a72", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "5c0d1ec986f77439512a1a72", "hideout", "hideout", [
[{ [{
"count": 2, "count": 2,
"_tpl": "590c5a7286f7747884343aea" "_tpl": "590c5a7286f7747884343aea"
}, { }, {
"count": 3, "count": 3,
"_tpl": "5d1c819a86f774771b0acd6c" "_tpl": "5d1c819a86f774771b0acd6c"
} }]
] ], "54cb50c76803fa8b248b4571", 3, false, 2000, 2);
], "54cb50c76803fa8b248b4571", 3, false, 2000, 2);
//vss vintorez 9x39 special sniper rifle //vss vintorez 9x39 special sniper rifle
CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "58414a3f2459775a77263531", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "58414a3f2459775a77263531", "hideout", "hideout", [
[{ [{
"count": 10, "count": 10,
"_tpl": "590c595c86f7747884343ad7" "_tpl": "590c595c86f7747884343ad7"
}, { }, {
"count": 5, "count": 5,
"_tpl": "59e7715586f7742ee5789605" "_tpl": "59e7715586f7742ee5789605"
} }]
] ], "54cb50c76803fa8b248b4571", 3, false, 200, 1);
], "54cb50c76803fa8b248b4571", 3, false, 200, 1);
//svds 7.62x54r sniper rifle //svds 7.62x54r sniper rifle
CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5c98be1e86f7741cc96ffd79", "54cb50c76803fa8b248b4571", 94772, "RUB", 3, false, 20000); CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5c98be1e86f7741cc96ffd79", "54cb50c76803fa8b248b4571", 94772, "RUB", 3, false, 20000);
@ -1024,45 +1021,70 @@ class PraporAssort{
//6kh5 bayonet //6kh5 bayonet
CoreMod.CreateTraderBarter(HashUtil.generate(), "5bffdc370db834001d23eca8", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5bffdc370db834001d23eca8", "hideout", "hideout", [
[{ [{
"count": 2, "count": 2,
"_tpl": "5c0fa877d174af02a012e1cf" "_tpl": "5c0fa877d174af02a012e1cf"
}, { }, {
"count": 1, "count": 1,
"_tpl": "59e7715586f7742ee5789605" "_tpl": "59e7715586f7742ee5789605"
} }]
] ], "54cb50c76803fa8b248b4571", 3, true, 2000);
], "54cb50c76803fa8b248b4571", 3, true, 2000);
//toz ks-23m 23x75mm pump-action shotgun //toz ks-23m 23x75mm pump-action shotgun
CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5f6771214ef1ca4f4e1b8a06", "54cb50c76803fa8b248b4571", 45790, "RUB", 3, false, 20000); CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5f6771214ef1ca4f4e1b8a06", "54cb50c76803fa8b248b4571", 45790, "RUB", 3, false, 20000);
//sv-98 7.62x54r bolt-action sniper rifle //sv-98 7.62x54r bolt-action sniper rifle
CoreMod.CreateTraderAssort(HashUtil.generate(), "55801eed4bdc2d89578b4588", "54cb50c76803fa8b248b4571", 35204, "RUB", 3, true, 999999); id = HashUtil.generate()
CoreMod.CreateTraderAssortWithPreset(id, "58414a16245977599247970a", "54cb50c76803fa8b248b4571", 35204, "RUB", 3, true, 999999);
CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "59c50a9e86f7745fef66f4ff"); //The punisher p1
//bnti korund-vm armor //bnti korund-vm armor
CoreMod.CreateTraderBarter(HashUtil.generate(), "5f5f41476bdad616ad46d631", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5f5f41476bdad616ad46d631", "hideout", "hideout", [
[{ [{
"count": 4, "count": 4,
"_tpl": "590c645c86f77412b01304d9" "_tpl": "590c645c86f77412b01304d9"
} }]
] ], "54cb50c76803fa8b248b4571", 3, false, 2000, 1);
], "54cb50c76803fa8b248b4571", 3, false, 2000, 1);
//6sh118 raid backpack //6sh118 raid backpack
CoreMod.CreateTraderBarter(HashUtil.generate(), "5df8a4d786f77412672a1e3b", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5df8a4d786f77412672a1e3b", "hideout", "hideout", [
[{ [{
"count": 9, "count": 9,
"level": 25, "level": 25,
"side": "usec", "side": "usec",
"_tpl": "59f32c3b86f77472a31742f0" "_tpl": "59f32c3b86f77472a31742f0"
} }]
] ], "54cb50c76803fa8b248b4571", 3, false, 2000, 1);
], "54cb50c76803fa8b248b4571", 3, false, 2000, 1);
//5,45x39mm BT gs
id = HashUtil.generate()
CoreMod.CreateTraderAssort(id, "56dff061d2720bb5668b4567", "54cb50c76803fa8b248b4571", 641, "RUB", 3, true, 99999, 500);
CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "59ca264786f77445a80ed044")
} }
static GenerateLL4() { static GenerateLL4() {
const CoreMod = require("../../CoreMod/src/Core.js"); const CoreMod = require("../../CoreMod/src/Core.js");
//9x39 BP gs 8 pcs. ammo pack
id = HashUtil.generate()
CoreMod.CreateTraderBarter(id, "5c1260dc86f7746b106e8748", "hideout", "hideout", [
[{
"count": 1,
"_tpl": "5734770f24597738025ee254"
}]
], "54cb50c76803fa8b248b4571", 4, false, 2500, 10);
CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571","success",id,"5c0d190cd09282029f5390d8"); // Grenadier
//7.62x54r BT gzh
id = HashUtil.generate()
CoreMod.CreateTraderAssort(id, "5e023d34e8a400319a28ed44", "54cb50c76803fa8b248b4571", 1057, "RUB", 4, true, 99999, 200);
CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "59c512ad86f7741f0d09de9b")
//12,7x55 mm PS12B
id = HashUtil.generate()
CoreMod.CreateTraderAssort(id, "5cadf6eeae921500134b2799", "54cb50c76803fa8b248b4571", 695, "RUB", 4, true, 99999, 200);
CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success", id, "5c0d190cd09282029f5390d8")// Grenadier
//7.62x54r snb //7.62x54r snb
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d61e84bdc2da74d8b4571", "54cb50c76803fa8b248b4571", 816, "RUB", 4, false, 2000); CoreMod.CreateTraderAssort(HashUtil.generate(), "560d61e84bdc2da74d8b4571", "54cb50c76803fa8b248b4571", 816, "RUB", 4, false, 2000);
@ -1138,62 +1160,70 @@ class PraporAssort{
//npp klass condor glasses //npp klass condor glasses
CoreMod.CreateTraderAssort(HashUtil.generate(), "603409c80ca681766b6a0fb2", "54cb50c76803fa8b248b4571", 16744, "RUB", 4, false, 10000, 2); CoreMod.CreateTraderAssort(HashUtil.generate(), "603409c80ca681766b6a0fb2", "54cb50c76803fa8b248b4571", 16744, "RUB", 4, false, 10000, 2);
//ash-12 12.7x55 assault rifle silenced
CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "ASH-12_Silenced_LL4", "hideout", "hideout", [
[{
"count": 1,
"_tpl": "5d0376a486f7747d8050965c"
}, {
"count": 1,
"_tpl": "5c06779c86f77426e00dd782"
}]
], "54cb50c76803fa8b248b4571", 4, false, 2000, 1);
//ash-12 12.7x55 assault rifle //ash-12 12.7x55 assault rifle
CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "5d23467086f77443f37fc602", "hideout", "hideout", [ id = HashUtil.generate()
[{ CoreMod.CreateTraderBarterWithPreset(id, "5d23467086f77443f37fc602", "hideout", "hideout", [
"count": 1, [{
"_tpl": "5d0376a486f7747d8050965c" "count": 2,
}, { "_tpl": "5d40407c86f774318526545a"
"count": 1, }]
"_tpl": "5c06779c86f77426e00dd782" ], "54cb50c76803fa8b248b4571", 4, false, 2000, 1);
} CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571","success",id,"5d4bec3486f7743cac246665"); //Regulated materials
]
], "54cb50c76803fa8b248b4571", 4, false, 2000, 1);
//rpk-16 5.45x39 light machine gun //rpk-16 5.45x39 light machine gun
CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5c0d1ec986f77439512a1a72", "54cb50c76803fa8b248b4571", 68452, "RUB", 4, false, 2000); CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5c0d1ec986f77439512a1a72", "54cb50c76803fa8b248b4571", 68452, "RUB", 4, false, 2000);
//vss vintorez 9x39 special sniper rifle //vss vintorez 9x39 special sniper rifle
CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "58414a3f2459775a77263531", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "58414a3f2459775a77263531", "hideout", "hideout", [
[{ [{
"count": 4, "count": 4,
"_tpl": "5d40419286f774318526545f" "_tpl": "5d40419286f774318526545f"
}, { }, {
"count": 7, "count": 7,
"_tpl": "5d4042a986f7743185265463" "_tpl": "5d4042a986f7743185265463"
} }]
] ], "54cb50c76803fa8b248b4571", 4, false, 5000, 1);
], "54cb50c76803fa8b248b4571", 4, false, 5000, 1);
//6b43 zabralo-sh 6a body armor //6b43 zabralo-sh 6a body armor
CoreMod.CreateTraderBarter(HashUtil.generate(), "545cdb794bdc2d3a198b456a", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "545cdb794bdc2d3a198b456a", "hideout", "hideout", [
[{ [{
"count": 3, "count": 3,
"_tpl": "60391a8b3364dc22b04d0ce5" "_tpl": "60391a8b3364dc22b04d0ce5"
}, { }, {
"count": 3, "count": 3,
"_tpl": "60391b0fb847c71012789415" "_tpl": "60391b0fb847c71012789415"
} }]
] ], "54cb50c76803fa8b248b4571", 4, false, 300, 1);
], "54cb50c76803fa8b248b4571", 4, false, 300, 1);
//bnti korund-vm armor //bnti korund-vm armor
CoreMod.CreateTraderAssort(HashUtil.generate(), "5f5f41476bdad616ad46d631", "54cb50c76803fa8b248b4571", 112619, "RUB", 4, false, 20000); CoreMod.CreateTraderAssort(HashUtil.generate(), "5f5f41476bdad616ad46d631", "54cb50c76803fa8b248b4571", 112619, "RUB", 4, false, 20000);
//6sh118 raid backpack //6sh118 raid backpack
CoreMod.CreateTraderBarter(HashUtil.generate(), "5df8a4d786f77412672a1e3b", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5df8a4d786f77412672a1e3b", "hideout", "hideout", [
[{ [{
"count": 2, "count": 2,
"_tpl": "5d0375ff86f774186372f685" "_tpl": "5d0375ff86f774186372f685"
} }]
] ], "54cb50c76803fa8b248b4571", 4, false, 4000, 1);
], "54cb50c76803fa8b248b4571", 4, false, 4000, 1);
} }
static generatePraporAssort() { static generatePraporAssort() {
PraporAssort.GenerateLL1(); PraporAssort.GenerateLL1();
PraporAssort.GenerateLL2(); PraporAssort.GenerateLL2();
PraporAssort.GenerateLL3(); PraporAssort.GenerateLL3();
PraporAssort.GenerateLL4(); PraporAssort.GenerateLL4();
VFS.writeFile(`./traders/54cb50c76803fa8b248b4571/assort.json`, JsonUtil.serialize(DatabaseServer.tables.traders["54cb50c76803fa8b248b4571"].assort, true))
VFS.writeFile(`./traders/54cb50c76803fa8b248b4571/questassort.json`, JsonUtil.serialize(DatabaseServer.tables.traders["54cb50c76803fa8b248b4571"].questassort, true))
} }
} }