mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-10 16:52:16 +00:00
UCRP_PODIUMNOCONTINUES
Fires if no continues have been used (as tracked on the Ceremony Ranking screen)
This commit is contained in:
parent
813ad52b15
commit
edd3e8bbea
3 changed files with 9 additions and 1 deletions
|
|
@ -2891,7 +2891,8 @@ static void readcondition(UINT16 set, UINT32 id, char *word2)
|
|||
}
|
||||
}
|
||||
else if ((offset=0) || fastcmp(params[0], "PODIUMEMERALD")
|
||||
|| (++offset && fastcmp(params[0], "PODIUMPRIZE")))
|
||||
|| (++offset && fastcmp(params[0], "PODIUMPRIZE"))
|
||||
|| (++offset && fastcmp(params[0], "PODIUMNOCONTINUES")))
|
||||
{
|
||||
//PARAMCHECK(1);
|
||||
ty = UCRP_PODIUMEMERALD + offset;
|
||||
|
|
|
|||
|
|
@ -1484,6 +1484,10 @@ boolean M_CheckCondition(condition_t *cn, player_t *player)
|
|||
return (grandprixinfo.gp == true
|
||||
&& K_PodiumRanking() == true
|
||||
&& grandprixinfo.rank.specialWon == true);
|
||||
case UCRP_PODIUMNOCONTINUES:
|
||||
return (grandprixinfo.gp == true
|
||||
&& K_PodiumRanking() == true
|
||||
&& grandprixinfo.rank.continuesUsed == 0);
|
||||
|
||||
case UCRP_FINISHCOOL:
|
||||
return (player->exiting
|
||||
|
|
@ -2335,6 +2339,8 @@ static const char *M_GetConditionString(condition_t *cn)
|
|||
if (!gamedata->everseenspecial)
|
||||
return "???";
|
||||
return "collect the prize";
|
||||
case UCRP_PODIUMNOCONTINUES:
|
||||
return "without using any continues";
|
||||
|
||||
case UCRP_FINISHCOOL:
|
||||
return "finish in good standing";
|
||||
|
|
|
|||
|
|
@ -92,6 +92,7 @@ typedef enum
|
|||
UCRP_PODIUMCUP, // cup == [cup] [optional: >= grade OR place]
|
||||
UCRP_PODIUMEMERALD, // Get to podium sequence with that cup's emerald
|
||||
UCRP_PODIUMPRIZE, // Get to podium sequence with that cup's bonus (alternate string version of UCRP_PODIUMEMERALD
|
||||
UCRP_PODIUMNOCONTINUES, // Get to podium sequence without any continues
|
||||
|
||||
UCRP_FINISHCOOL, // Finish in good standing
|
||||
UCRP_FINISHPERFECT, // Finish a perfect race
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue