Basil Time >:3
11
PFPs.json
|
@ -9,6 +9,16 @@
|
|||
"idle": ["MiseryBedNeutral.png", "MiseryBedHappy.png"],
|
||||
"fallback": "/pfps/Misery/MiseryNeutral.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Basil",
|
||||
"pfpRoot": "/pfps/Basil/",
|
||||
"pfps": {
|
||||
"online": ["BasilHappy.webp", "BasilNeutral.webp", "BasilEcstatic.webp", "BasilManic.webp", "BasilVictory.webp"],
|
||||
"dnd": ["BasilAngry.webp", "BasilEnraged.webp", "BasilFurious.webp"],
|
||||
"idle": ["BasilToast.webp", "BasilSad.webp", "BasilMiserable.webp", "BasilDepressed.webp"],
|
||||
"fallback": "/pfps/Basil/BasilNeutral.png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"christmas": [
|
||||
|
@ -19,7 +29,6 @@
|
|||
"online": ["MiserySantaHappy.png"],
|
||||
"dnd": ["MiserySantaAngry.png"],
|
||||
"idle": ["MiserySantaNeutral.png"],
|
||||
"offline": [],
|
||||
"fallback": "/pfps/Misery/MiserySantaNeutral.png"
|
||||
}
|
||||
}
|
||||
|
|
3
index.js
|
@ -31,7 +31,8 @@ app.get("/v1/pfp", (req, res) => {
|
|||
}
|
||||
|
||||
var pfpConfig = JSON.parse(fs.readFileSync(path.join(__dirname, "PFPs.json")))[pfpSeason]
|
||||
var characterNumb = time.getDate() % pfpConfig.length
|
||||
var characterNumb = 1 // 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 pfps = char.pfps
|
||||
|
||||
|
|
BIN
pfps/Basil/BasilAngry.webp
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
pfps/Basil/BasilDepressed.webp
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
pfps/Basil/BasilEcstatic.webp
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
pfps/Basil/BasilEnraged.webp
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
pfps/Basil/BasilFurious.webp
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
pfps/Basil/BasilHappy.webp
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
pfps/Basil/BasilManic.webp
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
pfps/Basil/BasilMiserable.webp
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
pfps/Basil/BasilNeutral.webp
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
pfps/Basil/BasilSad.webp
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
pfps/Basil/BasilToast.webp
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
pfps/Basil/BasilVictory.webp
Normal file
After Width: | Height: | Size: 21 KiB |