468 lines
13 KiB
Text
468 lines
13 KiB
Text
params =
|
|
{
|
|
NAME = "JD_AchievementsDatabase_Template",
|
|
JD_AchievementsDatabase_Template =
|
|
{
|
|
achievements =
|
|
{
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Welcome to Just Dance 2021! - Complete your first song.
|
|
id = 1,
|
|
durangoAchievementId = 1,
|
|
scarlettAchievementId = 1,
|
|
orbisTrophyId = 1,
|
|
prosperoTrophyId = 1,
|
|
ggpAchievementId = 1,
|
|
uplayId = 1,
|
|
unlockObjectiveDescId = "Static_Achievement_Play1Map"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Just Dance Warm-up - Get 3 stars on 5 different songs.
|
|
id = 2,
|
|
durangoAchievementId = 2,
|
|
scarlettAchievementId = 2,
|
|
orbisTrophyId = 2,
|
|
prosperoTrophyId = 2,
|
|
ggpAchievementId = 2,
|
|
unlockObjectiveDescId = "Static_Achievement_Score3StarsOn5DifferentSongs"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Solid Gold Performance - Perform all the Gold Moves in a song.
|
|
id = 3,
|
|
durangoAchievementId = 3,
|
|
scarlettAchievementId = 3,
|
|
orbisTrophyId = 3,
|
|
prosperoTrophyId = 3,
|
|
ggpAchievementId = 3,
|
|
unlockObjectiveDescId = "Static_Achievement_PerformAllTheGoldMovesInASong"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- It's all Good! - Perform only Good Moves or better in a song.
|
|
id = 4,
|
|
durangoAchievementId = 4,
|
|
scarlettAchievementId = 4,
|
|
orbisTrophyId = 4,
|
|
prosperoTrophyId = 4,
|
|
ggpAchievementId = 4,
|
|
unlockObjectiveDescId = "Static_Achievement_PerformOnlyGoodMovesOrBetterInASong"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Chain Reaction - Get 20 Super moves or better in a row on any song.
|
|
id = 5,
|
|
durangoAchievementId = 5,
|
|
scarlettAchievementId = 5,
|
|
orbisTrophyId = 5,
|
|
prosperoTrophyId = 5,
|
|
ggpAchievementId = 5,
|
|
unlockObjectiveDescId = "Static_Achievement_Perform20SuperMovesOrBetterInARowInAnySong"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- The perfect combo - Get 10 Perfect moves in a row in any song.
|
|
id = 6,
|
|
durangoAchievementId = 6,
|
|
scarlettAchievementId = 6,
|
|
orbisTrophyId = 6,
|
|
prosperoTrophyId = 6,
|
|
ggpAchievementId = 6,
|
|
unlockObjectiveDescId = "Static_Achievement_Perform10PerfectMovesInARowInAnySong"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Out of this world! - Get 3 stars on all songs (no Alternate or Kids).
|
|
id = 7,
|
|
durangoAchievementId = 7,
|
|
scarlettAchievementId = 7,
|
|
orbisTrophyId = 7,
|
|
prosperoTrophyId = 7,
|
|
ggpAchievementId = 7,
|
|
unlockObjectiveDescId = "Static_Achievement_Score3StarsOnAllSkuSongsExceptAlt"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- A long road ahead - Reach level 5.
|
|
id = 8,
|
|
durangoAchievementId = 8,
|
|
scarlettAchievementId = 8,
|
|
orbisTrophyId = 8,
|
|
prosperoTrophyId = 8,
|
|
ggpAchievementId = 8,
|
|
uplayId = 100,
|
|
unlockObjectiveDescId = "Static_Achievement_ReachLevel5"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- What? Already??? - Reach level 100.
|
|
id = 9,
|
|
durangoAchievementId = 9,
|
|
scarlettAchievementId = 9,
|
|
orbisTrophyId = 9,
|
|
prosperoTrophyId = 9,
|
|
ggpAchievementId = 9,
|
|
uplayId = 102,
|
|
unlockObjectiveDescId = "Static_Achievement_ReachLevel100"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Also known as… - Change the alias of one of your Dancer Cards 20 times.
|
|
id = 10,
|
|
durangoAchievementId = 10,
|
|
scarlettAchievementId = 10,
|
|
orbisTrophyId = 10,
|
|
prosperoTrophyId = 10,
|
|
ggpAchievementId = 10,
|
|
unlockObjectiveDescId = "Static_Achievement_ChangeTheAliasOfOneOfYourDancerCards20Time"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
id = 11,
|
|
durangoAchievementId = 11,
|
|
scarlettAchievementId = 11,
|
|
orbisTrophyId = 11,
|
|
prosperoTrophyId = 11,
|
|
ggpAchievementId = 11,
|
|
unlockObjectiveDescId = "Static_Achievement_PlayGacha10Times"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
id = 12,
|
|
durangoAchievementId = 12,
|
|
scarlettAchievementId = 12,
|
|
orbisTrophyId = 12,
|
|
prosperoTrophyId = 12,
|
|
ggpAchievementId = 12,
|
|
unlockObjectiveDescId = "Static_Achievement_PlayGacha100Times"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Gotta get 'em all - Get all the gift machine rewards.
|
|
id = 13,
|
|
durangoAchievementId = 13,
|
|
scarlettAchievementId = 13,
|
|
orbisTrophyId = 13,
|
|
prosperoTrophyId = 13,
|
|
ggpAchievementId = 13,
|
|
unlockObjectiveDescId = "Static_Achievement_GetAllRewardsFromGiftMachine"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Bye bye, cheeseburger - Burn 302 kcal in Sweat mode in one session.
|
|
id = 14,
|
|
durangoAchievementId = 14,
|
|
scarlettAchievementId = 14,
|
|
orbisTrophyId = 14,
|
|
prosperoTrophyId = 14,
|
|
ggpAchievementId = 14,
|
|
unlockObjectiveDescId = "Static_Achievement_Burn302CaloriesInSweatModeInOneSession"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Entering the competition - Participate in a Tournament in World Dance Floor.
|
|
id = 15,
|
|
durangoAchievementId = 15,
|
|
scarlettAchievementId = 15,
|
|
orbisTrophyId = 15,
|
|
prosperoTrophyId = 15,
|
|
ggpAchievementId = 15,
|
|
unlockObjectiveDescId = "Static_Achievement_ParticipateInATournamentOnTheWorldDanceFloor"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Serial Competitor - Participate in 5 Tournaments in World Dance Floor.
|
|
id = 16,
|
|
durangoAchievementId = 16,
|
|
scarlettAchievementId = 16,
|
|
orbisTrophyId = 16,
|
|
prosperoTrophyId = 16,
|
|
ggpAchievementId = 16,
|
|
unlockObjectiveDescId = "Static_Achievement_ParticipateIn5TournamentsOnTheWorldDanceFloor"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Risin' up to the Challenge - Complete 5 Challenges.
|
|
id = 17,
|
|
durangoAchievementId = 17,
|
|
scarlettAchievementId = 17,
|
|
orbisTrophyId = 17,
|
|
prosperoTrophyId = 17,
|
|
ggpAchievementId = 17,
|
|
unlockObjectiveDescId = "Static_Achievement_Complete5DailyChallenges"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- The Comeback - Complete one Challenge or more per day for 7 days.
|
|
id = 18,
|
|
durangoAchievementId = 18,
|
|
scarlettAchievementId = 18,
|
|
orbisTrophyId = 18,
|
|
prosperoTrophyId = 18,
|
|
ggpAchievementId = 18,
|
|
unlockObjectiveDescId = "Static_Achievement_PlayDailyQuestsFor7Days"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- That's a start! - Reach the "Superstar" rank on a song.
|
|
id = 19,
|
|
durangoAchievementId = 19,
|
|
scarlettAchievementId = 19,
|
|
orbisTrophyId = 19,
|
|
prosperoTrophyId = 19,
|
|
ggpAchievementId = 19,
|
|
unlockObjectiveDescId = "Static_Achievement_ScoreSUPERSTAROnASong"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- It's over 12000 ! - Reach the "Megastar" rank on a song.
|
|
id = 20,
|
|
durangoAchievementId = 20,
|
|
scarlettAchievementId = 20,
|
|
orbisTrophyId = 20,
|
|
prosperoTrophyId = 20,
|
|
ggpAchievementId = 20,
|
|
unlockObjectiveDescId = "Static_Achievement_ScoreMEGASTAROnASong"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Dance Master - Reach the "Superstar" rank on all songs (no Alternate versions).
|
|
id = 21,
|
|
durangoAchievementId = 21,
|
|
scarlettAchievementId = 21,
|
|
orbisTrophyId = 21,
|
|
prosperoTrophyId = 21,
|
|
ggpAchievementId = 21,
|
|
unlockObjectiveDescId = "Static_Achievement_ScoreSUPERSTAROn40JD2022MainMaps"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Dance Legend - Reach the "Megastar" rank on all songs (no Alternate versions).
|
|
id = 22,
|
|
durangoAchievementId = 22,
|
|
scarlettAchievementId = 22,
|
|
orbisTrophyId = 22,
|
|
prosperoTrophyId = 22,
|
|
ggpAchievementId = 22,
|
|
unlockObjectiveDescId = "Static_Achievement_ScoreMEGASTAROn40JD2022MainMaps"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
id = 23,
|
|
durangoAchievementId = 23,
|
|
scarlettAchievementId = 23,
|
|
orbisTrophyId = 23,
|
|
prosperoTrophyId = 23,
|
|
ggpAchievementId = 23,
|
|
unlockObjectiveDescId = "Static_Achievement_DanceTo3Songs_Quickplay"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
id = 24,
|
|
durangoAchievementId = 24,
|
|
scarlettAchievementId = 24,
|
|
orbisTrophyId = 24,
|
|
prosperoTrophyId = 24,
|
|
ggpAchievementId = 24,
|
|
unlockObjectiveDescId = "Static_Achievement_DanceTo25Songs_Quickplay"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
id = 25,
|
|
durangoAchievementId = 25,
|
|
scarlettAchievementId = 25,
|
|
orbisTrophyId = 25,
|
|
prosperoTrophyId = 25,
|
|
ggpAchievementId = 25,
|
|
unlockObjectiveDescId = "Static_Achievement_ScoreSUPERSTAROn2SongsFromQuickplay"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
id = 26,
|
|
durangoAchievementId = 26,
|
|
scarlettAchievementId = 26,
|
|
orbisTrophyId = 26,
|
|
prosperoTrophyId = 26,
|
|
ggpAchievementId = 26,
|
|
unlockObjectiveDescId = "Static_Achievement_ScoreMEGASTAROn1SongFromQuickplay"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Time to start a new collection! - Unlock your first Skin.
|
|
id = 27,
|
|
durangoAchievementId = 27,
|
|
scarlettAchievementId = 27,
|
|
orbisTrophyId = 27,
|
|
prosperoTrophyId = 27,
|
|
ggpAchievementId = 27,
|
|
unlockObjectiveDescId = "Static_Achievement_UnlockYourFirstSkin"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Skins Enthusiast. - Unlock 10 Skins.
|
|
id = 28,
|
|
durangoAchievementId = 28,
|
|
scarlettAchievementId = 28,
|
|
orbisTrophyId = 28,
|
|
prosperoTrophyId = 28,
|
|
ggpAchievementId = 28,
|
|
unlockObjectiveDescId = "Static_Achievement_Unlock10Skins"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Skins Addict. - Unlock 20 Skins.
|
|
id = 29,
|
|
durangoAchievementId = 29,
|
|
scarlettAchievementId = 29,
|
|
orbisTrophyId = 29,
|
|
prosperoTrophyId = 29,
|
|
ggpAchievementId = 29,
|
|
unlockObjectiveDescId = "Static_Achievement_Unlock20Skins"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Teamwork - Dance to a song with Coop Mode activated
|
|
id = 30,
|
|
durangoAchievementId = 30,
|
|
scarlettAchievementId = 30,
|
|
orbisTrophyId = 30,
|
|
prosperoTrophyId = 30,
|
|
ggpAchievementId = 30,
|
|
unlockObjectiveDescId = "Static_Achievement_Dance1SongInCoopMode"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- The More the Merrier. - Dance to 10 songs with Coop Mode activated
|
|
id = 31,
|
|
durangoAchievementId = 31,
|
|
scarlettAchievementId = 31,
|
|
orbisTrophyId = 31,
|
|
prosperoTrophyId = 31,
|
|
ggpAchievementId = 31,
|
|
unlockObjectiveDescId = "Static_Achievement_DanceTo10SongsInCoopMode"
|
|
}
|
|
},
|
|
{
|
|
JD_AchievementDescriptor =
|
|
{
|
|
-- Strength lies in numbers! - Score a SUPERSTAR with Coop Mode activated
|
|
id = 32,
|
|
durangoAchievementId = 32,
|
|
scarlettAchievementId = 32,
|
|
orbisTrophyId = 32,
|
|
prosperoTrophyId = 32,
|
|
ggpAchievementId = 32,
|
|
unlockObjectiveDescId = "Static_Achievement_ScoreSuperstarOn1SongInCoop"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-- Fill the platformId value with durangoAchievementId or scarlettAchievementsId or orbisTrophyId or ggpAchievementId according to the platform
|
|
|
|
achievementsArray = params["JD_AchievementsDatabase_Template"].achievements
|
|
if ( ITF_Platform == "DURANGO" or ITF_Platform == "PC" ) then
|
|
for achievementIndex, achievement in ipairs(achievementsArray) do
|
|
if achievement["JD_AchievementDescriptor"].durangoAchievementId ~= nil then
|
|
achievement["JD_AchievementDescriptor"].platformId = achievement["JD_AchievementDescriptor"].durangoAchievementId
|
|
end
|
|
|
|
end
|
|
|
|
elseif ( ITF_Platform == "SCARLETT" ) then
|
|
for achievementIndex, achievement in ipairs(achievementsArray) do
|
|
if achievement["JD_AchievementDescriptor"].scarlettAchievementId ~= nil then
|
|
achievement["JD_AchievementDescriptor"].platformId = achievement["JD_AchievementDescriptor"].scarlettAchievementId
|
|
end
|
|
|
|
end
|
|
|
|
elseif ( ITF_Platform == "ORBIS" ) then
|
|
for achievementIndex, achievement in ipairs(achievementsArray) do
|
|
if achievement["JD_AchievementDescriptor"].orbisTrophyId ~= nil then
|
|
achievement["JD_AchievementDescriptor"].platformId = achievement["JD_AchievementDescriptor"].orbisTrophyId
|
|
end
|
|
|
|
end
|
|
|
|
elseif ( ITF_Platform == "PROSPERO" ) then
|
|
for achievementIndex, achievement in ipairs(achievementsArray) do
|
|
if achievement["JD_AchievementDescriptor"].prosperoTrophyId ~= nil then
|
|
achievement["JD_AchievementDescriptor"].platformId = achievement["JD_AchievementDescriptor"].prosperoTrophyId
|
|
end
|
|
|
|
end
|
|
|
|
elseif ( ITF_Platform == "GGP" ) then
|
|
for achievementIndex, achievement in ipairs(achievementsArray) do
|
|
if achievement["JD_AchievementDescriptor"].ggpAchievementId ~= nil then
|
|
achievement["JD_AchievementDescriptor"].platformId = achievement["JD_AchievementDescriptor"].ggpAchievementId
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|