format file

This commit is contained in:
Chomp 2021-07-27 13:24:36 +01:00
parent 6859e17256
commit 9c8ae90371

View File

@ -1,14 +1,16 @@
/*
エレシュキガル
*/
*/
class JeagerAssort
{
class JeagerAssort{
static GenerateLL1()
{
static GenerateLL1() {
const CoreMod = require("../../CoreMod/src/Core.js");
DatabaseServer.tables.traders["5c0647fdd443bc2504c2d371"].assort = { "items": [], "barter_scheme": {}, "loyal_level_items": {} };
DatabaseServer.tables.traders["5c0647fdd443bc2504c2d371"].assort = {
"items": [],
"barter_scheme": {},
"loyal_level_items": {}
};
let id = null;
// ASSORT ID ITEM TEMPLATE TRADER ID PRICE CURRENCY LOYALTY UNLIMITED STOCK MAXIMUM BUY
//Name
@ -226,8 +228,7 @@ class JeagerAssort
//Name
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "5c0647fdd443bc2504c2d371", 35, "USD", 1, true, 999999);
}
static GenerateLL2()
{
static GenerateLL2() {
const CoreMod = require("../../CoreMod/src/Core.js");
let id = null;
@ -429,96 +430,93 @@ class JeagerAssort
//Name
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "5c0647fdd443bc2504c2d371", 35, "USD", 1, true, 999999);
}
static GenerateLL3()
{
static GenerateLL3() {
const CoreMod = require("../../CoreMod/src/Core.js");
let id = null;
}
static GenerateLL4()
{
static GenerateLL4() {
const CoreMod = require("../../CoreMod/src/Core.js");
//5.56x45 Warmageddon 20 pcs. ammo pack
//5.56x45 Warmageddon 20 pcs. ammo pack
CoreMod.CreateTraderBarter(HashUtil.generate(), "5c11279ad174af029d64592b", "hideout", "hideout", [[{
"count": 2,
"_tpl": "57347d5f245977448b40fa81"
}
]], "5c0647fdd443bc2504c2d371", 4, false, 2000, 5);
//9x19mm RIP 20-round ammo box
//9x19mm RIP 20-round ammo box
CoreMod.CreateTraderBarter(HashUtil.generate(), "5c1127bdd174af44217ab8b9", "hideout", "hideout", [[{
"count": 1,
"_tpl": "575062b524597720a31c09a1"
}
]], "5c0647fdd443bc2504c2d371", 4, false, 2000, 5);
//12/70 RIP 5 shell ammo box
//12/70 RIP 5 shell ammo box
CoreMod.CreateTraderAssort(HashUtil.generate(), "5c1127d0d174af29be75cf68", "5c0647fdd443bc2504c2d371", 1050, "RUB", 4, false, 20000, 20);
//12/70 AP-20 slug
//12/70 AP-20 slug
CoreMod.CreateTraderAssort(HashUtil.generate(), "5d6e68a8a4b9360b6c0d54e2", "5c0647fdd443bc2504c2d371", 323, "RUB", 4, false, 80000);
//12/70 shell with .50 bmg bullet
CoreMod.CreateTraderAssort(HashUtil.generate(), "5d6e68c4a4b9361b93413f79", "5c0647fdd443bc2504c2d371", 131, "RUB", 4, false, 20000);
//12/70 superFormance hp slug
//12/70 shell with .50 bmg bullet
CoreMod.CreateTraderAssort(HashUtil.generate(), "5d6e68c4a4b9361b93413f79", "5c0647fdd443bc2504c2d371", 131, "RUB", 4, false, 20000);
//12/70 superFormance hp slug
CoreMod.CreateTraderAssort(HashUtil.generate(), "5d6e68d1a4b93622fe60e845", "5c0647fdd443bc2504c2d371", 202, "RUB", 4, false, 20000);
//7.62x51mm ultra nosler
CoreMod.CreateTraderAssort(HashUtil.generate(), "5e023e88277cce2b522ff2b1", "5c0647fdd443bc2504c2d371", 336, "RUB", 4, false, 200000);
//.338 lapua magnum upz
//7.62x51mm ultra nosler
CoreMod.CreateTraderAssort(HashUtil.generate(), "5e023e88277cce2b522ff2b1", "5c0647fdd443bc2504c2d371", 336, "RUB", 4, false, 200000);
//.338 lapua magnum upz
CoreMod.CreateTraderAssort(HashUtil.generate(), "5fc382c1016cce60e8341b20", "5c0647fdd443bc2504c2d371", 788, "RUB", 4, false, 20000);
//Mk-18 .338 LM 10-round magazine
//Mk-18 .338 LM 10-round magazine
CoreMod.CreateTraderAssort(HashUtil.generate(), "5fc23426900b1d5091531e15", "5c0647fdd443bc2504c2d371", 887, "RUB", 4, false, 20000);
//SilencerCo AC-858 ASR .338 LM Muzzle brake
//SilencerCo AC-858 ASR .338 LM Muzzle brake
CoreMod.CreateTraderAssort(HashUtil.generate(), "5fc23636016cce60e8341b05", "5c0647fdd443bc2504c2d371", 8526, "RUB", 4, false, 2000);
//rb-psp2 key
//rb-psp2 key
CoreMod.CreateTraderBarter(HashUtil.generate(), "5d95d6fa86f77424484aa5e9", "hideout", "hideout", [[{
"count": 7,
"_tpl": "5e2aee0a86f774755a234b62"
},{
}, {
"count": 10,
"_tpl": "5e2aedd986f7746d404f3aa4"
},{
}, {
"count": 5,
"_tpl": "5d4042a986f7743185265463"
}
]], "5c0647fdd443bc2504c2d371", 4, true, 10, 4);
//march tactical 3-24x42 ffp optical scope
CoreMod.CreateTraderAssort(HashUtil.generate(), "57c5ac0824597754771e88a9", "5c0647fdd443bc2504c2d371", 43697, "RUB", 4, false, 15000);
//nightforce atacr 7-35x56 riflescope
CoreMod.CreateTraderAssort(HashUtil.generate(), "5aa66be6e5b5b0214e506e97", "5c0647fdd443bc2504c2d371", 92187, "RUB", 4, false, 2000);
//ncstar ado p4 sniper 3-9x42 riflescope
CoreMod.CreateTraderAssort(HashUtil.generate(), "5dfe6104585a0c3e995c7b82", "5c0647fdd443bc2504c2d371", 53912, "RUB", 4, false, 2000);
//Armasight Vulcan MG 3.5x night vision scope
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b3b6e495acfc4330140bd88", "5c0647fdd443bc2504c2d371", 49298, "RUB", 4, false, 2000);
//FLIR RS-32 2.25-9x 35mm 60Hz thermal riflescope
//march tactical 3-24x42 ffp optical scope
CoreMod.CreateTraderAssort(HashUtil.generate(), "57c5ac0824597754771e88a9", "5c0647fdd443bc2504c2d371", 43697, "RUB", 4, false, 15000);
//nightforce atacr 7-35x56 riflescope
CoreMod.CreateTraderAssort(HashUtil.generate(), "5aa66be6e5b5b0214e506e97", "5c0647fdd443bc2504c2d371", 92187, "RUB", 4, false, 2000);
//ncstar ado p4 sniper 3-9x42 riflescope
CoreMod.CreateTraderAssort(HashUtil.generate(), "5dfe6104585a0c3e995c7b82", "5c0647fdd443bc2504c2d371", 53912, "RUB", 4, false, 2000);
//Armasight Vulcan MG 3.5x night vision scope
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b3b6e495acfc4330140bd88", "5c0647fdd443bc2504c2d371", 49298, "RUB", 4, false, 2000);
//FLIR RS-32 2.25-9x 35mm 60Hz thermal riflescope
CoreMod.CreateTraderAssort(HashUtil.generate(), "5d1b5e94d7ad1a2b865a96b0", "5c0647fdd443bc2504c2d371", 676550, "RUB", 4, false, 2000, 1);
//t-7 thermal goggles with night vision mount
//t-7 thermal goggles with night vision mount
CoreMod.CreateTraderAssort(HashUtil.generate(), "5c110624d174af029e69734c", "5c0647fdd443bc2504c2d371", 17388000, "RUB", 4, false, 10, 1);
//nightforce magmount 34mm rings
//nightforce magmount 34mm rings
CoreMod.CreateTraderAssort(HashUtil.generate(), "5aa66a9be5b5b0214e506e89", "5c0647fdd443bc2504c2d371", 9985, "RUB", 4, false, 2000);
//Nightforce Magmount 34mm rings with Ruggedized Accessory Platform
//Nightforce Magmount 34mm rings with Ruggedized Accessory Platform
CoreMod.CreateTraderAssort(HashUtil.generate(), "5aa66c72e5b5b00016327c93", "5c0647fdd443bc2504c2d371", 6611, "RUB", 4, false, 2000);
//Burris ar-p.e.p.r. 30mm ring mount
//Burris ar-p.e.p.r. 30mm ring mount
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b2389515acfc4771e1be0c0", "5c0647fdd443bc2504c2d371", 10068, "RUB", 4, false, 2000);
}
static generateJeagerAssort()
{
static generateJeagerAssort() {
JeagerAssort.GenerateLL1();
JeagerAssort.GenerateLL2();
JeagerAssort.GenerateLL3();
@ -526,4 +524,4 @@ class JeagerAssort
}
}
module.exports = JeagerAssort;
module.exports = JeagerAssort;