Misery PFPs
This commit is contained in:
parent
7591f6e1fd
commit
1e4e43e03e
2 changed files with 10 additions and 1 deletions
10
PFPs.json
10
PFPs.json
|
@ -19,6 +19,16 @@
|
||||||
"idle": ["BasilSad.webp", "BasilDepressed.webp", "BasilMiserable.webp"],
|
"idle": ["BasilSad.webp", "BasilDepressed.webp", "BasilMiserable.webp"],
|
||||||
"fallback": "/pfps/Basil/BasilToast.webp"
|
"fallback": "/pfps/Basil/BasilToast.webp"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Misery",
|
||||||
|
"pfpRoot": "/pfps/Misery/",
|
||||||
|
"pfps": {
|
||||||
|
"online": ["MiseryHappy.png", "MiseryBedHappy.png"],
|
||||||
|
"dnd": ["MiseryBedAngry.png", "MiseryAngry.png"],
|
||||||
|
"idle": ["MiseryBedNeutral.png", "MiseryNeutral.png"],
|
||||||
|
"fallback": "/pfps/Misery/MiseryNeutral.png"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"christmas": [
|
"christmas": [
|
||||||
|
|
1
index.js
1
index.js
|
@ -34,7 +34,6 @@ app.get("/v1/pfp", (req, res) => {
|
||||||
|
|
||||||
var pfpConfig = JSON.parse(fs.readFileSync(path.join(__dirname, "PFPs.json")))[pfpSeason]
|
var pfpConfig = JSON.parse(fs.readFileSync(path.join(__dirname, "PFPs.json")))[pfpSeason]
|
||||||
var characterNumb = time.getDate() % pfpConfig.length
|
var characterNumb = time.getDate() % pfpConfig.length
|
||||||
// Was originally meant to alternate, didn't really feel like it though. Might add back later.
|
|
||||||
var char = pfpConfig[characterNumb]
|
var char = pfpConfig[characterNumb]
|
||||||
var pfps = char.pfps
|
var pfps = char.pfps
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue