Auto Roulette Warning

Warn the player that we didn't fucking design an RNG-baed game LOL
This commit is contained in:
VelocitOni 2024-05-03 19:59:53 -04:00
parent 56a5f9590d
commit 9ce7520e53

View file

@ -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);
}