Rename number of flight achievements
This commit is contained in:
@@ -19,7 +19,7 @@ class GeneralFlyingChecker extends BaseChecker
|
|||||||
|
|
||||||
// --- Boolean achievements ---
|
// --- Boolean achievements ---
|
||||||
|
|
||||||
$this->awardIf($allLoggedFlightsCount >= 1, 'general_flying.first_flight');
|
$this->awardIf($allLoggedFlightsCount >= 1, 'number_of_flights.first_flight');
|
||||||
|
|
||||||
$this->awardIf(
|
$this->awardIf(
|
||||||
$flights->contains(fn ($f) => $f->isDomestic()),
|
$flights->contains(fn ($f) => $f->isDomestic()),
|
||||||
@@ -69,10 +69,10 @@ class GeneralFlyingChecker extends BaseChecker
|
|||||||
'general_flying.domestic_two_countries'
|
'general_flying.domestic_two_countries'
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->awardProgress($count,'general_flying.10_flights');
|
$this->awardProgress($count,'number_of_flights.10_flights');
|
||||||
$this->awardProgress($count,'general_flying.50_flights');
|
$this->awardProgress($count,'number_of_flights.50_flights');
|
||||||
$this->awardProgress($count,'general_flying.100_flights');
|
$this->awardProgress($count,'number_of_flights.100_flights');
|
||||||
$this->awardProgress($count,'general_flying.500_flights');
|
$this->awardProgress($count,'number_of_flights.500_flights');
|
||||||
$this->awardProgress($count,'general_flying.1000_flights');
|
$this->awardProgress($count,'number_of_flights.1000_flights');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user