Ereshkigal 2350e19ef0 AIO 2.3.0 update
Fix MaxTraderLevel
Fix ExamineExperience
Removed leftover log
Added: RemoveDurabilityBurnModifier
Prevent scav karma gain/lose
Prevent mastering Fence option (avoiding getting scavs karma bonuses)
Pre-wipes events
Improvement of stackable barters
2021-07-12 10:49:43 +02:00

32 lines
1.1 KiB
JavaScript

/*
エレシュキガル
*/
"use strict";
//AIO Modules
const Other = require("./src/other.js");
const Items = require("./src/items.js");
const Raids = require("./src/raids.js");
const Traders = require("./src/traders.js");
const Players = require("./src/player.js");
const Warnings = require("./src/warnings.js");
class Ereshkigal {
constructor() {
const mod = require("./package.json")
const config = require("./config/config.json");
Logger.info(`Loading: ${mod.name} : ${mod.version}`);
ModLoader.onLoad["AioMod-items"] = Items.ApplyItemsModifications;
ModLoader.onLoad["AioMod-raids"] = Raids.ApplyRaidsModifications;
ModLoader.onLoad["AioMod-traders"] = Traders.ApplyTradersModifications;
ModLoader.onLoad["AioMod-players"] = Players.ApplyPlayerModifications;
ModLoader.onLoad["AioMod-other"] = Other.ApplyVariousModifications;
if (config.other.ShowModLogs === true) {
ModLoader.onLoad["AioMod-warnings"] = Warnings.SendUserInformations;
}
}
}
module.exports = new Ereshkigal();