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. diff --git a/data.json b/dev/data.json similarity index 95% rename from data.json rename to dev/data.json index 73ffdd7..19c6ae9 100644 --- a/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, 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 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",