Challenge condition string: Grey out if you've unlocked the space with a Chao Key and haven't achieved its associated condition yet

You can still achieve it and make it full-bright at a later date
This commit is contained in:
toaster 2023-03-15 14:51:13 +00:00
parent 7f3836f916
commit e943ba7548

View file

@ -1431,6 +1431,13 @@ char *M_BuildConditionSetString(UINT8 unlockid)
return NULL;
}
if (gamedata->unlocked[unlockid] == true && M_Achieved(unlockables[unlockid].conditionset - 1) == false)
{
message[0] = '\x86'; // the following text will be grey
message[1] = '\0';
len--;
}
c = &conditionSets[unlockables[unlockid].conditionset-1];
for (i = 0; i < c->numconditions; ++i)