diff --git a/public/lightbar-images/coin.png b/public/lightbar-images/coin.png new file mode 100644 index 00000000..4d8af271 Binary files /dev/null and b/public/lightbar-images/coin.png differ diff --git a/public/lightbar-images/money-sack.png b/public/lightbar-images/money-sack.png new file mode 100644 index 00000000..56c03374 Binary files /dev/null and b/public/lightbar-images/money-sack.png differ diff --git a/public/lightbar-images/money.png b/public/lightbar-images/money.png new file mode 100644 index 00000000..889fc344 Binary files /dev/null and b/public/lightbar-images/money.png differ diff --git a/public/lightbar-images/ship.png b/public/lightbar-images/ship.png new file mode 100644 index 00000000..cf5d4ddd Binary files /dev/null and b/public/lightbar-images/ship.png differ diff --git a/public/lightbar-images/skull.png b/public/lightbar-images/skull.png new file mode 100644 index 00000000..bfbdd23d Binary files /dev/null and b/public/lightbar-images/skull.png differ diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json index be053f94..e2e206c0 100644 --- a/src/assets/locales/en.json +++ b/src/assets/locales/en.json @@ -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?", diff --git a/src/components/utils/Lightbar.tsx b/src/components/utils/Lightbar.tsx index 30cbaec6..0cc193dd 100644 --- a/src/components/utils/Lightbar.tsx +++ b/src/components/utils/Lightbar.tsx @@ -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) {