|
1 | 1 | package archipelago; |
2 | 2 |
|
| 3 | +import backend.window.PlatformUtil; |
3 | 4 | import haxe.ds.StringMap; |
4 | 5 |
|
5 | 6 | typedef Condition = { |
@@ -481,7 +482,57 @@ class APrilFools extends APItem { |
481 | 482 | #if windows |
482 | 483 | options.set(7, function() { |
483 | 484 | APItem.createCustomItem("April Fools - Windows Notification", ConditionHelper.Everywhere(), function() { |
484 | | - backend.window.CppAPI.sendWindowsNotification("April Fools!", "This is a Windows notification!"); |
| 485 | + var creepyMessages = [ |
| 486 | + "I can see you...", |
| 487 | + "Did you hear that?", |
| 488 | + "Don't look behind you.", |
| 489 | + "Your time is running out.", |
| 490 | + "Is someone watching?", |
| 491 | + "Check your surroundings.", |
| 492 | + "What was that noise?", |
| 493 | + "Are you alone?", |
| 494 | + "Something feels off.", |
| 495 | + "Why is it so quiet?" |
| 496 | + ]; |
| 497 | + |
| 498 | + var funnyMessages = [ |
| 499 | + "Your computer is now self-aware. Just kidding!", |
| 500 | + "Why did the programmer quit? They didn't get arrays.", |
| 501 | + "404: Your luck not found.", |
| 502 | + "Did you just press a button? Bold move.", |
| 503 | + "Your keyboard is plotting against you.", |
| 504 | + "Congratulations! You've won absolutely nothing!", |
| 505 | + "This is not a bug, it's a feature.", |
| 506 | + "Your mouse just moved on its own. Or did it?", |
| 507 | + "Don't worry, the code is 100% bug-free. Maybe.", |
| 508 | + "Fun fact: This message is completely pointless.", |
| 509 | + "Your computer loves you. Platonically, of course.", |
| 510 | + "Warning: Too much coffee detected in your system.", |
| 511 | + "Achievement unlocked: Reading random messages.", |
| 512 | + "Your screen is now 10% brighter. Just kidding!", |
| 513 | + "Did you know? This message is wasting your time.", |
| 514 | + "Your CPU is laughing at you right now.", |
| 515 | + "Error 42: Life, the universe, and everything.", |
| 516 | + "Your RAM just said 'hi'.", |
| 517 | + "This is a test. Or is it?", |
| 518 | + "Your GPU wants a vacation.", |
| 519 | + "Z11 is watching you.", |
| 520 | + "Yuta is watching you.", |
| 521 | + "Yuta is always watching.", |
| 522 | + "Z11 is always watching.", |
| 523 | + "Yuta and Z11 are always watching.", |
| 524 | + "Yuta and Z11 are always watching you.", |
| 525 | + "Yuta and Z11 are always watching you play.", |
| 526 | + "Yuta and Z11 are always watching you play this game.", |
| 527 | + "The void is coming." |
| 528 | + ]; |
| 529 | + |
| 530 | + var randomMessage = Std.random(100) < 20 // 20% chance for creepy messages |
| 531 | + ? creepyMessages[Std.random(creepyMessages.length)] |
| 532 | + : funnyMessages[Std.random(funnyMessages.length)]; |
| 533 | + if (!PlatformUtil.sendWindowsNotification("Archipelago", randomMessage)) { |
| 534 | + APItem.popup(randomMessage, "Archipelago", true); |
| 535 | + } |
485 | 536 | }); |
486 | 537 | }); |
487 | 538 | #end |
|
0 commit comments