Main upload

This commit is contained in:
Ereshkigal 2021-07-12 18:54:07 +02:00
parent 56311c3098
commit 9b00dcfa8f
12 changed files with 703 additions and 1 deletions

View File

@ -0,0 +1,32 @@
Copyright (c) 2021 Ereshkigal. All rights reserved.
Developed by: SPT-Aki
Ereshkigal
www.sp-tarkov.com
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation files
(the "Software"), to deal with the Software without restriction,
including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimers.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimers in the
documentation and/or other materials provided with the distribution.
* Neither the names of Ereshkigal, SPT-Aki nor the names of its
contributors may be used to endorse or promote products derived from
this Software without specific prior written permission.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH
THE SOFTWARE.

View File

@ -0,0 +1,10 @@
# AssortGenerator
The mod used in order to generate the traders assorts by myself
## Download CoreMod to get the mod working
https://mods.sp-tarkov.com/files/file/97-ereshkigal-coremod/
## See at src/prapor.js or src/therapist.js how it's done
As said, just look at these two files to figure out how it's done

View File

@ -0,0 +1,32 @@
/*
エレシュキガル
*/
"use strict";
//Assorts Modules
const prapor = require("./src/prapor.js");
const therapist = require("./src/therapist.js");
const skier = require("./src/skier.js");
const mechanic = require("./src/mechanic.js");
const peacekeeper = require("./src/peacekeeper.js");
const ragman = require("./src/ragman.js");
const jeager = require("./src/jeager.js");
class GenerateEverything {
constructor() {
const mod = require("./package.json")
Logger.info(`Loading: ${mod.name} : ${mod.version}`);
ModLoader.onLoad["Assorts-prapor"] = prapor.generatePraporAssort;
ModLoader.onLoad["Assorts-therapist"] = therapist.generateTherapistAssort;
ModLoader.onLoad["Assorts-skier"] = skier.generateSkierAssort;
ModLoader.onLoad["Assorts-mechanic"] = mechanic.generateMechanicAssort;
ModLoader.onLoad["Assorts-peacekeeper"] = peacekeeper.generatePeacekeeperAssort;
ModLoader.onLoad["Assorts-ragman"] = ragman.generateRagmanAssort;
ModLoader.onLoad["Assorts-jeager"] = jeager.generateJeagerAssort;
}
}
module.exports = new GenerateEverything();

View File

@ -0,0 +1,8 @@
{
"name": "BaseAssortGenerator",
"author": "Ereshkigal",
"version": "1.0.0",
"license": "NCSA Open Source",
"dependencies": {"CoreMod": "2.1.0"},
"main": "package.js"
}

View File

@ -0,0 +1,34 @@
/*
エレシュキガル
*/
class JeagerAssort {
static GenerateLL1(){
const CoreMod = require("../../CoreMod/src/Core.js")
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
}
static GenerateLL2(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static GenerateLL3(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static GenerateLL4(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static generateJeagerAssort(){
JeagerAssort.GenerateLL1()
JeagerAssort.GenerateLL2()
JeagerAssort.GenerateLL3()
JeagerAssort.GenerateLL4()
}
}
module.exports = JeagerAssort;

View File

@ -0,0 +1,34 @@
/*
エレシュキガル
*/
class MechanicAssort {
static GenerateLL1(){
const CoreMod = require("../../CoreMod/src/Core.js")
DatabaseServer.tables.traders["5a7c2eca46aef81a7ca2145d"].assort = {"items": [],"barter_scheme": {},"loyal_level_items": {}}
let id = null
// ASSORT ID ITEM TEMPLATE TRADER ID PRICE CURRENCY LOYALTY UNLIMITED STOCK MAXIMUM BUY
}
static GenerateLL2(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static GenerateLL3(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static GenerateLL4(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static generateMechanicAssort(){
MechanicAssort.GenerateLL1()
MechanicAssort.GenerateLL2()
MechanicAssort.GenerateLL3()
MechanicAssort.GenerateLL4()
}
}
module.exports = MechanicAssort;

View File

@ -0,0 +1,35 @@
/*
エレシュキガル
*/
class PeacekeeperAssort {
static GenerateLL1(){
const CoreMod = require("../../CoreMod/src/Core.js")
DatabaseServer.tables.traders["5935c25fb3acc3127c3d8cd9"].assort = {"items": [],"barter_scheme": {},"loyal_level_items": {}}
let id = null
// ASSORT ID ITEM TEMPLATE TRADER ID PRICE CURRENCY LOYALTY UNLIMITED STOCK MAXIMUM BUY
}
static GenerateLL2(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static GenerateLL3(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static GenerateLL4(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static generatePeacekeeperAssort(){
PeacekeeperAssort.GenerateLL1()
PeacekeeperAssort.GenerateLL2()
PeacekeeperAssort.GenerateLL3()
PeacekeeperAssort.GenerateLL4()
}
}
module.exports = PeacekeeperAssort;

View File

@ -0,0 +1,282 @@
/*
エレシュキガル
*/
class PraporAssort {
static GenerateLL1(){
const CoreMod = require("../../CoreMod/src/Core.js")
DatabaseServer.tables.traders["54cb50c76803fa8b248b4571"].assort = {"items": [],"barter_scheme": {},"loyal_level_items": {}}
let id = null
// ASSORT ID ITEM TEMPLATE TRADER ID PRICE CURRENCY LOYALTY UNLIMITED STOCK MAXIMUM BUY
//PRAPOR LOYALTY LEVEL 1
//7mm buckshot
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "54cb50c76803fa8b248b4571", 33, "RUB", 1, true, 999999)
//7.62x39mm PS GZH
CoreMod.CreateTraderAssort(HashUtil.generate(), "5656d7c34bdc2d9d198b4587", "54cb50c76803fa8b248b4571", 91, "RUB", 1, true, 999999)
//5.45x39mm PRS GS
CoreMod.CreateTraderAssort(HashUtil.generate(), "56dff338d2720bbd668b4569", "54cb50c76803fa8b248b4571", 51, "RUB", 1, true, 999999)
//5.45x39mm T GS
CoreMod.CreateTraderAssort(HashUtil.generate(), "56dff4a2d2720bbd668b456a", "54cb50c76803fa8b248b4571", 44, "RUB", 1, true, 999999)
//TT AKBS
CoreMod.CreateTraderAssort(HashUtil.generate(), "5735fdcd2459776445391d61", "54cb50c76803fa8b248b4571", 54, "RUB", 1, true, 999999)
//TT FMJ43
CoreMod.CreateTraderAssort(HashUtil.generate(), "5735ff5c245977640e39ba7e", "54cb50c76803fa8b248b4571", 55, "RUB", 1, true, 999999)
//PM P GZH
CoreMod.CreateTraderAssort(HashUtil.generate(), "573719762459775a626ccbc1", "54cb50c76803fa8b248b4571", 14, "RUB", 1, true, 999999)
//PM PPT gzh
CoreMod.CreateTraderAssort(HashUtil.generate(), "57371e4124597760ff7b25f1", "54cb50c76803fa8b248b4571", 47, "RUB", 1, true, 999999)
//PM PRS GS
CoreMod.CreateTraderAssort(HashUtil.generate(), "57371eb62459776125652ac1", "54cb50c76803fa8b248b4571", 43, "RUB", 1, true, 999999)
//PM PS GS PPO
CoreMod.CreateTraderAssort(HashUtil.generate(), "57371f2b24597761224311f1", "54cb50c76803fa8b248b4571", 32, "RUB", 1, true, 999999)
//PM PSO gzh
CoreMod.CreateTraderAssort(HashUtil.generate(), "57371f8d24597761006c6a81", "54cb50c76803fa8b248b4571", 24, "RUB", 1, true, 999999)
//PM PST GZH
CoreMod.CreateTraderAssort(HashUtil.generate(), "5737201124597760fc4431f1", "54cb50c76803fa8b248b4571", 50, "RUB", 1, true, 999999)
//12/70 Lead slug
CoreMod.CreateTraderAssort(HashUtil.generate(), "58820d1224597753c90aeb13", "54cb50c76803fa8b248b4571", 62, "RUB", 1, true, 999999)
//9mm pso gzh
CoreMod.CreateTraderAssort(HashUtil.generate(), "58864a4f2459770fcc257101", "54cb50c76803fa8b248b4571", 54, "RUB", 1, true, 999999)
//7.62x54R LPS
CoreMod.CreateTraderAssort(HashUtil.generate(), "5887431f2459777e1612938f", "54cb50c76803fa8b248b4571", 460, "RUB", 1, true, 999999)
//RDG Smoke
CoreMod.CreateTraderAssort(HashUtil.generate(), "5a2a57cfc4a2826c6e06d44a", "54cb50c76803fa8b248b4571", 5931, "RUB", 1, false, 37000)
//PM 9X18PM 90-93 8-round magazine
CoreMod.CreateTraderAssort(HashUtil.generate(), "5448c12b4bdc2d02308b456f", "54cb50c76803fa8b248b4571", 1025, "RUB", 1, true, 999999)
//6L23
CoreMod.CreateTraderAssort(HashUtil.generate(), "55d480c04bdc2d1d4e8b456a", "54cb50c76803fa8b248b4571", 2179, "RUB", 1, true, 999999)
//6L20
CoreMod.CreateTraderAssort(HashUtil.generate(), "564ca99c4bdc2d16268b4589", "54cb50c76803fa8b248b4571", 2214, "RUB", 1, true, 999999)
//tt-105
CoreMod.CreateTraderAssort(HashUtil.generate(), "571a29dc2459771fb2755a6a", "54cb50c76803fa8b248b4571", 1262, "RUB", 1, true, 999999)
//mp-443 8-round magazine
CoreMod.CreateTraderAssort(HashUtil.generate(), "576a5ed62459771e9c2096cb", "54cb50c76803fa8b248b4571", 1674, "RUB", 1, true, 999999)
//PP-91 9x18PM 20-round magazine
CoreMod.CreateTraderAssort(HashUtil.generate(), "57d14e1724597714010c3f4b", "54cb50c76803fa8b248b4571", 1638, "RUB", 1, true, 999999)
//PP-19-01 Vityaz-SN 9x19 30-round magazine
CoreMod.CreateTraderAssort(HashUtil.generate(), "599860ac86f77436b225ed1a", "54cb50c76803fa8b248b4571", 2640, "RUB", 1, true, 999999)
//AK 7.62x39 30-round magazine (issued '55 or later)
CoreMod.CreateTraderAssort(HashUtil.generate(), "59d625f086f774661516605d", "54cb50c76803fa8b248b4571", 1922, "RUB", 1, true, 999999)
//APS 9x18PM 20-round magazine
CoreMod.CreateTraderAssort(HashUtil.generate(), "5a17fb03fcdbcbcae668728f", "54cb50c76803fa8b248b4571", 926, "RUB", 1, true, 999999)
//Mosin 7.62x54R 5-round magazine
CoreMod.CreateTraderAssort(HashUtil.generate(), "5ae0973a5acfc4001562206c", "54cb50c76803fa8b248b4571", 2148, "RUB", 1, false, 3000)
//PPSh-41 7.62x25 35-round magazine
CoreMod.CreateTraderAssort(HashUtil.generate(), "5ea034eb5aad6446a939737b", "54cb50c76803fa8b248b4571", 2868, "RUB", 1, true, 999999)
//Axion Kobra sight shade
CoreMod.CreateTraderAssort(HashUtil.generate(), "591c4e1186f77410354b316e", "54cb50c76803fa8b248b4571", 109, "RUB", 1, false, 85000)
//NPZ USP-1 scope eyecup
CoreMod.CreateTraderAssort(HashUtil.generate(), "5cf639aad7f00c065703d455", "54cb50c76803fa8b248b4571", 301, "RUB", 1, false, 2000)
//AK-74 5.45x39 muzzle brake & compensator (6P20 0-20)
CoreMod.CreateTraderAssort(HashUtil.generate(), "5649aa744bdc2ded0b8b457e", "54cb50c76803fa8b248b4571", 757, "RUB", 1, false, 70000)
//AKS-74U 5.45x39 muzzle brake (6P26 0-20)
CoreMod.CreateTraderAssort(HashUtil.generate(), "57dc324a24597759501edc20", "54cb50c76803fa8b248b4571", 784, "RUB", 1, false, 70000)
//AK-103 7.62x39 muzzle brake & compensator
CoreMod.CreateTraderAssort(HashUtil.generate(), "5ac72e7d5acfc40016339a02", "54cb50c76803fa8b248b4571", 654, "RUB", 1, false, 2000)
//Axion Kobra EKP-8-02 reflex sight (Dovetail)
CoreMod.CreateTraderAssort(HashUtil.generate(), "5947db3f86f77447880cf76f", "54cb50c76803fa8b248b4571", 10194, "RUB", 1, false, 60000)
//TT 7.62x25 makeshift sound suppressor
CoreMod.CreateTraderAssort(HashUtil.generate(), "571a28e524597720b4066567", "54cb50c76803fa8b248b4571", 16246, "RUB", 1, false, 15000)
//AK-74 rear sight (6P20 Sb.2)
CoreMod.CreateTraderAssort(HashUtil.generate(), "5649b0544bdc2d1b2b8b458a", "54cb50c76803fa8b248b4571", 544, "RUB", 1, false, 2000)
//AK-74M rear sight (6P20 Sb.2)
CoreMod.CreateTraderAssort(HashUtil.generate(), "5ac72e475acfc400180ae6fe", "54cb50c76803fa8b248b4571", 559, "RUB", 1, false, 2000)
//AKM rear sight (6P1 Sb.2-1)
CoreMod.CreateTraderAssort(HashUtil.generate(), "59d650cf86f7741b846413a4", "54cb50c76803fa8b248b4571", 526, "RUB", 1, false, 2000)
//Mosin front sight
CoreMod.CreateTraderAssort(HashUtil.generate(), "5ae099875acfc4001714e593", "54cb50c76803fa8b248b4571", 572, "RUB", 1, false, 6000)
//Mosin rear sight
CoreMod.CreateTraderAssort(HashUtil.generate(), "5ae099925acfc4001a5fc7b3", "54cb50c76803fa8b248b4571", 958, "RUB", 1, false, 2000)
//mosin carbine rear sight
CoreMod.CreateTraderAssort(HashUtil.generate(), "5bfd4c980db834001b73449d", "54cb50c76803fa8b248b4571", 872, "RUB", 1, false, 2000)
//PU 3.5x rifle scope
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b3f7c1c5acfc40dc5296b1d", "54cb50c76803fa8b248b4571", 13446, "RUB", 1, false, 20000)
//Zenit-BelOMO PSO-1 4x24 scope
CoreMod.CreateTraderAssort(HashUtil.generate(), "5c82342f2e221644f31c060e", "54cb50c76803fa8b248b4571", 19385, "RUB", 1, false, 20000)
//USP-1 scope
CoreMod.CreateTraderAssort(HashUtil.generate(), "5cf638cbd7f00c06595bc936", "54cb50c76803fa8b248b4571", 15805, "RUB", 1, false, 20000)
//NSPU-M night vision scope
CoreMod.CreateTraderAssort(HashUtil.generate(), "5a7c74b3e899ef0014332c29", "54cb50c76803fa8b248b4571", 14968, "RUB", 1, false, 20000, 3)
//PU 3.5x ring mount
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b3f7c005acfc4704b4a1de8", "54cb50c76803fa8b248b4571", 1205, "RUB", 1, false, 20000, 5)
//AK-74 polymer stock (6P20 Sb.7)
CoreMod.CreateTraderAssort(HashUtil.generate(), "5649b0fc4bdc2d17108b4588", "54cb50c76803fa8b248b4571", 2255, "RUB", 1, true, 999999, 4)
//AKS-74U metal skeleton stock (6P26 Sb.5)
CoreMod.CreateTraderAssort(HashUtil.generate(), "57dc347d245977596754e7a1", "54cb50c76803fa8b248b4571", 1683, "RUB", 1, false, 60000)
//AK-74M polymer stock (6P34 Sb.15)
CoreMod.CreateTraderAssort(HashUtil.generate(), "5ac50c185acfc400163398d4", "54cb50c76803fa8b248b4571", 1773, "RUB", 1, false, 3000, 5)
//TT 7.62x25 121mm homespun threaded barrel
CoreMod.CreateTraderAssort(HashUtil.generate(), "571a279b24597720b4066566", "54cb50c76803fa8b248b4571", 2343, "RUB", 1, false, 15000, 2)
//AK-74 polymer handguard (6P20 Sb.9)
CoreMod.CreateTraderAssort(HashUtil.generate(), "5648b1504bdc2d9d488b4584", "54cb50c76803fa8b248b4571", 1114, "RUB", 1, false, 2000)
//AK-100 series polymer handguard
CoreMod.CreateTraderAssort(HashUtil.generate(), "5cbda392ae92155f3c17c39f", "54cb50c76803fa8b248b4571", 1441, "RUB", 1, false, 20000)
//AK bakelite pistol grip (6P4 Sb.8V)
CoreMod.CreateTraderAssort(HashUtil.generate(), "5649ad3f4bdc2df8348b4585", "54cb50c76803fa8b248b4571", 833, "RUB", 1, false, 2000)
//AK polymer pistol grip (6P1 Sb.8)
CoreMod.CreateTraderAssort(HashUtil.generate(), "5649ade84bdc2d1b2b8b4587", "54cb50c76803fa8b248b4571", 861, "RUB", 1, false, 20000, 7)
//AK-74 textolite pistol grip (6P4 Sb.9)
CoreMod.CreateTraderAssort(HashUtil.generate(), "57e3dba62459770f0c32322b", "54cb50c76803fa8b248b4571", 806, "RUB", 1, false, 2000)
//AK-74 dust cover (6P20 0-1)
CoreMod.CreateTraderAssort(HashUtil.generate(), "5649af094bdc2df8348b4586", "54cb50c76803fa8b248b4571", 1136, "RUB", 1, false, 5000, 4)
//AKS-74U dust cover (6P26 Sb.7)
CoreMod.CreateTraderAssort(HashUtil.generate(), "57dc334d245977597164366f", "54cb50c76803fa8b248b4571", 1306, "RUB", 1, false, 50000)
//AKM dust cover (6P1 0-1)
CoreMod.CreateTraderAssort(HashUtil.generate(), "59d6507c86f7741b846413a2", "54cb50c76803fa8b248b4571", 1106, "RUB", 1, false, 2000)
//MS2000 Marker
CoreMod.CreateTraderAssort(HashUtil.generate(), "5991b51486f77447b112d44f", "54cb50c76803fa8b248b4571", 15177, "RUB", 1, true, 999999)
//6B34 anti-fragmentation glasses
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b432be65acfc433000ed01f", "54cb50c76803fa8b248b4571", 3003, "RUB", 1, true, 999999, 3)
//6B47 Ratnik-BSh helmet
CoreMod.CreateTraderAssort(HashUtil.generate(), "5a7c4850e899ef00150be885", "54cb50c76803fa8b248b4571", 33336, "RUB", 1, true, 999999, 3)
//GSSh-01 active headset
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b432b965acfc47a8774094e", "54cb50c76803fa8b248b4571", 13039, "RUB", 1, true, 999999)
//SKS
id = HashUtil.generate()
CoreMod.CreateTraderAssortWithPreset(id, "58dffce486f77409f40f8162", "54cb50c76803fa8b248b4571", 21810, "RUB", 1, true, 999999)
//AKS-74u
id = HashUtil.generate()
CoreMod.CreateTraderAssortWithPreset(id, "584147732459775a2b6d9f12", "54cb50c76803fa8b248b4571", 28823, "RUB", 1, false, 700000)
CoreMod.CreateTraderAssortUnlock("54cb50c76803fa8b248b4571", "success",id,"5936d90786f7742b1420ba5b")
//PM 9x18
id = HashUtil.generate()
CoreMod.CreateTraderAssortWithPreset(id, "58414967245977598f1ad391", "54cb50c76803fa8b248b4571", 6581, "RUB", 1, true, 999999)
//tt-33
id = HashUtil.generate()
CoreMod.CreateTraderAssortWithPreset(id, "58414a2724597759b344da4d", "54cb50c76803fa8b248b4571", 8194, "RUB", 1, false, 200000)
//mp-443
id = HashUtil.generate()
CoreMod.CreateTraderAssortWithPreset(id, "584148a524597759eb357a44", "54cb50c76803fa8b248b4571", 13816, "RUB", 1, false, 200000)
//pp-91 kedr
id = HashUtil.generate()
CoreMod.CreateTraderAssortWithPreset(id, "584149c42459775a77263510", "54cb50c76803fa8b248b4571", 21349, "RUB", 1, true, 999999)
//PPSH
id = HashUtil.generate()
CoreMod.CreateTraderAssortWithPreset(id, "5eb2963686f7742d3f5ab0f8", "54cb50c76803fa8b248b4571", 15488, "RUB", 1, false, 200000)
//Mosin infantry
id = HashUtil.generate()
CoreMod.CreateTraderAssortWithPreset(id, "5b8683a486f77467f2423114", "54cb50c76803fa8b248b4571", 47192, "RUB", 1, true, 999999)
//Mosin infantry carbine
id = HashUtil.generate()
CoreMod.CreateTraderAssortWithPreset(id, "5c0c1dff86f7744dba7a2892", "54cb50c76803fa8b248b4571", 47794, "RUB", 1, false, 20000)
//5x45 BP x30 GS box
CoreMod.CreateTraderBarter(HashUtil.generate(), "57372ac324597767001bc261","hideout","hideout",[[{"count": 1,"_tpl": "59e358a886f7741776641ac3"}]], "54cb50c76803fa8b248b4571", 1, false, 2000, 3)
//5x45 BT x30 GS box
CoreMod.CreateTraderBarter(HashUtil.generate(), "57372c89245977685d4159b1","hideout","hideout",[[{"count": 2,"_tpl": "57347da92459774491567cf5"}]], "54cb50c76803fa8b248b4571", 1, false, 4000, 4)
//F-1 Hand grenade
CoreMod.CreateTraderBarter(HashUtil.generate(), "5710c24ad2720bc3458b45a3","hideout","hideout",[[{"count": 2,"_tpl": "590a3cd386f77436f20848cb"}]], "54cb50c76803fa8b248b4571", 1, false, 2000, 3)
//PP-91 9x18PM 30-round magazine
CoreMod.CreateTraderBarter(HashUtil.generate(), "57d1519e24597714373db79d","hideout","hideout",[[{"count": 1,"_tpl": "5d1b31ce86f7742523398394"}]], "54cb50c76803fa8b248b4571", 1, false, 2000, 12)
//Zenit-BelOMO PSO-1M2-1 4x24 scope
CoreMod.CreateTraderBarter(HashUtil.generate(), "576fd4ec2459777f0b518431","hideout","hideout",[[{"count": 2,"_tpl": "590a3c0a86f774385a33c450"}]], "54cb50c76803fa8b248b4571", 1, false, 2000)
//SFera-S
CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa7d193e5b5b000171d063f","hideout","hideout",[[{"count": 2,"_tpl": "57347d9c245977448b40fa85"},{"count": 1,"_tpl": "5d40407c86f774318526545a"}]], "54cb50c76803fa8b248b4571", 1, false, 2000,3)
//6B23-1
CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e5bab86f77461f55ed1f3","hideout","hideout",[[{"count": 1,"_tpl": "59fafb5d86f774067a6f2084"}]], "54cb50c76803fa8b248b4571", 1, false, 1000,1)
//VKBO bag
CoreMod.CreateTraderBarter(HashUtil.generate(), "5ab8ee7786f7742d8f33f0b9","hideout","hideout",[[{"count": 2,"_tpl": "5672cb124bdc2d1a0f8b4568"}]], "54cb50c76803fa8b248b4571", 1, false, 20000)
//6sh112
CoreMod.CreateTraderBarter(HashUtil.generate(), "5929a2a086f7744f4b234d43","hideout","hideout",[[{"count": 1,"_tpl": "575146b724597720a27126d5"},{"count": 1,"_tpl": "57347d90245977448f7b7f65"}]], "54cb50c76803fa8b248b4571", 1, false, 2000, 2)
//APS
id = HashUtil.generate()
CoreMod.CreateTraderBarterWithPreset(id, "5ac4accf86f774181345c3d7","hideout","hideout",[[{"count": 1,"_tpl": "59e35ef086f7741777737012"},{"count": 1,"_tpl": "57347c5b245977448d35f6e1"}]], "54cb50c76803fa8b248b4571", 1, false, 2000)
//AKS-74U
id = HashUtil.generate()
CoreMod.CreateTraderBarterWithPreset(id, "584147732459775a2b6d9f12","hideout","hideout",[[{"count": 1,"_tpl": "573478bc24597738002c6175"},{"count": 1,"_tpl": "5e2af00086f7746d3f3c33f7"}]], "54cb50c76803fa8b248b4571", 1, false, 7000)
//AKM
id = HashUtil.generate()
CoreMod.CreateTraderBarterWithPreset(id, "59e8d2ab86f77407f03fc9c2","hideout","hideout",[[{"count": 3,"_tpl": "57347d7224597744596b4e72"}]], "54cb50c76803fa8b248b4571", 1, false, 20000,1)
//PP-19-01
id = HashUtil.generate()
CoreMod.CreateTraderBarterWithPreset(id, "59b81f7386f77421ac688a0a","hideout","hideout",[[{"count": 4,"_tpl": "57347cd0245977445a2d6ff1"}]], "54cb50c76803fa8b248b4571", 1, false, 2000,2)
//Mosin sniper carbine
id = HashUtil.generate()
CoreMod.CreateTraderBarterWithPreset(id, "5c0c1f2b86f77455912eaefc","hideout","hideout",[[{"count": 5,"_tpl": "5672cb304bdc2dc2088b456a"},{"count": 8,"_tpl": "5672cb124bdc2d1a0f8b4568"}]], "54cb50c76803fa8b248b4571", 1, false, 2000,1)
//PRAPOR ASSORT LL2
}
static GenerateLL2(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static GenerateLL3(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static GenerateLL4(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
//VFS.writeFile(`./praporAssort.json`, JsonUtil.serialize(DatabaseServer.tables.traders["54cb50c76803fa8b248b4571"].assort, true))
}
static generatePraporAssort(){
PraporAssort.GenerateLL1()
PraporAssort.GenerateLL2()
PraporAssort.GenerateLL3()
PraporAssort.GenerateLL4()
}
}
module.exports = PraporAssort;

View File

@ -0,0 +1,34 @@
/*
エレシュキガル
*/
class RagmanAssort {
static GenerateLL1(){
const CoreMod = require("../../CoreMod/src/Core.js")
DatabaseServer.tables.traders["5ac3b934156ae10c4430e83c"].assort = {"items": [],"barter_scheme": {},"loyal_level_items": {}}
let id = null
// ASSORT ID ITEM TEMPLATE TRADER ID PRICE CURRENCY LOYALTY UNLIMITED STOCK MAXIMUM BUY
}
static GenerateLL2(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static GenerateLL3(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static GenerateLL4(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static generateRagmanAssort(){
RagmanAssort.GenerateLL1()
RagmanAssort.GenerateLL2()
RagmanAssort.GenerateLL3()
RagmanAssort.GenerateLL4()
}
}
module.exports = RagmanAssort;

View File

@ -0,0 +1,34 @@
/*
エレシュキガル
*/
class SkierAssort {
static GenerateLL1(){
const CoreMod = require("../../CoreMod/src/Core.js")
DatabaseServer.tables.traders["58330581ace78e27b8b10cee"].assort = {"items": [],"barter_scheme": {},"loyal_level_items": {}}
let id = null
// ASSORT ID ITEM TEMPLATE TRADER ID PRICE CURRENCY LOYALTY UNLIMITED STOCK MAXIMUM BUY
}
static GenerateLL2(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static GenerateLL3(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static GenerateLL4(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static generateSkierAssort(){
SkierAssort.GenerateLL1()
SkierAssort.GenerateLL2()
SkierAssort.GenerateLL3()
SkierAssort.GenerateLL4()
}
}
module.exports = SkierAssort;

View File

@ -0,0 +1,160 @@
/*
エレシュキガル
*/
class TherapistAssort {
static GenerateLL1(){
const CoreMod = require("../../CoreMod/src/Core.js")
DatabaseServer.tables.traders["54cb50c76803fa8b248b4571"].assort = {"items": [],"barter_scheme": {},"loyal_level_items": {}}
let id = null
// ASSORT ID ITEM TEMPLATE TRADER ID PRICE CURRENCY LOYALTY UNLIMITED STOCK MAXIMUM BUY
//Therapist LL1
//Analgin Painkillers
CoreMod.CreateTraderAssort(HashUtil.generate(), "544fb37f4bdc2dee738b4567", "54cb57776803fa99248b456e", 5695, "RUB", 1, true, 999999)
//Aseptic bandages
CoreMod.CreateTraderAssort(HashUtil.generate(), "544fb25a4bdc2dfb738b4567", "54cb57776803fa99248b456e", 1949, "RUB", 1, true, 999999)
//Immobilizing splint
CoreMod.CreateTraderAssort(HashUtil.generate(), "544fb3364bdc2d34748b456a", "54cb57776803fa99248b456e", 2677, "RUB", 1, true, 999999)
//Esmarch tourniquet
CoreMod.CreateTraderAssort(HashUtil.generate(), "5e831507ea0a7c419c2f9bd9", "54cb57776803fa99248b456e", 1332, "RUB", 1, true, 999999)
//AI-2
CoreMod.CreateTraderAssort(HashUtil.generate(), "5755356824597772cb798962", "54cb57776803fa99248b456e", 4149, "RUB", 1, true, 999999)
//Factory plan
CoreMod.CreateTraderAssort(HashUtil.generate(), "574eb85c245977648157eec3", "54cb57776803fa99248b456e", 17896, "RUB", 1, false, 12000)
//Shoreline plan
CoreMod.CreateTraderAssort(HashUtil.generate(), "5a8036fb86f77407252ddc02", "54cb57776803fa99248b456e", 22145, "RUB", 1, true, 999999)
//Shoreline resortp lan
CoreMod.CreateTraderAssort(HashUtil.generate(), "5a80a29286f7742b25692012", "54cb57776803fa99248b456e", 10408, "RUB", 1, true, 999999)
//Army crackers
CoreMod.CreateTraderAssort(HashUtil.generate(), "5448ff904bdc2d6f028b456e", "54cb57776803fa99248b456e", 14665, "RUB", 1, false, 10000, 3)
//Water bottle
CoreMod.CreateTraderAssort(HashUtil.generate(), "5448fee04bdc2dbc018b4567", "54cb57776803fa99248b456e", 12401, "RUB", 1, false, 75000)
//Analgin painkillers
CoreMod.CreateTraderBarter(HashUtil.generate(), "544fb37f4bdc2dee738b4567","hideout","hideout",[[{"count": 1,"_tpl": "57347b8b24597737dd42e192"}]], "54cb57776803fa99248b456e", 1, true, 999999)
//CALOK-B Hemostatic
CoreMod.CreateTraderBarter(HashUtil.generate(), "5710c24ad2720bc3458b45a3","hideout","hideout",[[{"count": 2,"_tpl": "59e35ef086f7741777737012"}]], "54cb57776803fa99248b456e", 1, false, 3000, 2)
//Salewa
CoreMod.CreateTraderBarter(HashUtil.generate(), "5710c24ad2720bc3458b45a3","hideout","hideout",[[{"count": 2,"_tpl": "590a3cd386f77436f20848cb"}]], "54cb57776803fa99248b456e", 1, false, 40000, 2)
//Car first aid kit
CoreMod.CreateTraderBarter(HashUtil.generate(), "590c661e86f7741e566b646a","hideout","hideout",[[{"count": 2,"_tpl": "57347c1124597737fb1379e3"}]], "54cb57776803fa99248b456e", 1, false, 3000, 5)
//Pile of meds
CoreMod.CreateTraderBarter(HashUtil.generate(), "5d1b3a5d86f774252167ba22","hideout","hideout",[[{"count": 2,"_tpl": "57347b8b24597737dd42e192"},{"count": 3,"_tpl": "56742c284bdc2d98058b456d"}]], "54cb57776803fa99248b456e", 1, false, 5000, 4)
//Office key
CoreMod.CreateTraderBarter(HashUtil.generate(), "5780d0532459777a5108b9a2","hideout","hideout",[[{"count": 2,"_tpl": "575062b524597720a31c09a1"},{"count": 4,"_tpl": "5448ff904bdc2d6f028b456e"},{"count": 2,"_tpl": "57347d8724597744596b4e76"}]], "54cb57776803fa99248b456e", 1, false, 2000, 1)
//Droms 206 key
CoreMod.CreateTraderBarter(HashUtil.generate(), "5938603e86f77435642354f4","hideout","hideout",[[{"count": 7,"_tpl": "5d1b3a5d86f774252167ba22"}]], "54cb57776803fa99248b456e", 1, false, 2000, 1)
//Dorms 303 key
CoreMod.CreateTraderBarter(HashUtil.generate(), "593aa4be86f77457f56379f8","hideout","hideout",[[{"count": 7,"_tpl": "57347cd0245977445a2d6ff1"},{"count": 3,"_tpl": "5734795124597738002c6176"}]], "54cb57776803fa99248b456e", 1, false, 2000, 1)
//Slickers
CoreMod.CreateTraderBarter(HashUtil.generate(), "544fb6cc4bdc2d34748b456e","hideout","hideout",[[{"count": 1,"_tpl": "57513fcc24597720a31c09a6"}]], "54cb57776803fa99248b456e", 1, false, 5000, 5)
//Pacific saury
CoreMod.CreateTraderBarter(HashUtil.generate(), "5710c24ad2720bc3458b45a3","hideout","hideout",[[{"count": 1,"_tpl": "57347b8b24597737dd42e192"},{"count": 1,"_tpl": "56742c284bdc2d98058b456d"}]], "54cb57776803fa99248b456e", 1, false, 15000, 5)
//Humpback salmon
CoreMod.CreateTraderBarter(HashUtil.generate(), "57347d5f245977448b40fa81","hideout","hideout",[[{"count": 2,"_tpl": "57347c93245977448d35f6e3"}]], "54cb57776803fa99248b456e", 1, false, 4000, 3)
//Iskra ration pack
CoreMod.CreateTraderBarter(HashUtil.generate(), "590c5d4b86f774784e1b9c45","hideout","hideout",[[{"count": 1,"_tpl": "5d1b3f2d86f774253763b735"}]], "54cb57776803fa99248b456e", 1, false, 10000, 2)
//Water bottle
CoreMod.CreateTraderBarter(HashUtil.generate(), "5448fee04bdc2dbc018b4567","hideout","hideout",[[{"count": 1,"_tpl": "59e361e886f774176c10a2a5"}]], "54cb57776803fa99248b456e", 1, false, 5000, 2)
//Junk scav box
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b7c710788a4506dec015957", "54cb57776803fa99248b456e", 1106138, "RUB", 1, false, 80000, 1)
//Therapist LL3
}
static GenerateLL2(){
const CoreMod = require("../../CoreMod/src/Core.js")
//THERAPIST LL2
//Emelya rye croutons
CoreMod.CreateTraderAssort(HashUtil.generate(), "5751487e245977207e26a315", "54cb57776803fa99248b456e", 13562, "RUB", 2, false, 6500, 4)
//Interchange plan
CoreMod.CreateTraderAssort(HashUtil.generate(), "5be4038986f774527d3fae60", "54cb57776803fa99248b456e", 10157, "RUB", 2, false, 2000)
//Dogtag case
CoreMod.CreateTraderAssort(HashUtil.generate(), "5c093e3486f77430cb02e593", "54cb57776803fa99248b456e", 447330, "RUB", 2, false, 20000, 1)
//Aluminium splint
CoreMod.CreateTraderBarter(HashUtil.generate(), "5af0454c86f7746bf20992e8","hideout","hideout",[[{"count": 2,"_tpl": "5d1b3f2d86f774253763b735"}]], "54cb57776803fa99248b456e", 2, false, 2000, 1)
//CMS Kit
CoreMod.CreateTraderBarter(HashUtil.generate(), "5d02778e86f774203e7dedbe","hideout","hideout",[[{"count": 2,"_tpl": "5e2aef7986f7746d3f3c33f5"}]], "54cb57776803fa99248b456e", 2, false, 1000, 1)
//Grizzly medical kit
CoreMod.CreateTraderBarter(HashUtil.generate(), "590c657e86f77412b013051d","hideout","hideout",[[{"count": 1,"_tpl": "590a3efd86f77437d351a25b"},{"count": 1,"_tpl": "590a3d9c86f774385926e510"}]], "54cb57776803fa99248b456e", 2, false, 2000, 2)
//IFAK
CoreMod.CreateTraderBarter(HashUtil.generate(), "590c678286f77426c9660122","hideout","hideout",[[{"count": 1,"_tpl": "59e35abd86f7741778269d82"}]], "54cb57776803fa99248b456e", 2, false, 15000, 5)
//Adrenaline injector
CoreMod.CreateTraderBarter(HashUtil.generate(), "5c10c8fd86f7743d7d706df3","hideout","hideout",[[{"count": 1,"_tpl": "5d1b3f2d86f774253763b735"},{"count": 1,"_tpl": "590a3d9c86f774385926e510"}]], "54cb57776803fa99248b456e", 2, false, 2000, 1)
//English tea
CoreMod.CreateTraderBarter(HashUtil.generate(), "5bc9be8fd4351e00334cae6e","hideout","hideout",[[{"count": 4,"_tpl": "575062b524597720a31c09a1"}]], "54cb57776803fa99248b456e", 2, false, 5000, 2)
//Office key
CoreMod.CreateTraderBarter(HashUtil.generate(), "5780d0532459777a5108b9a2","hideout","hideout",[[{"count": 4,"_tpl": "5734758f24597738025ee253"}]], "54cb57776803fa99248b456e", 2, false, 100, 1)
//W221 San key
CoreMod.CreateTraderBarter(HashUtil.generate(), "5a0ee37f86f774023657a86f","hideout","hideout",[[{"count": 8,"_tpl": "5e2af02c86f7746d420957d4"}]], "54cb57776803fa99248b456e", 2, false, 2000, 1)
//Expeditionary fuel tank
CoreMod.CreateTraderBarter(HashUtil.generate(), "5d1b371186f774253763a656","hideout","hideout",[[{"count": 1,"_tpl": "5d1b33a686f7742523398398"},{"count": 4,"_tpl": "544fb62a4bdc2dfb738b4568"}]], "54cb57776803fa99248b456e", 2, false, 2000, 1)
//Pistol case
CoreMod.CreateTraderBarter(HashUtil.generate(), "567143bf4bdc2d1a0f8b4567","hideout","hideout",[[{"count": 6,"_tpl": "5d1b3a5d86f774252167ba22"},{"count": 2,"_tpl": "5d1b3f2d86f774253763b735"}]], "54cb57776803fa99248b456e", 2, false, 500, 1)
//Document case
CoreMod.CreateTraderBarter(HashUtil.generate(), "590c60fc86f77412b13fddcf","hideout","hideout",[[{"count": 1,"_tpl": "59e3658a86f7741776641ac4"},{"count": 1,"_tpl": "59e3639286f7741777737013"},{"count": 4,"_tpl": "573478bc24597738002c6175"}]], "54cb57776803fa99248b456e", 2, false, 30000, 1)
//Key tool
CoreMod.CreateTraderBarter(HashUtil.generate(), "59fafd4b86f7745ca07e1232","hideout","hideout",[[{"count": 10,"_tpl": "59e361e886f774176c10a2a5"},{"count": 10,"_tpl": "59e3606886f77417674759a5"},{"count": 10,"_tpl": "5e2af02c86f7746d420957d4"}]], "54cb57776803fa99248b456e", 2, false, 500, 1)
//Medicine case
CoreMod.CreateTraderBarter(HashUtil.generate(), "5aafbcd986f7745e590fff23","hideout","hideout",[[{"count": 7,"_tpl": "5b4335ba86f7744d2837a264"},{"count": 7,"_tpl": "5d1b3f2d86f774253763b735"},{"count": 2,"_tpl": "5755383e24597772cb798966"}]], "54cb57776803fa99248b456e", 2, false, 2000, 1)
//Scav junk box
CoreMod.CreateTraderBarter(HashUtil.generate(), "5b7c710788a4506dec015957","hideout","hideout",[[{"count": 100,"level": 10,"side": "Any","_tpl": "59f32c3b86f77472a31742f0"}]], "54cb57776803fa99248b456e", 2, false, 200, 1)
//rye croutons
CoreMod.CreateTraderBarter(HashUtil.generate(), "57347d3d245977448f7b7f61","hideout","hideout",[[{"count": 1,"_tpl": "5751487e245977207e26a315"}]], "54cb57776803fa99248b456e", 2, false, 1000, 3)
}
static GenerateLL3(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static GenerateLL4(){
const CoreMod = require("../../CoreMod/src/Core.js")
let id = null
}
static generateTherapistAssort(){
TherapistAssort.GenerateLL1()
TherapistAssort.GenerateLL2()
TherapistAssort.GenerateLL3()
TherapistAssort.GenerateLL4()
}
}
module.exports = TherapistAssort;

View File

@ -1,3 +1,10 @@
# AssortGenerator
The mod used in order to generate the traders assorts by myself
The mod used in order to generate the traders assorts by myself
## Download CoreMod to get the mod working
https://mods.sp-tarkov.com/files/file/97-ereshkigal-coremod/
## See at src/prapor.js or src/therapist.js how it's done
As said, just look at these two files to figure out how it's done