From 0716edd9c26017190d28eb43cdaae181b53c261b Mon Sep 17 00:00:00 2001 From: haykam821 Date: Thu, 15 Feb 2018 12:21:44 -0500 Subject: [PATCH 1/5] Move to dev folder --- data.json => dev/data.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename data.json => dev/data.json (100%) diff --git a/data.json b/dev/data.json similarity index 100% rename from data.json rename to dev/data.json From e6b6d2d11b0c262ec3f674ac4bdfbe75b1834a64 Mon Sep 17 00:00:00 2001 From: haykam821 Date: Thu, 15 Feb 2018 12:25:12 -0500 Subject: [PATCH 2/5] Create README.md --- dev/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 dev/README.md diff --git a/dev/README.md b/dev/README.md new file mode 100644 index 0000000..3c75e95 --- /dev/null +++ b/dev/README.md @@ -0,0 +1,8 @@ +The developer folder has several tools for testing and storing/generating data files. + +# File Information + +Here is a list of all the files and what they do: + +* `hats.js`: Generates price data for `data.json` from the hat thing in the source code of the client. +* `data.json`: Stores important hat-related data such as aliases and prices. From 3f60869c3269f874aa6f83aa8738b8dcad67fb40 Mon Sep 17 00:00:00 2001 From: haykam821 Date: Sun, 18 Feb 2018 22:41:12 -0500 Subject: [PATCH 3/5] Remove unneeded header --- dev/data.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dev/data.json b/dev/data.json index 73ffdd7..19c6ae9 100644 --- a/dev/data.json +++ b/dev/data.json @@ -1,9 +1,4 @@ { - "header": [ - " If you're here and you're ", - " not a developer of these bots, ", - " you're in the wrong place. " - ], "hatAliases": { "shame": 45, "joker": 45, From 26fba89cf63e4ef2145a5e3397f51b5aac4e759c Mon Sep 17 00:00:00 2001 From: haykam821 Date: Sun, 18 Feb 2018 22:41:26 -0500 Subject: [PATCH 4/5] Remove unneeded header --- dev/formatHatJson.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/dev/formatHatJson.js b/dev/formatHatJson.js index c92027b..ff6026d 100644 --- a/dev/formatHatJson.js +++ b/dev/formatHatJson.js @@ -1,11 +1,3 @@ -/* - -#### If you're here and you're #### -#### not a developer of these bots, #### -#### you're in the wrong place. #### - -*/ - let hatPrices = []; let hatInfo = undefined; // paste the hat array object here From a234a320f07c843af16c34a79a22a066a782a6e5 Mon Sep 17 00:00:00 2001 From: haykam821 Date: Fri, 23 Feb 2018 18:31:58 -0500 Subject: [PATCH 5/5] Fix new path to data.json --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8554592..175ab4b 100644 --- a/index.js +++ b/index.js @@ -133,7 +133,7 @@ function getHatID(name){ } } -const data = require("./data.json"); +const data = require("./dev/data.json"); const names = [ "Wally",