From dc8cc2c724de9cebcc65461175f52aabf0a9ec29 Mon Sep 17 00:00:00 2001 From: Chomp Date: Sat, 21 Aug 2021 22:22:13 +0100 Subject: [PATCH] add missing therapist unlock on ragman updated quest name on therapist --- Ereshkigal-BaseAssortGenerator/src/ragman.js | 5 +++-- Ereshkigal-BaseAssortGenerator/src/therapist.js | 11 ++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Ereshkigal-BaseAssortGenerator/src/ragman.js b/Ereshkigal-BaseAssortGenerator/src/ragman.js index 234e9f3..7b3e37f 100644 --- a/Ereshkigal-BaseAssortGenerator/src/ragman.js +++ b/Ereshkigal-BaseAssortGenerator/src/ragman.js @@ -63,6 +63,7 @@ class RagmanAssort "_tpl": "59e3556c86f7741776641ac2" } ]], "5ac3b934156ae10c4430e83c", 1, false, 6000, 4); + CoreMod.CreateTraderAssortUnlock("54cb57776803fa99248b456e", "success", id, "5969f9e986f7741dde183a50") //Pharmacist //usec baseball cap CoreMod.CreateTraderAssort(HashUtil.generate(), "5aa2a7e8e5b5b00016327c16", "5ac3b934156ae10c4430e83c", 1823, "RUB", 1, false, 20000); @@ -768,8 +769,8 @@ class RagmanAssort 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)); + VFS.writeFile("./traders/5ac3b934156ae10c4430e83c/assort.json", JsonUtil.serialize(DatabaseServer.tables.traders["5ac3b934156ae10c4430e83c"].assort, true));VFS.writeFile("./traders/54cb57776803fa99248b456e/assort.json", JsonUtil.serialize(DatabaseServer.tables.traders["54cb57776803fa99248b456e"].assort, true)); + VFS.writeFile("./traders/5ac3b934156ae10c4430e83c/questassort.json", JsonUtil.serialize(DatabaseServer.tables.traders["5ac3b934156ae10c4430e83c"].questassort, true));VFS.writeFile("./traders/54cb57776803fa99248b456e/questassort.json", JsonUtil.serialize(DatabaseServer.tables.traders["54cb57776803fa99248b456e"].questassort, true)); } } diff --git a/Ereshkigal-BaseAssortGenerator/src/therapist.js b/Ereshkigal-BaseAssortGenerator/src/therapist.js index e008ccc..6afd38e 100644 --- a/Ereshkigal-BaseAssortGenerator/src/therapist.js +++ b/Ereshkigal-BaseAssortGenerator/src/therapist.js @@ -11,6 +11,7 @@ class TherapistAssort { "loyal_level_items": {} }; let id = null; + // ASSORT ID ITEM TEMPLATE TRADER ID PRICE CURRENCY LOYALTY UNLIMITED STOCK MAXIMUM BUY //Therapist LL1 //Car first aid kit @@ -160,8 +161,7 @@ class TherapistAssort { } static GenerateLL2() { const CoreMod = require("../../CoreMod/src/Core.js"); - let id = null - //THERAPIST LL2 + let id = null; //Army bandage id = HashUtil.generate() @@ -171,7 +171,7 @@ class TherapistAssort { //Salewa first aid kit id = HashUtil.generate() CoreMod.CreateTraderAssort(id, "544fb45d4bdc2dee738b4568", "54cb57776803fa99248b456e", 23162, "RUB", 2, false, 5000); - CoreMod.CreateTraderAssortUnlock("54cb57776803fa99248b456e", "success", id, "596760e186f7741e11214d58") //Operation Aquarius p + CoreMod.CreateTraderAssortUnlock("54cb57776803fa99248b456e", "success", id, "596760e186f7741e11214d58") // postman pat //Emelya rye croutons CoreMod.CreateTraderAssort(HashUtil.generate(), "5751487e245977207e26a315", "54cb57776803fa99248b456e", 13562, "RUB", 2, false, 6500, 4); @@ -322,7 +322,7 @@ class TherapistAssort { } static GenerateLL3() { const CoreMod = require("../../CoreMod/src/Core.js"); - let id = null + let id = null; //Aluminum splint CoreMod.CreateTraderAssort(HashUtil.generate(), "5af0454c86f7746bf20992e8", "54cb57776803fa99248b456e", 15873, "RUB", 3, false, 7000); @@ -430,7 +430,8 @@ class TherapistAssort { } static GenerateLL4() { const CoreMod = require("../../CoreMod/src/Core.js"); - let id = null + let id = null; + //morphine injector id = HashUtil.generate() CoreMod.CreateTraderAssort(id, "544fb3f34bdc2d03748b456a", "54cb57776803fa99248b456e", 28289, "RUB", 4, true);