From 8386548f8b187937faa25d0a8ecaef37cb58ea31 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Sun, 29 Jun 2025 00:45:48 -0600 Subject: [PATCH] Add useful consts --- module/consts.mjs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 module/consts.mjs diff --git a/module/consts.mjs b/module/consts.mjs new file mode 100644 index 0000000..0d33f25 --- /dev/null +++ b/module/consts.mjs @@ -0,0 +1,9 @@ +export const __ID__ = `taf`; + +// MARK: filePath +export function filePath(path) { + if (path.startsWith(`/`)) { + path = path.slice(1); + }; + return `systems/${__ID__}/${path}`; +};