Format file

This commit is contained in:
Chomp 2021-08-05 16:46:38 +01:00
parent 3aac0a6795
commit c80a6bc4dd

View File

@ -1,12 +1,10 @@
/* /*
エレシュキガル エレシュキガル
*/ */
class SkierAssort class SkierAssort{
{
static GenerateLL1() static GenerateLL1() {
{
const CoreMod = require("../../CoreMod/src/Core.js"); const CoreMod = require("../../CoreMod/src/Core.js");
DatabaseServer.tables.traders["58330581ace78e27b8b10cee"].assort = { DatabaseServer.tables.traders["58330581ace78e27b8b10cee"].assort = {
"items": [], "items": [],
@ -122,46 +120,44 @@ class SkierAssort
//RP-1 Charging handle //RP-1 Charging handle
CoreMod.CreateTraderBarter(HashUtil.generate(), "5648ac824bdc2ded0b8b457d", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5648ac824bdc2ded0b8b457d", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "5734781f24597737e04bf32a" "_tpl": "5734781f24597737e04bf32a"
}, { }, {
"count": 1, "count": 1,
"_tpl": "5c06779c86f77426e00dd782" "_tpl": "5c06779c86f77426e00dd782"
}] }
], "58330581ace78e27b8b10cee", 1, false, 5000, 4); ]
], "58330581ace78e27b8b10cee", 1, false, 5000, 4);
//Zhuk-3 Press //Zhuk-3 Press
CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e5edb86f77461f55ed1f7", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e5edb86f77461f55ed1f7", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "59e3658a86f7741776641ac4" "_tpl": "59e3658a86f7741776641ac4"
}, { }, {
"count": 1, "count": 1,
"_tpl": "5b4329075acfc400153b78ff" "_tpl": "5b4329075acfc400153b78ff"
}] }
], "58330581ace78e27b8b10cee", 1, false, 2000, 1); ]
], "58330581ace78e27b8b10cee", 1, false, 2000, 1);
//VPO-136 //VPO-136
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderAssortWithPreset(id, "59ef24b986f77439987b8762", "58330581ace78e27b8b10cee", 32420, "RUB", 1, false, 150000, 5); CoreMod.CreateTraderAssortWithPreset(id, "59ef24b986f77439987b8762", "58330581ace78e27b8b10cee", 32420, "RUB", 1, false, 150000, 5);
//VPO-209 //VPO-209
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderAssortWithPreset(id, "59ef247086f77439967a900a", "58330581ace78e27b8b10cee", 29392, "RUB", 1, false, 100000); CoreMod.CreateTraderAssortWithPreset(id, "59ef247086f77439967a900a", "58330581ace78e27b8b10cee", 29392, "RUB", 1, false, 100000);
//Adar 2-15 //Adar 2-15
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderAssortWithPreset(id, "5c10fcb186f774533e5529ab", "58330581ace78e27b8b10cee", 45819, "RUB", 1, false, 20000, 4); CoreMod.CreateTraderAssortWithPreset(id, "5c10fcb186f774533e5529ab", "58330581ace78e27b8b10cee", 45819, "RUB", 1, false, 20000, 4);
//TOZ-006 //TOZ-006
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderAssortWithPreset(id, "5a3a859786f7747e2305e8bf", "58330581ace78e27b8b10cee", 8917, "RUB", 1, true, 999999); CoreMod.CreateTraderAssortWithPreset(id, "5a3a859786f7747e2305e8bf", "58330581ace78e27b8b10cee", 8917, "RUB", 1, true, 999999);
//Saiga-9 //Saiga-9
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderAssortWithPreset(id, "5a13df5286f774032f5454a0", "58330581ace78e27b8b10cee", 16198, "RUB", 1, true, 99999); CoreMod.CreateTraderAssortWithPreset(id, "5a13df5286f774032f5454a0", "58330581ace78e27b8b10cee", 16198, "RUB", 1, true, 99999);
@ -169,31 +165,31 @@ class SkierAssort
//VPO-136 //VPO-136
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderBarterWithPreset(id, "59ef24b986f77439987b8762", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(id, "59ef24b986f77439987b8762", "hideout", "hideout", [
[{ [{
"count": 2, "count": 2,
"_tpl": "573478bc24597738002c6175" "_tpl": "573478bc24597738002c6175"
}] }
], "58330581ace78e27b8b10cee", 1, false, 20000); ]
], "58330581ace78e27b8b10cee", 1, false, 20000);
//MP-153 //MP-153
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderBarterWithPreset(id, "58414907245977598f1ad38d", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(id, "58414907245977598f1ad38d", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "591ae8f986f77406f854be45" "_tpl": "591ae8f986f77406f854be45"
}, { }, {
"count": 1, "count": 1,
"_tpl": "5913651986f774432f15d132" "_tpl": "5913651986f774432f15d132"
}, { }, {
"count": 1, "count": 1,
"_tpl": "5a0eb38b86f774153b320eb0" "_tpl": "5a0eb38b86f774153b320eb0"
}] }
], "58330581ace78e27b8b10cee", 1, false, 5000, 2); ]
], "58330581ace78e27b8b10cee", 1, false, 5000, 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;
@ -351,22 +347,21 @@ class SkierAssort
//SIG MCX .300 //SIG MCX .300
id = HashUtil.generate(); id = HashUtil.generate();
CoreMod.CreateTraderBarterWithPreset(id, "5fd251a31189a17bcc172662", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(id, "5fd251a31189a17bcc172662", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "5c1265fc86f7743f896a21c2" "_tpl": "5c1265fc86f7743f896a21c2"
}, { }, {
"count": 1, "count": 1,
"_tpl": "5bc9b720d4351e450201234b" "_tpl": "5bc9b720d4351e450201234b"
}] }
], "58330581ace78e27b8b10cee", 1, false, 10000, 2); ]
], "58330581ace78e27b8b10cee", 1, false, 10000, 2);
} }
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.56x45mm m855a1 //5.56x45mm m855a1
@ -397,42 +392,45 @@ class SkierAssort
CoreMod.CreateTraderAssort(HashUtil.generate(), "59f9d81586f7744c7506ee62", "58330581ace78e27b8b10cee", 29725, "RUB", 4, false, 2000); CoreMod.CreateTraderAssort(HashUtil.generate(), "59f9d81586f7744c7506ee62", "58330581ace78e27b8b10cee", 29725, "RUB", 4, false, 2000);
//AK 5.45x39 TGP-A muzzle device/suppressor //AK 5.45x39 TGP-A muzzle device/suppressor
CoreMod.CreateTraderBarter(HashUtil.generate(), "564caa3d4bdc2d17108b458e", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "564caa3d4bdc2d17108b458e", "hideout", "hideout", [
[{ [{
"count": 4, "count": 4,
"side": "BEAR", "side": "BEAR",
"level": 20, "level": 20,
"_tpl": "59f32bb586f774757e1e8442" "_tpl": "59f32bb586f774757e1e8442"
}] }
], "58330581ace78e27b8b10cee", 4, false, 15000); ]
], "58330581ace78e27b8b10cee", 4, false, 15000);
//AK Hexagon DTKP MK.2 7.62x39 sound suppressor //AK Hexagon DTKP MK.2 7.62x39 sound suppressor
CoreMod.CreateTraderAssort(HashUtil.generate(), "5e208b9842457a4a7a33d074", "58330581ace78e27b8b10cee", 59472, "RUB", 4, false, 7000); CoreMod.CreateTraderAssort(HashUtil.generate(), "5e208b9842457a4a7a33d074", "58330581ace78e27b8b10cee", 59472, "RUB", 4, false, 7000);
//SIG Sauer SRD762-QD 7.62x51 sound suppressor //SIG Sauer SRD762-QD 7.62x51 sound suppressor
CoreMod.CreateTraderBarter(HashUtil.generate(), "5fbe760793164a5b6278efc8", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5fbe760793164a5b6278efc8", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "5e54f62086f774219b0f1937" "_tpl": "5e54f62086f774219b0f1937"
}] }
], "58330581ace78e27b8b10cee", 4, false, 2000, 1); ]
], "58330581ace78e27b8b10cee", 4, false, 2000, 1);
//hensoldt ff 4-16x56 scope //hensoldt ff 4-16x56 scope
CoreMod.CreateTraderAssort(HashUtil.generate(), "56ea70acd2720b844b8b4594", "58330581ace78e27b8b10cee", 64152, "RUB", 4, false, 2000); CoreMod.CreateTraderAssort(HashUtil.generate(), "56ea70acd2720b844b8b4594", "58330581ace78e27b8b10cee", 64152, "RUB", 4, false, 2000);
//Trijicon reap-ir thermal scope //Trijicon reap-ir thermal scope
CoreMod.CreateTraderBarter(HashUtil.generate(), "5a1eaa87fcdbcb001865f75e", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5a1eaa87fcdbcb001865f75e", "hideout", "hideout", [
[{ [{
"count": 4, "count": 4,
"_tpl": "59e3647686f774176a362507" "_tpl": "59e3647686f774176a362507"
},{ }, {
"count": 4, "count": 4,
"_tpl": "59faf7ca86f7740dbe19f6c2" "_tpl": "59faf7ca86f7740dbe19f6c2"
},{ }, {
"count": 6, "count": 6,
"_tpl": "5d235a5986f77443f6329bc6" "_tpl": "5d235a5986f77443f6329bc6"
}] }
], "58330581ace78e27b8b10cee", 4, false, 50, 1); ]
], "58330581ace78e27b8b10cee", 4, false, 50, 1);
//zenit perst-3 tactical device //zenit perst-3 tactical device
CoreMod.CreateTraderAssort(HashUtil.generate(), "5c5952732e2216398b5abda2", "58330581ace78e27b8b10cee", 19600, "RUB", 4, false, 6000); CoreMod.CreateTraderAssort(HashUtil.generate(), "5c5952732e2216398b5abda2", "58330581ace78e27b8b10cee", 19600, "RUB", 4, false, 6000);
@ -483,46 +481,48 @@ class SkierAssort
CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5fd251c90d9c95034825edb5", "58330581ace78e27b8b10cee", 96715, "RUB", 4, false, 200000); CoreMod.CreateTraderAssortWithPreset(HashUtil.generate(), "5fd251c90d9c95034825edb5", "58330581ace78e27b8b10cee", 96715, "RUB", 4, false, 200000);
//lobaev arms dvl-10 saboteur .308 bolt-action sniper rifle //lobaev arms dvl-10 saboteur .308 bolt-action sniper rifle
CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "59e8d2b386f77445830dd299", "hideout", "hideout", [ CoreMod.CreateTraderBarterWithPreset(HashUtil.generate(), "59e8d2b386f77445830dd299", "hideout", "hideout", [
[{ [{
"count": 1, "count": 1,
"_tpl": "5d0378d486f77420421a5ff4" "_tpl": "5d0378d486f77420421a5ff4"
}] }
], "58330581ace78e27b8b10cee", 4, false, 600, 1); ]
], "58330581ace78e27b8b10cee", 4, false, 600, 1);
//Miller Bros. Blades M-2 Tactical Sword //Miller Bros. Blades M-2 Tactical Sword
CoreMod.CreateTraderBarter(HashUtil.generate(), "5bffdd7e0db834001b734a1a", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "5bffdd7e0db834001b734a1a", "hideout", "hideout", [
[{ [{
"count": 2, "count": 2,
"_tpl": "5c052f6886f7746b1e3db148" "_tpl": "5c052f6886f7746b1e3db148"
},{ }, {
"count": 1, "count": 1,
"_tpl": "5913915886f774123603c392" "_tpl": "5913915886f774123603c392"
},{ }, {
"count": 2, "count": 2,
"_tpl": "5c1267ee86f77416ec610f72" "_tpl": "5c1267ee86f77416ec610f72"
},{ }, {
"count": 2, "count": 2,
"_tpl": "5d03775b86f774203e7e0c4b" "_tpl": "5d03775b86f774203e7e0c4b"
}] }
], "58330581ace78e27b8b10cee", 4, false, 100, 1); ]
], "58330581ace78e27b8b10cee", 4, false, 100, 1);
//weapon case //weapon case
CoreMod.CreateTraderBarter(HashUtil.generate(), "59fb023c86f7746d0d4b423c", "hideout", "hideout", [ CoreMod.CreateTraderBarter(HashUtil.generate(), "59fb023c86f7746d0d4b423c", "hideout", "hideout", [
[{ [{
"count": 10, "count": 10,
"_tpl": "5d1b376e86f774252519444e" "_tpl": "5d1b376e86f774252519444e"
},{ }, {
"count": 10, "count": 10,
"_tpl": "5d40407c86f774318526545a" "_tpl": "5d40407c86f774318526545a"
},{ }, {
"count": 5, "count": 5,
"_tpl": "544fb6cc4bdc2d34748b456e" "_tpl": "544fb6cc4bdc2d34748b456e"
}] }
], "58330581ace78e27b8b10cee", 4, false, 100, 1); ]
], "58330581ace78e27b8b10cee", 4, false, 100, 1);
} }
static generateSkierAssort() static generateSkierAssort() {
{
SkierAssort.GenerateLL1(); SkierAssort.GenerateLL1();
SkierAssort.GenerateLL2(); SkierAssort.GenerateLL2();
SkierAssort.GenerateLL3(); SkierAssort.GenerateLL3();