Omori Picrew :D
22
PFPs.json
|
@ -1,23 +1,13 @@
|
||||||
{
|
{
|
||||||
"default": [
|
"default": [
|
||||||
{
|
{
|
||||||
"name": "Misery",
|
"name": "DreamPicrew",
|
||||||
"pfpRoot": "/pfps/Misery/",
|
"pfpRoot": "/pfps/OmoriPicrew/Dream",
|
||||||
"pfps": {
|
"pfps": {
|
||||||
"online": ["MiseryHappy.png", "MiseryNeutral.png"],
|
"online": ["Happy.png", "Happy2.png", "Neutral.png", "Victory.png"],
|
||||||
"dnd": ["MiseryAngry.png", "MiseryBedAngry.png"],
|
"dnd": ["Angry.png", "Angry2.png"],
|
||||||
"idle": ["MiseryBedNeutral.png", "MiseryBedHappy.png"],
|
"idle": ["Sad2.png", "Sad.png"],
|
||||||
"fallback": "/pfps/Misery/MiseryNeutral.png"
|
"fallback": "/pfps/OmoriPicrew/Dream/Neutral.png"
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Basil",
|
|
||||||
"pfpRoot": "/pfps/Basil/",
|
|
||||||
"pfps": {
|
|
||||||
"online": ["BasilHappy.webp", "BasilNeutral.webp", "BasilEcstatic.webp"],
|
|
||||||
"dnd": ["BasilAngry.webp"],
|
|
||||||
"idle": ["BasilToast.webp", "BasilSad.webp"],
|
|
||||||
"fallback": "/pfps/Basil/BasilNeutral.png"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
2
index.js
|
@ -31,7 +31,7 @@ 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 = 1 // time.getDate() % pfpConfig.length
|
var characterNumb = 0 // time.getDate() % pfpConfig.length
|
||||||
// Was originally meant to alternate, didn't really feel like it though. Might add back later.
|
// 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
|
||||||
|
|
BIN
pfps/OmoriPicrew/Dream/Angry.png
Normal file
After Width: | Height: | Size: 656 KiB |
BIN
pfps/OmoriPicrew/Dream/Angry2.png
Normal file
After Width: | Height: | Size: 700 KiB |
BIN
pfps/OmoriPicrew/Dream/Happy.png
Normal file
After Width: | Height: | Size: 650 KiB |
BIN
pfps/OmoriPicrew/Dream/Happy2.png
Normal file
After Width: | Height: | Size: 686 KiB |
BIN
pfps/OmoriPicrew/Dream/Neutral.png
Normal file
After Width: | Height: | Size: 675 KiB |
BIN
pfps/OmoriPicrew/Dream/Sad.png
Normal file
After Width: | Height: | Size: 623 KiB |
BIN
pfps/OmoriPicrew/Dream/Sad2.png
Normal file
After Width: | Height: | Size: 620 KiB |
BIN
pfps/OmoriPicrew/Dream/Victory.png
Normal file
After Width: | Height: | Size: 681 KiB |