Make the Cocoa Temple challenge a ghost replay challenge available from the start
This commit is contained in:
parent
aa3afa7048
commit
4a39813f07
@ -2,23 +2,30 @@
|
|||||||
<challenge version="3">
|
<challenge version="3">
|
||||||
<unlock_list list="false"/>
|
<unlock_list list="false"/>
|
||||||
<track id="cocoa_temple" laps="3" reverse="false"/>
|
<track id="cocoa_temple" laps="3" reverse="false"/>
|
||||||
<mode major="single" minor="quickrace"/>
|
<mode major="single" minor="timetrial"/>
|
||||||
<requirements trophies="5"/>
|
<requirements trophies="0"/>
|
||||||
|
|
||||||
<best>
|
<best>
|
||||||
<karts number="8"/>
|
<karts number="1"
|
||||||
<requirements position="1" time="125"/>
|
replay_file="challenge_cocoa_temple_supertux.replay"/>
|
||||||
|
<requirements position="1"/>
|
||||||
</best>
|
</best>
|
||||||
<hard>
|
<hard>
|
||||||
<karts number="7"/>
|
<karts number="1"
|
||||||
<requirements position="1" time="160"/>
|
replay_file="challenge_cocoa_temple_expert.replay"/>
|
||||||
|
<requirements position="1"/>
|
||||||
</hard>
|
</hard>
|
||||||
<medium>
|
<medium>
|
||||||
<karts number="6"/>
|
<karts number="1"
|
||||||
|
replay_file="challenge_cocoa_temple_intermediate.replay"/>
|
||||||
<requirements position="1"/>
|
<requirements position="1"/>
|
||||||
</medium>
|
</medium>
|
||||||
<easy>
|
<easy>
|
||||||
<karts number="5"/>
|
<karts number="1"
|
||||||
|
replay_file="challenge_cocoa_temple_novice.replay"/>
|
||||||
|
<karts number="1"/>
|
||||||
<requirements position="1"/>
|
<requirements position="1"/>
|
||||||
</easy>
|
</easy>
|
||||||
|
|
||||||
|
<unlock kart="suzanne"/>
|
||||||
</challenge>
|
</challenge>
|
||||||
|
@ -435,7 +435,7 @@ void ChallengeData::setRace(RaceManager::Difficulty d) const
|
|||||||
if (m_is_ghost_replay)
|
if (m_is_ghost_replay)
|
||||||
{
|
{
|
||||||
const bool result = ReplayPlay::get()->addReplayFile(file_manager
|
const bool result = ReplayPlay::get()->addReplayFile(file_manager
|
||||||
->getAsset(FileManager::CHALLENGE, m_replay_files[d]),
|
->getAsset(FileManager::REPLAY, m_replay_files[d]),
|
||||||
true/*custom_replay*/);
|
true/*custom_replay*/);
|
||||||
if (!result)
|
if (!result)
|
||||||
Log::fatal("ChallengeData", "Can't open replay for challenge!");
|
Log::fatal("ChallengeData", "Can't open replay for challenge!");
|
||||||
|
Loading…
Reference in New Issue
Block a user