Basil Time >:3

This commit is contained in:
bingus_violet 2024-03-08 07:40:49 -06:00
parent b283c97a06
commit 7111a8b55a
14 changed files with 12 additions and 2 deletions

View file

@ -9,6 +9,16 @@
"idle": ["MiseryBedNeutral.png", "MiseryBedHappy.png"], "idle": ["MiseryBedNeutral.png", "MiseryBedHappy.png"],
"fallback": "/pfps/Misery/MiseryNeutral.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": [ "christmas": [
@ -19,7 +29,6 @@
"online": ["MiserySantaHappy.png"], "online": ["MiserySantaHappy.png"],
"dnd": ["MiserySantaAngry.png"], "dnd": ["MiserySantaAngry.png"],
"idle": ["MiserySantaNeutral.png"], "idle": ["MiserySantaNeutral.png"],
"offline": [],
"fallback": "/pfps/Misery/MiserySantaNeutral.png" "fallback": "/pfps/Misery/MiserySantaNeutral.png"
} }
} }

View file

@ -31,7 +31,8 @@ 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 = 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 char = pfpConfig[characterNumb]
var pfps = char.pfps var pfps = char.pfps

BIN
pfps/Basil/BasilAngry.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
pfps/Basil/BasilHappy.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
pfps/Basil/BasilManic.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
pfps/Basil/BasilSad.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
pfps/Basil/BasilToast.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB