···11+# TuxStrap
22+Basically Bloxstrap, but for Linux.
33+44+Contains some extra lil features to make playing Roblox a bit more fun.
55+- Floor Notifs
66+- Daily 50 floor challenge
77+- Floor counter (writes to file)
88+- Copy to clipboard, can be implemented by game.
+12
src/features/regretevator-daily-challenge.ts
···2121 floorNumStart = 999999;
2222 floorNumEnd = 999999;
2323 challengeDone = false;
2424+ console.log(
2525+ "[DailyChallenge]",
2626+ `Detected OnGameJoin`
2727+ );
2428});
25292630PluginEventEmitter.on("SetRichPresence", async (data: any) => {
···4751 if (floorNumStart === 999999) {
4852 floorNumStart = f;
4953 floorNumEnd = f + numFloors;
5454+ console.log(
5555+ "[DailyChallenge]",
5656+ `Detected Regretevator floor ${floorNumStart}, target floor num: ${floorNumEnd}`
5757+ );
5058 exec(
5159 `notify-send -a "tuxstrap" -u low "Regretevator" "Challenge: Survive ${
5260 floorNumEnd - floorNumStart
···7280 // exec(`notify-send -a "tuxstrap" -u low "Regretevator" "Going Up!"`);
7381 } else if ((data.state as string) === "Lounging in the lobby") {
7482 floorNumEnd += numFloorsDeath;
8383+ console.log(
8484+ "[DailyChallenge]",
8585+ `Setting target floor to ${floorNumEnd}`
8686+ );
7587 exec(
7688 `notify-send -a "tuxstrap" -u low "Regretevator" "haha im making you do ${numFloorsDeath} more floors >:3"`
7789 );