From 9ce7520e53ccc7a7c5ae4aa4250785b75aa21974 Mon Sep 17 00:00:00 2001 From: VelocitOni Date: Fri, 3 May 2024 19:59:53 -0400 Subject: [PATCH] Auto Roulette Warning Warn the player that we didn't fucking design an RNG-baed game LOL --- src/k_menufunc.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/k_menufunc.c b/src/k_menufunc.c index 4a42243d1..f36cfb5f9 100644 --- a/src/k_menufunc.c +++ b/src/k_menufunc.c @@ -210,6 +210,27 @@ static void M_ChangeCvar(INT32 choice) } #endif +if (cvar == &cv_dummyprofileautoroulette && + // Turning Auto Roulette on + cv_dummyprofileautoroulette.value == 1 && + // Not setting to default (ie changing the value) + choice != -1) + { + M_StartMessage( + "Turning on Auto Roulette", + "\"Ring Racers\" is not designed with random items in mind. With Auto Roulette, you cannot select the item results you want." + "\n" + "You will be at a distinct \x85" "disadvantage. \x80\n" + "\n" + "ARE YOU SURE?", + M_ChangeCvarResponse, + MM_YESNO, + NULL, + NULL + ); + return; + } + M_ChangeCvarDirect(choice, cvar); }