Add ragman unlock links

This commit is contained in:
Chomp 2021-08-21 13:57:47 +01:00
parent 6d6b518f4b
commit 7f6a1f9831

View File

@ -2,9 +2,11 @@
エレシュキガル
*/
class RagmanAssort{
class RagmanAssort
{
static GenerateLL1() {
static GenerateLL1()
{
const CoreMod = require("../../CoreMod/src/Core.js");
DatabaseServer.tables.traders["5ac3b934156ae10c4430e83c"].assort = {
"items": [],
@ -130,9 +132,10 @@ class RagmanAssort{
CoreMod.CreateTraderAssort(HashUtil.generate(), "5ca20d5986f774331e7c9602", "5ac3b934156ae10c4430e83c", 23444, "RUB", 1, false, 20000, 3);
}
static GenerateLL2() {
static GenerateLL2()
{
const CoreMod = require("../../CoreMod/src/Core.js");
let id = null;
//cold fear infrared balaclava
CoreMod.CreateTraderAssort(HashUtil.generate(), "5ab8f39486f7745cd93a1cca", "5ac3b934156ae10c4430e83c", 4793, "RUB", 2, false, 5000);
@ -312,8 +315,10 @@ class RagmanAssort{
//Stich Profi Chest Rig MK2 (Recon, A-TACS FG)
CoreMod.CreateTraderAssort(HashUtil.generate(), "60a6220e953894617404b00a", "5ac3b934156ae10c4430e83c", 39960, "RUB", 2, false, 20000);
}
static GenerateLL3() {
static GenerateLL3()
{
const CoreMod = require("../../CoreMod/src/Core.js");
let id = null;
//shemagh (green)
CoreMod.CreateTraderAssort(HashUtil.generate(), "5ab8f85d86f7745cd93a1cf5", "5ac3b934156ae10c4430e83c", 4727, "RUB", 3, true, 999999);
@ -393,7 +398,8 @@ class RagmanAssort{
CoreMod.CreateTraderAssort(HashUtil.generate(), "5aa2ba71e5b5b000137b758f", "5ac3b934156ae10c4430e83c", 28272, "RUB", 3, false, 8000);
//BNTI Gzhel-K armor
CoreMod.CreateTraderBarter(HashUtil.generate(), "5ab8e79e86f7742d8b372e78", "hideout", "hideout", [[{
id = HashUtil.generate();
CoreMod.CreateTraderBarter(id, "5ab8e79e86f7742d8b372e78", "hideout", "hideout", [[{
"count": 2,
"_tpl": "5734758f24597738025ee253"
}, {
@ -401,6 +407,7 @@ class RagmanAssort{
"_tpl": "5af0484c86f7740f02001f7f"
}
]], "5ac3b934156ae10c4430e83c", 3, false, 2000, 4);
CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5ae449d986f774453a54a7e1"); // supervisor
//iotv gen4 body armor (high mobility kit)
CoreMod.CreateTraderBarter(HashUtil.generate(), "5b44d0de86f774503d30cba8", "hideout", "hideout", [[{
@ -518,9 +525,10 @@ class RagmanAssort{
CoreMod.CreateTraderAssort(HashUtil.generate(), "60a621c49c197e4e8c4455e6", "5ac3b934156ae10c4430e83c", 41625, "RUB", 3, false, 2000);
}
static GenerateLL4() {
static GenerateLL4()
{
const CoreMod = require("../../CoreMod/src/Core.js");
let id = null;
//altyn face shield
CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa7e373e5b5b000137b76f0", "hideout", "hideout", [[{
"count": 4,
@ -577,7 +585,8 @@ class RagmanAssort{
CoreMod.CreateTraderAssort(HashUtil.generate(), "5ab8f4ff86f77431c60d91ba", "5ac3b934156ae10c4430e83c", 7535, "RUB", 4, false, 10000, 5);
//crash axe
CoreMod.CreateTraderBarter(HashUtil.generate(), "5bffe7930db834001b734a39", "hideout", "hideout", [[{
id = HashUtil.generate();
CoreMod.CreateTraderBarter(id, "5bffe7930db834001b734a39", "hideout", "hideout", [[{
"count": 1,
"_tpl": "5780cf7f2459777de4559322"
}, {
@ -588,6 +597,7 @@ class RagmanAssort{
"_tpl": "5c12688486f77426843c7d32"
}
]], "5ac3b934156ae10c4430e83c", 4, false, 1);
CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5c112d7e86f7740d6f647486"); // scavenger
//shattered light armored mask
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b432b2f5acfc4771e1c6622", "5ac3b934156ae10c4430e83c", 26575, "RUB", 4, true, 2000, 7);
@ -609,13 +619,17 @@ class RagmanAssort{
]], "5ac3b934156ae10c4430e83c", 4, false, 1);
//highcom striker ulach IIIA helmet (black)
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b40e1525acfc4771e1c6611", "5ac3b934156ae10c4430e83c", 86563, "RUB", 4, false, 2000);
id = HashUtil.generate();
CoreMod.CreateTraderAssort(id, "5b40e1525acfc4771e1c6611", "5ac3b934156ae10c4430e83c", 86563, "RUB", 4, false, 2000);
CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5ae449a586f7744bde357696"); // no fuss needed
//beret (blue)
CoreMod.CreateTraderAssort(HashUtil.generate(), "5f60e7788adaa7100c3adb49", "5ac3b934156ae10c4430e83c", 33966, "RUB", 4, false, 20000, 3);
//highcom striker ulach IIIA helmet (coyote tan)
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b40e2bc5acfc40016388216", "5ac3b934156ae10c4430e83c", 68448, "RUB", 4, false, 2000, 4);
id = HashUtil.generate();
CoreMod.CreateTraderAssort(id, "5b40e2bc5acfc40016388216", "5ac3b934156ae10c4430e83c", 68448, "RUB", 4, false, 2000, 4);
CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5ae449c386f7744bde357697"); // sales night
//devtac ronin ballistic helmet
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b4329f05acfc47a86086aa1", "5ac3b934156ae10c4430e83c", 146442, "RUB", 4, false, 50, 1);
@ -662,7 +676,8 @@ class RagmanAssort{
]], "5ac3b934156ae10c4430e83c", 4, false, 1);
//ars arma a18 skanda plate carrier
CoreMod.CreateTraderBarter(HashUtil.generate(), "5d5d87f786f77427997cfaef", "hideout", "hideout", [[{
id = HashUtil.generate();
CoreMod.CreateTraderBarter(id, "5d5d87f786f77427997cfaef", "hideout", "hideout", [[{
"count": 1,
"_tpl": "5d235a5986f77443f6329bc6"
}, {
@ -670,13 +685,16 @@ class RagmanAssort{
"_tpl": "5734758f24597738025ee253"
}
]], "5ac3b934156ae10c4430e83c", 4, false, 1);
CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5c1141f386f77430ff393792"); // living high is not a crime part 2
//iotv gen4 body armor (full protection)
CoreMod.CreateTraderBarter(HashUtil.generate(), "5b44cd8b86f774503d30cba2", "hideout", "hideout", [[{
id = HashUtil.generate();
CoreMod.CreateTraderBarter(id, "5b44cd8b86f774503d30cba2", "hideout", "hideout", [[{
"count": 3,
"_tpl": "59e3639286f7741777737013"
}
]], "5ac3b934156ae10c4430e83c", 4, false, 2);
CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5b478b1886f7744d1b23c57d"); // hot delivery
//6B43 Zabralo-Sh 6A Armor
CoreMod.CreateTraderBarter(HashUtil.generate(), "545cdb794bdc2d3a198b456a", "hideout", "hideout", [[{
@ -699,7 +717,8 @@ class RagmanAssort{
]], "5ac3b934156ae10c4430e83c", 4, false, 1);
//fort redut-t5 body armor
CoreMod.CreateTraderBarter(HashUtil.generate(), "5ca21c6986f77479963115a7", "hideout", "hideout", [[{
id = HashUtil.generate();
CoreMod.CreateTraderBarter(id, "5ca21c6986f77479963115a7", "hideout", "hideout", [[{
"count": 6,
"_tpl": "590c595c86f7747884343ad7"
}, {
@ -707,9 +726,12 @@ class RagmanAssort{
"_tpl": "5c12688486f77426843c7d32"
}
]], "5ac3b934156ae10c4430e83c", 4, false, 1);
CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5ae449d986f774453a54a7e1"); // supervisor
//nfm thor integrated carrier body armor
CoreMod.CreateTraderAssort(HashUtil.generate(), "60a283193cb70855c43a381d", "5ac3b934156ae10c4430e83c", 420635, "RUB", 4, false, 2000, 1);
id = HashUtil.generate();
CoreMod.CreateTraderAssort(id, "60a283193cb70855c43a381d", "5ac3b934156ae10c4430e83c", 420635, "RUB", 4, false, 2000, 1);
CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5c10f94386f774227172c572"); // blood of war part 3
//sso "attack 2" raid backpack
CoreMod.CreateTraderBarter(HashUtil.generate(), "5ab8ebf186f7742d8b372e80", "hideout", "hideout", [[{
@ -736,13 +758,18 @@ class RagmanAssort{
]], "5ac3b934156ae10c4430e83c", 4, false, 1);
//eberlestock g2 gunslinger II backpack (dry earth)
CoreMod.CreateTraderAssort(HashUtil.generate(), "6034d2d697633951dc245ea6", "5ac3b934156ae10c4430e83c", 65601, "RUB", 4, false, 4000, 3);
id = HashUtil.generate();
CoreMod.CreateTraderAssort(id, "6034d2d697633951dc245ea6", "5ac3b934156ae10c4430e83c", 65601, "RUB", 4, false, 4000, 3);
CoreMod.CreateTraderAssortUnlock("5ac3b934156ae10c4430e83c", "success", id, "5ae4498786f7744bde357695"); // key to success
}
static generateRagmanAssort() {
static generateRagmanAssort()
{
RagmanAssort.GenerateLL1();
RagmanAssort.GenerateLL2();
RagmanAssort.GenerateLL3();
RagmanAssort.GenerateLL4();
VFS.writeFile("./traders/5ac3b934156ae10c4430e83c/assort.json", JsonUtil.serialize(DatabaseServer.tables.traders["5ac3b934156ae10c4430e83c"].assort, true));
VFS.writeFile("./traders/5ac3b934156ae10c4430e83c/questassort.json", JsonUtil.serialize(DatabaseServer.tables.traders["5ac3b934156ae10c4430e83c"].questassort, true));
}
}