Skip to content

Commit bda2e44

Browse files
authored
revise a few things
1 parent 52945a1 commit bda2e44

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Menu Loop Randomizer Changelog
2+
## v1.8.4
3+
- Added `Advanced Logging` toggle.
4+
- Added an easter egg.
25
## v1.8.3
36
- Allowed the name of the currently playing song inside the controls menu to update more often.
47
- Included Playlist Mode and Override Mode indicators in the controls menu.

mod.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,11 @@
228228
"description": "<cl>Original idea by RighteousRyan.</c>\n\nSearch for songs within subdirectories.\n\n<c_>This is an EXPERIMENTAL setting. By enabling this, you will hold yourself responsible for any issues/lag/damages/crashes that happen with this setting enabled. You also agree that this setting was added despite the developer's (RayDeeUx's) lack of personal belief/confidence that this feature belongs in MLR.</c>",
229229
"type": "bool",
230230
"default": false
231+
},
232+
"advancedLogs": {
233+
"name": "Advanced Logging",
234+
"type": "bool",
235+
"default": true
231236
}
232237
},
233238
"resources": {

src/EditorPauseLayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class $modify(MenuLoopEPLHook, EditorPauseLayer) {
8282
}
8383
*/
8484

85-
log::info("shouldClose: {} (p0->getTag() == 1: {}, btnTwo: {})", shouldClose, p0->getTag() == 1, btnTwo); // log::info calls since that's kinda this mod's thing
85+
if (Utils::getBool("advancedLogs")) log::info("shouldClose: {} (p0->getTag() == 1: {}, btnTwo: {})", shouldClose, p0->getTag() == 1, btnTwo); // log::info calls since that's kinda this mod's thing
8686

8787
if (!shouldClose) return EditorPauseLayer::FLAlert_Clicked(p0, btnTwo);
8888

src/FMODAudioEngine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const static std::regex terribleLoopRegex = std::regex(R"(^[\w]+\.mp3$)");
1111
class $modify(MenuLoopFMODHook, FMODAudioEngine) {
1212
void playMusic(gd::string path, bool shouldLoop, float fadeInTime, int channel) {
1313
SongManager& songManager = SongManager::get();
14-
const bool isLavaChicken = geode::utils::string::contains(static_cast<std::string>(path), "steves_lava_chicken");
14+
const bool isLavaChicken = geode::utils::string::contains(static_cast<std::string>(path), "sawblade.steves_lava_chicken");
1515
songManager.setLavaChicken(isLavaChicken);
1616
if (isLavaChicken) {
1717
songManager.setCurrentSong(static_cast<std::string>(path));

src/Utils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,14 +140,14 @@ void Utils::newCardAndDisplayNameFromCurrentSong() {
140140
SongManager& songManager = SongManager::get();
141141
const std::string& songFileName = Utils::toNormalizedString(std::filesystem::path(songManager.getCurrentSong()).filename());
142142
if (!songManager.getLavaChicken()) songManager.setCurrentSongDisplayName(songFileName);
143-
else songManager.setCurrentSongDisplayName(fmt::format("{} (Please touch grass.)", songFileName));
143+
else songManager.setCurrentSongDisplayName(fmt::format("{} (My condolences for your ears.)", songFileName));
144144

145145
std::string notifString = "";
146146
if (const std::string& prefix = geode::Mod::get()->getSettingValue<std::string>("customPrefix"); prefix != "[Empty]")
147147
notifString = fmt::format("{}: ", prefix);
148148

149149
std::string suffix = "";
150-
if (songManager.getLavaChicken()) suffix = " (PLEASE TOUCH GRASS)";
150+
if (songManager.getLavaChicken()) suffix = " (MY CONDOLENCES.)";
151151
else if (songManager.isOverride()) suffix = " (CUSTOM OVERRIDE)";
152152
else if (songManager.isPreviousSong()) suffix = " (PREVIOUS SONG)";
153153

0 commit comments

Comments
 (0)