Addnew sheets (armor, weapons, malefica) and v13 support

This commit is contained in:
2025-05-18 23:51:26 +02:00
parent 7672f861ff
commit 995d61e1c6
4478 changed files with 667857 additions and 620 deletions

22
node_modules/module-error/index.js generated vendored Normal file
View File

@@ -0,0 +1,22 @@
'use strict'
module.exports = class ModuleError extends Error {
/**
* @param {string} message Error message
* @param {{ code?: string, cause?: Error, expected?: boolean, transient?: boolean }} [options]
*/
constructor (message, options) {
super(message || '')
if (typeof options === 'object' && options !== null) {
if (options.code) this.code = String(options.code)
if (options.expected) this.expected = true
if (options.transient) this.transient = true
if (options.cause) this.cause = options.cause
}
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.constructor)
}
}
}