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"); 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; 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
//Name //Name
@ -226,8 +228,7 @@ class JeagerAssort
//Name //Name
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "5c0647fdd443bc2504c2d371", 35, "USD", 1, true, 999999); CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "5c0647fdd443bc2504c2d371", 35, "USD", 1, true, 999999);
} }
static GenerateLL2() static GenerateLL2() {
{
const CoreMod = require("../../CoreMod/src/Core.js"); const CoreMod = require("../../CoreMod/src/Core.js");
let id = null; let id = null;
@ -429,13 +430,11 @@ class JeagerAssort
//Name //Name
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "5c0647fdd443bc2504c2d371", 35, "USD", 1, true, 999999); CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "5c0647fdd443bc2504c2d371", 35, "USD", 1, true, 999999);
} }
static GenerateLL3() static GenerateLL3() {
{
const CoreMod = require("../../CoreMod/src/Core.js"); const CoreMod = require("../../CoreMod/src/Core.js");
let id = null; let id = null;
} }
static GenerateLL4() static GenerateLL4() {
{
const CoreMod = require("../../CoreMod/src/Core.js"); const CoreMod = require("../../CoreMod/src/Core.js");
//5.56x45 Warmageddon 20 pcs. ammo pack //5.56x45 Warmageddon 20 pcs. ammo pack
@ -480,10 +479,10 @@ class JeagerAssort
CoreMod.CreateTraderBarter(HashUtil.generate(), "5d95d6fa86f77424484aa5e9", "hideout", "hideout", [[{ CoreMod.CreateTraderBarter(HashUtil.generate(), "5d95d6fa86f77424484aa5e9", "hideout", "hideout", [[{
"count": 7, "count": 7,
"_tpl": "5e2aee0a86f774755a234b62" "_tpl": "5e2aee0a86f774755a234b62"
},{ }, {
"count": 10, "count": 10,
"_tpl": "5e2aedd986f7746d404f3aa4" "_tpl": "5e2aedd986f7746d404f3aa4"
},{ }, {
"count": 5, "count": 5,
"_tpl": "5d4042a986f7743185265463" "_tpl": "5d4042a986f7743185265463"
} }
@ -517,8 +516,7 @@ 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();