1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Branding and lightbar changes

This commit is contained in:
Cooper Ransom 2024-03-03 20:48:40 -05:00
parent 39257f33ae
commit 82c0201b91
7 changed files with 42 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -134,19 +134,22 @@
"default": "What would you like to watch this afternoon?",
"extra": ["Have you seen Blazing Saddles?"],
"extra": ["Welcome to Sudo-Flix!"],
"extra": [" /ᐠ>ヮ<ᐟ\\ฅ"]
"extra": [" /ᐠ>ヮ<ᐟ\\ฅ"],
"extra": ["Viva la sudo-flix!"]
},
"morning": {
"default": "What would you like to watch this morning?",
"extra": ["Can't go wrong with Friends"],
"extra": ["I hear The Expanse is popular"],
"extra": ["\"૮₍ ˶•⤙•˶ ₎ა"]
"extra": ["\"૮₍ ˶•⤙•˶ ₎ა"],
"extra": ["Viva la sudo-flix!"]
},
"night": {
"default": "What would you like to watch tonight?",
"extra": ["Rick & Morty is great with friends!"],
"extra": ["Go smoke and watch The Simpsons!"],
"extra": ["(づ ᴗ _ᴗ)づ♡"]
"extra": ["(づ ᴗ _ᴗ)づ♡"],
"extra": ["Viva la sudo-flix!"]
},
"420": {
"default": "What would you like to watch this 4/20?",

View file

@ -267,6 +267,42 @@ function ParticlesCanvas() {
imageParticleCount = particleCount / 9;
}
// Money easter egg
const shouldShowMoney = Math.random() < 0.06; // 6%
if (shouldShowMoney) {
imageOverride = [
{
image: "/lightbar-images/money-sack.png",
sizeRange: [24, 32] as [number, number],
},
{
image: "/lightbar-images/money.png",
sizeRange: [13, 23] as [number, number],
},
{
image: "/lightbar-images/coin.png",
sizeRange: [8, 20] as [number, number],
},
];
imageParticleCount = particleCount / 8.45;
}
// Pirate easter egg
const shouldShowPirate = Math.random() < 0.9; // 3%
if (shouldShowPirate) {
imageOverride = [
{
image: "/lightbar-images/skull.png",
sizeRange: [20, 28] as [number, number],
},
{
image: "/lightbar-images/ship.png",
sizeRange: [23, 27] as [number, number],
},
];
imageParticleCount = particleCount / 10;
}
// Dev easter egg
const shouldShowCode = Math.random() < 0.03; // 3%
if (shouldShowCode) {