aboutsummaryrefslogtreecommitdiff
path: root/util/constants.js
diff options
context:
space:
mode:
Diffstat (limited to 'util/constants.js')
-rw-r--r--util/constants.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/util/constants.js b/util/constants.js
new file mode 100644
index 0000000..889ca14
--- /dev/null
+++ b/util/constants.js
@@ -0,0 +1,28 @@
+import PogObject from "PogData"
+
+let PogData = new PogObject("Coleweight", {
+ "api_key": undefined,
+ "x": 0.5,
+ "y": 141,
+ "coleweight": 0,
+ "cwToggle": true,
+ "first_time": true
+}, ".cw_data.json");
+
+export default
+{
+ PREFIX: "&2[CW] ",
+ VERSION: (JSON.parse(FileLib.read("Coleweight", "metadata.json"))).version,
+ data: PogData,
+ cwValues: [],
+ calcCwPerHr: false,
+ upTimeTrack: false,
+ uptime: 0,
+ baseColeweight: 0,
+ stepsSinceLast: 0,
+ cwGui: new Gui(),
+ throneValues: [],
+ spiralValues: [],
+ coleweightHr: 0,
+ cwValuesSum: 0
+} \ No newline at end of file