mirror of
https://github.com/thepeacockproject/Peacock
synced 2025-02-16 16:34:28 +01:00
chore: remove unused config, add LegacyStatisticsTemplate
This commit is contained in:
parent
166a613e62
commit
f9c1f841fe
@ -66,7 +66,6 @@ import MissionStories from "../static/MissionStories.json"
|
||||
import DebriefingLeaderboardsTemplate from "../static/DebriefingLeaderboardsTemplate.json"
|
||||
import LegacyHitsCategoryTemplate from "../static/LegacyHitsCategoryTemplate.json"
|
||||
import LegacyStoreData from "../static/LegacyStoreData.json"
|
||||
import LegacyDestinations from "../static/LegacyDestinations.json"
|
||||
import LegacyDestinationTemplate from "../static/LegacyDestinationTemplate.json"
|
||||
import LegacyLocationsData from "../static/LegacyLocationsData.json"
|
||||
import LegacySaveMenuTemplate from "../static/LegacySaveMenuTemplate.json"
|
||||
@ -110,6 +109,7 @@ import HitsCategoryElusiveTemplate from "../static/HitsCategoryElusiveTemplate.j
|
||||
import HitsCategoryContractAttackTemplate from "../static/HitsCategoryContractAttackTemplate.json"
|
||||
import MissionRewardsTemplate from "../static/MissionRewardsTemplate.json"
|
||||
import SniperUnlockables from "../static/SniperUnlockables.json"
|
||||
import LegacyStatisticsTemplate from "../static/LegacyStatisticsTemplate.json"
|
||||
import type { GameVersion } from "./types/types"
|
||||
import { fastClone } from "./utils"
|
||||
|
||||
@ -165,7 +165,6 @@ const configs = {
|
||||
DebriefingLeaderboardsTemplate,
|
||||
LegacyHitsCategoryTemplate,
|
||||
LegacyStoreData,
|
||||
LegacyDestinations,
|
||||
LegacyDestinationTemplate,
|
||||
LegacyLocationsData,
|
||||
LegacySaveMenuTemplate,
|
||||
@ -211,6 +210,7 @@ const configs = {
|
||||
HitsCategoryContractAttackTemplate,
|
||||
MissionRewardsTemplate,
|
||||
SniperUnlockables,
|
||||
LegacyStatisticsTemplate,
|
||||
}
|
||||
|
||||
Object.keys(configs).forEach((cfg) => {
|
||||
|
@ -1,577 +0,0 @@
|
||||
[
|
||||
{
|
||||
"Location": {
|
||||
"Id": "LOCATION_PARENT_ICA_FACILITY",
|
||||
"Type": "location",
|
||||
"Subtype": "location",
|
||||
"GameAsset": null,
|
||||
"ImageId": "",
|
||||
"RMTPrice": -1,
|
||||
"GamePrice": -1,
|
||||
"IsPurchasable": false,
|
||||
"IsPublished": true,
|
||||
"IsDroppable": false,
|
||||
"Capabilities": [],
|
||||
"Qualities": {},
|
||||
"Properties": {
|
||||
"Quality": "",
|
||||
"Icon": "images/locations/LOCATION_siberia/tile.jpg",
|
||||
"Background": "images/locations/LOCATION_siberira/map.jpg",
|
||||
"DlcImage": "images/livetile/dlc/wide_logo.png",
|
||||
"DlcName": "GAME_STORE_METADATA_GAME_TITLE",
|
||||
"Order": 10,
|
||||
"ProgressionKey": "LOCATION_ICA_FACILITY",
|
||||
"HideProgression": true,
|
||||
"RequiredResources": [
|
||||
"[assembly:/_pro/scenes/missions/thefacility/_scene_mission_polarbear_002_contracts_creation_tutorial.entity].entitytemplate",
|
||||
"[assembly:/_pro/scenes/missions/thefacility/_scene_polarbear_005.entity].entitytemplate"
|
||||
]
|
||||
},
|
||||
"Guid": "5efc089a-31b0-4c0d-a751-3ce569b365f5",
|
||||
"Rarity": null,
|
||||
"DisplayNameLocKey": "UI_LOCATION_PARENT_ICA_FACILITY_NAME"
|
||||
},
|
||||
"Data": {
|
||||
"normal": {
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 43,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 1,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 6000,
|
||||
"Id": "LOCATION_PARENT_ICA_FACILITY",
|
||||
"SubLocationId": "LOCATION_ICA_FACILITY",
|
||||
"HideProgression": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 43,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 1,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 6000,
|
||||
"Id": "LOCATION_PARENT_ICA_FACILITY",
|
||||
"SubLocationId": "LOCATION_ICA_FACILITY",
|
||||
"HideProgression": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"Location": {
|
||||
"Id": "LOCATION_PARENT_PARIS",
|
||||
"Type": "location",
|
||||
"Subtype": "location",
|
||||
"GameAsset": null,
|
||||
"ImageId": "",
|
||||
"RMTPrice": -1,
|
||||
"GamePrice": -1,
|
||||
"IsPurchasable": false,
|
||||
"IsPublished": true,
|
||||
"IsDroppable": false,
|
||||
"Capabilities": [],
|
||||
"Qualities": {},
|
||||
"Properties": {
|
||||
"Quality": "",
|
||||
"v0Id": "525820b6ccd48060e0f35ff1",
|
||||
"Icon": "images/locations/LOCATION_PARIS/tile.jpg",
|
||||
"DlcImage": "images/livetile/dlc/paris_wide_logo.png",
|
||||
"DlcName": "GAME_STORE_METADATA_DLC00_TITLE",
|
||||
"Background": "images/locations/LOCATION_PARIS/map.jpg",
|
||||
"GameChangers": [],
|
||||
"Order": 20,
|
||||
"ProgressionKey": "LOCATION_PARIS",
|
||||
"DifficultyUnlock": {
|
||||
"pro1": "DIFFICULTY_UNLOCK_PRO1_PARIS"
|
||||
},
|
||||
"RequiredResources": [
|
||||
"[assembly:/_PRO/Scenes/Missions/Paris/_scene_paris.entity].entitytemplate"
|
||||
]
|
||||
},
|
||||
"Guid": "3428e855-d18b-4d47-b536-6be4988439b4",
|
||||
"Rarity": null,
|
||||
"DisplayNameLocKey": "UI_LOCATION_PARENT_PARIS_NAME"
|
||||
},
|
||||
"Data": {
|
||||
"normal": {
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 105,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 1,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 6000,
|
||||
"Id": "LOCATION_PARENT_PARIS",
|
||||
"SubLocationId": "LOCATION_PARENT_PARIS",
|
||||
"HideProgression": false
|
||||
}
|
||||
},
|
||||
"pro1": {
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 20,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 1,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 10000,
|
||||
"Id": "LOCATION_PARENT_PARIS",
|
||||
"SubLocationId": "LOCATION_PARENT_PARIS",
|
||||
"HideProgression": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 105,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 1,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 6000,
|
||||
"Id": "LOCATION_PARENT_PARIS",
|
||||
"SubLocationId": "LOCATION_PARENT_PARIS",
|
||||
"HideProgression": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Location": {
|
||||
"Id": "LOCATION_PARENT_COASTALTOWN",
|
||||
"Type": "location",
|
||||
"Subtype": "location",
|
||||
"GameAsset": null,
|
||||
"ImageId": "",
|
||||
"RMTPrice": -1,
|
||||
"GamePrice": -1,
|
||||
"IsPurchasable": false,
|
||||
"IsPublished": true,
|
||||
"IsDroppable": false,
|
||||
"Capabilities": [],
|
||||
"Qualities": {},
|
||||
"Properties": {
|
||||
"Background": "images/locations/LOCATION_COASTALTOWN/map.jpg",
|
||||
"Icon": "images/locations/LOCATION_COASTALTOWN/tile.jpg",
|
||||
"LockedIcon": "images/locations/LOCATION_COASTALTOWN/tile_unreleased.jpg",
|
||||
"DlcImage": "images/livetile/dlc/sapienza_wide_logo.png",
|
||||
"DlcName": "GAME_STORE_METADATA_DLC01_TITLE",
|
||||
"IsLocked": false,
|
||||
"Order": 30,
|
||||
"ProgressionKey": "LOCATION_PARENT_COASTALTOWN",
|
||||
"DifficultyUnlock": {
|
||||
"pro1": "DIFFICULTY_UNLOCK_PRO1_COASTALTOWN"
|
||||
},
|
||||
"RequiredResources": [
|
||||
"[assembly:/_PRO/Scenes/Missions/CoastalTown/Mission01.entity].entitytemplate"
|
||||
]
|
||||
},
|
||||
"Guid": "d7704708-89b2-4484-902b-e348bde36ddf",
|
||||
"Rarity": null,
|
||||
"DisplayNameLocKey": "UI_LOCATION_PARENT_COASTALTOWN_NAME"
|
||||
},
|
||||
"Data": {
|
||||
"normal": {
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 183,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 1,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 6000,
|
||||
"Id": "LOCATION_PARENT_COASTALTOWN",
|
||||
"SubLocationId": "LOCATION_PARENT_COASTALTOWN",
|
||||
"HideProgression": false
|
||||
}
|
||||
},
|
||||
"pro1": {
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 20,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 10,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 10000,
|
||||
"Id": "LOCATION_PARENT_COASTALTOWN",
|
||||
"SubLocationId": "LOCATION_PARENT_COASTALTOWN",
|
||||
"HideProgression": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 183,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 1,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 6000,
|
||||
"Id": "LOCATION_PARENT_COASTALTOWN",
|
||||
"SubLocationId": "LOCATION_PARENT_COASTALTOWN",
|
||||
"HideProgression": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Location": {
|
||||
"Id": "LOCATION_PARENT_MARRAKECH",
|
||||
"Type": "location",
|
||||
"Subtype": "location",
|
||||
"GameAsset": null,
|
||||
"ImageId": "",
|
||||
"RMTPrice": -1,
|
||||
"GamePrice": -1,
|
||||
"IsPurchasable": false,
|
||||
"IsPublished": true,
|
||||
"IsDroppable": false,
|
||||
"Capabilities": [],
|
||||
"Qualities": {},
|
||||
"Properties": {
|
||||
"Background": "images/locations/LOCATION_MARRAKECH/map.jpg",
|
||||
"Icon": "images/locations/LOCATION_MARRAKECH/tile.jpg",
|
||||
"LockedIcon": "images/locations/LOCATION_MARRAKECH/tile_unreleased.jpg",
|
||||
"DlcImage": "images/livetile/dlc/marrakesh_wide_logo.png",
|
||||
"DlcName": "GAME_STORE_METADATA_DLC02_TITLE",
|
||||
"IsLocked": false,
|
||||
"Order": 40,
|
||||
"ProgressionKey": "LOCATION_MARRAKECH",
|
||||
"DifficultyUnlock": {
|
||||
"pro1": "DIFFICULTY_UNLOCK_PRO1_MARRAKECH"
|
||||
},
|
||||
"RequiredResources": [
|
||||
"[assembly:/_PRO/Scenes/Missions/Marrakesh/_Scene_Mission_Spider.entity].entitytemplate"
|
||||
]
|
||||
},
|
||||
"Guid": "33e73e00-3e7c-423d-918e-7888b7b846b2",
|
||||
"Rarity": null,
|
||||
"DisplayNameLocKey": "UI_LOCATION_PARENT_MARRAKECH_NAME"
|
||||
},
|
||||
"Data": {
|
||||
"normal": {
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 124,
|
||||
"CompletedChallengesCount": 57
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 1,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 6000,
|
||||
"Id": "LOCATION_PARENT_MARRAKECH",
|
||||
"SubLocationId": "LOCATION_PARENT_MARRAKECH",
|
||||
"HideProgression": false
|
||||
}
|
||||
},
|
||||
"pro1": {
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 20,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 10,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 10000,
|
||||
"Id": "LOCATION_PARENT_MARRAKECH",
|
||||
"SubLocationId": "LOCATION_PARENT_MARRAKECH",
|
||||
"HideProgression": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 124,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 1,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 6000,
|
||||
"Id": "LOCATION_PARENT_MARRAKECH",
|
||||
"SubLocationId": "LOCATION_PARENT_MARRAKECH",
|
||||
"HideProgression": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Location": {
|
||||
"Id": "LOCATION_PARENT_BANGKOK",
|
||||
"Type": "location",
|
||||
"Subtype": "location",
|
||||
"GameAsset": null,
|
||||
"ImageId": "",
|
||||
"RMTPrice": -1,
|
||||
"GamePrice": -1,
|
||||
"IsPurchasable": false,
|
||||
"IsPublished": true,
|
||||
"IsDroppable": false,
|
||||
"Capabilities": [],
|
||||
"Qualities": {},
|
||||
"Properties": {
|
||||
"Icon": "images/locations/LOCATION_BANGKOK/tile.jpg",
|
||||
"LockedIcon": "images/locations/LOCATION_BANGKOK/tile_unreleased.jpg",
|
||||
"DlcImage": "images/livetile/dlc/bangkok_wide_logo.png",
|
||||
"DlcName": "GAME_STORE_METADATA_DLC04_TITLE",
|
||||
"IsLocked": false,
|
||||
"UpcomingContent": false,
|
||||
"UpcomingKey": "UI_MENU_LIVETILE_CONTENT_UPCOMING_HEADLINE",
|
||||
"Background": "images/locations/LOCATION_BANGKOK/map.jpg",
|
||||
"Order": 50,
|
||||
"ProgressionKey": "LOCATION_BANGKOK",
|
||||
"DifficultyUnlock": {
|
||||
"pro1": "DIFFICULTY_UNLOCK_PRO1_BANGKOK"
|
||||
},
|
||||
"RequiredResources": [
|
||||
"[assembly:/_PRO/Scenes/Missions/Bangkok/_Scene_Mission_Tiger.entity].entitytemplate"
|
||||
]
|
||||
},
|
||||
"Guid": "6eb41c9d-e5ca-4c3f-b682-1c5d710cab70",
|
||||
"Rarity": null,
|
||||
"DisplayNameLocKey": "UI_LOCATION_PARENT_BANGKOK_NAME"
|
||||
},
|
||||
"Data": {
|
||||
"normal": {
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 93,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 1,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 6000,
|
||||
"Id": "LOCATION_PARENT_BANGKOK",
|
||||
"SubLocationId": "LOCATION_PARENT_BANGKOK",
|
||||
"HideProgression": false
|
||||
}
|
||||
},
|
||||
"pro1": {
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 20,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 10,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 10000,
|
||||
"Id": "LOCATION_PARENT_BANGKOK",
|
||||
"SubLocationId": "LOCATION_PARENT_BANGKOK",
|
||||
"HideProgression": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 93,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 1,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 6000,
|
||||
"Id": "LOCATION_PARENT_BANGKOK",
|
||||
"SubLocationId": "LOCATION_PARENT_BANGKOK",
|
||||
"HideProgression": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Location": {
|
||||
"Id": "LOCATION_PARENT_COLORADO",
|
||||
"Type": "location",
|
||||
"Subtype": "location",
|
||||
"GameAsset": null,
|
||||
"ImageId": "",
|
||||
"RMTPrice": -1,
|
||||
"GamePrice": -1,
|
||||
"IsPurchasable": false,
|
||||
"IsPublished": true,
|
||||
"IsDroppable": false,
|
||||
"Capabilities": [],
|
||||
"Qualities": {},
|
||||
"Properties": {
|
||||
"Icon": "images/locations/LOCATION_COLORADO/tile.jpg",
|
||||
"DlcImage": "images/livetile/dlc/colorado_wide_logo.png",
|
||||
"DlcName": "GAME_STORE_METADATA_DLC05_TITLE",
|
||||
"LockedIcon": "images/locations/LOCATION_COLORADO/tile_unreleased.jpg",
|
||||
"IsLocked": false,
|
||||
"UpcomingContent": false,
|
||||
"UpcomingKey": "UI_MENU_LIVETILE_CONTENT_UPCOMING_HEADLINE",
|
||||
"Background": "images/locations/LOCATION_COLORADO/map.jpg",
|
||||
"Order": 60,
|
||||
"ProgressionKey": "LOCATION_COLORADO",
|
||||
"DifficultyUnlock": {
|
||||
"pro1": "DIFFICULTY_UNLOCK_PRO1_COLORADO"
|
||||
},
|
||||
"RequiredResources": [
|
||||
"[assembly:/_PRO/Scenes/Missions/Colorado_2/_scene_mission_bull.entity].entitytemplate"
|
||||
]
|
||||
},
|
||||
"Guid": "fc288d6d-f847-4c5d-a128-8b35755af3f2",
|
||||
"Rarity": null,
|
||||
"DisplayNameLocKey": "UI_LOCATION_PARENT_COLORADO_NAME"
|
||||
},
|
||||
"Data": {
|
||||
"normal": {
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 86,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 1,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 6000,
|
||||
"Id": "LOCATION_PARENT_COLORADO",
|
||||
"SubLocationId": "LOCATION_PARENT_COLORADO",
|
||||
"HideProgression": false
|
||||
}
|
||||
},
|
||||
"pro1": {
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 20,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 10,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 10000,
|
||||
"Id": "LOCATION_PARENT_COLORADO",
|
||||
"SubLocationId": "LOCATION_PARENT_COLORADO",
|
||||
"HideProgression": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 86,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 1,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 6000,
|
||||
"Id": "LOCATION_PARENT_COLORADO",
|
||||
"SubLocationId": "LOCATION_PARENT_COLORADO",
|
||||
"HideProgression": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Location": {
|
||||
"Id": "LOCATION_PARENT_HOKKAIDO",
|
||||
"Type": "location",
|
||||
"Subtype": "location",
|
||||
"GameAsset": null,
|
||||
"ImageId": "",
|
||||
"RMTPrice": -1,
|
||||
"GamePrice": -1,
|
||||
"IsPurchasable": false,
|
||||
"IsPublished": true,
|
||||
"IsDroppable": false,
|
||||
"Capabilities": [],
|
||||
"Qualities": {},
|
||||
"Properties": {
|
||||
"Icon": "images/locations/LOCATION_HOKKAIDO/tile.jpg",
|
||||
"LockedIcon": "images/locations/LOCATION_HOKKAIDO/tile_unreleased.jpg",
|
||||
"DlcImage": "images/livetile/dlc/hokkaido_wide_logo.png",
|
||||
"DlcName": "GAME_STORE_METADATA_DLC06_TITLE",
|
||||
"IsLocked": false,
|
||||
"UpcomingContent": false,
|
||||
"UpcomingKey": "UI_MENU_LIVETILE_CONTENT_UPCOMING_HEADLINE",
|
||||
"Background": "images/locations/LOCATION_HOKKAIDO/map.jpg",
|
||||
"Order": 70,
|
||||
"LimitedLoadout": true,
|
||||
"NormalLoadoutUnlock": {
|
||||
"normal": "LOADOUT_UNLOCK_HOKKAIDO",
|
||||
"pro1": "PRO1_LOADOUT_UNLOCK_HOKKAIDO"
|
||||
},
|
||||
"ProgressionKey": "LOCATION_HOKKAIDO",
|
||||
"DifficultyUnlock": {
|
||||
"pro1": "DIFFICULTY_UNLOCK_PRO1_HOKKAIDO"
|
||||
},
|
||||
"RequiredResources": [
|
||||
"[assembly:/_PRO/Scenes/Missions/Hokkaido/_Scene_Mission_SnowCrane.entity].entitytemplate"
|
||||
]
|
||||
},
|
||||
"Guid": "f0c333d4-45ed-448a-a6ee-53900fdaf22c",
|
||||
"Rarity": null,
|
||||
"DisplayNameLocKey": "UI_LOCATION_PARENT_HOKKAIDO_NAME"
|
||||
},
|
||||
"Data": {
|
||||
"normal": {
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 93,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 1,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 6000,
|
||||
"Id": "LOCATION_PARENT_HOKKAIDO",
|
||||
"SubLocationId": "LOCATION_PARENT_HOKKAIDO",
|
||||
"HideProgression": false
|
||||
}
|
||||
},
|
||||
"pro1": {
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 20,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 10,
|
||||
"XP": 0,
|
||||
"Completion": 0,
|
||||
"XpLeft": 10000,
|
||||
"Id": "LOCATION_PARENT_HOKKAIDO",
|
||||
"SubLocationId": "LOCATION_PARENT_HOKKAIDO",
|
||||
"HideProgression": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"ChallengeCompletion": {
|
||||
"ChallengesCount": 93,
|
||||
"CompletedChallengesCount": 0
|
||||
},
|
||||
"CompletionData": {
|
||||
"Level": 1,
|
||||
"MaxLevel": 1,
|
||||
"XP": 0,
|
||||
"Completion": 1,
|
||||
"XpLeft": 6000,
|
||||
"Id": "LOCATION_PARENT_HOKKAIDO",
|
||||
"SubLocationId": "LOCATION_PARENT_HOKKAIDO",
|
||||
"HideProgression": false
|
||||
}
|
||||
}
|
||||
]
|
257
static/LegacyStatisticsTemplate.json
Normal file
257
static/LegacyStatisticsTemplate.json
Normal file
@ -0,0 +1,257 @@
|
||||
{
|
||||
"buttons": [
|
||||
{
|
||||
"actiontype": "cancel",
|
||||
"actionlabel": "$loc UI_BUTTON_PROMPTS_ACTION_BACK"
|
||||
}
|
||||
],
|
||||
"onpageopened": {
|
||||
"emit-sound-signal": {
|
||||
"signal-name": "SET_DIFFICULTY_normal"
|
||||
}
|
||||
},
|
||||
"body": {
|
||||
"controller": "list",
|
||||
"data": {
|
||||
"direction": "vertical"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"controller": "list",
|
||||
"id": "category_container"
|
||||
},
|
||||
{
|
||||
"controller": "category",
|
||||
"container": "category_container",
|
||||
"id": "profile_category_controller",
|
||||
"view": "menu3.containers.ScrollingTabsContainer",
|
||||
"direction": "horizontal",
|
||||
"data": {
|
||||
"direction": "horizontal",
|
||||
"overflowscrolling": "0.45",
|
||||
"buttonprompts": [
|
||||
{
|
||||
"actiontype": ["lb", "rb"],
|
||||
"actionlabel": "$loc UI_BUTTON_PROMPTS_BROWSE_CATEGORIES"
|
||||
}
|
||||
],
|
||||
"topnavigation": {
|
||||
"header": "$loc UI_MENU_PAGE_HUB_PROFILE",
|
||||
"title": "$loc UI_MENU_PAGE_PROFILE_STATISTICS",
|
||||
"icon": "stats"
|
||||
}
|
||||
},
|
||||
"children": {
|
||||
"$each $.DifficultyLevelData": {
|
||||
"$setpageargs": {
|
||||
"Difficulty": "$.Name"
|
||||
},
|
||||
"view": "menu3.basic.CategoryElement",
|
||||
"data": {
|
||||
"title": "$loc $formatstring UI_DIFFICULTY_{$.Name}_TITLE",
|
||||
"icon": "difficultylevel"
|
||||
},
|
||||
"children": {
|
||||
"controller": "list",
|
||||
"view": "menu3.containers.ScrollingListContainer",
|
||||
"col": 0,
|
||||
"row": 1,
|
||||
"nrows": 3,
|
||||
"ncols": 10,
|
||||
"direction": "horizontal",
|
||||
"data": {
|
||||
"direction": "horizontal",
|
||||
"scrollbarspaceoffset": 50
|
||||
},
|
||||
"children": {
|
||||
"$each $.SubLocationData": {
|
||||
"view": "menu3.statistics.MenuTileStatistics",
|
||||
"data": {
|
||||
"isAvailable": "false",
|
||||
"tileIcon": "location",
|
||||
"tileHeader": "$loc $formatstring UI_{$.Location.Id}_CITY",
|
||||
"tileTitle": "$loc $formatstring UI_{$.Location.Id}_TITLE",
|
||||
"tileImage": {
|
||||
"$switch $.Location.Id": [
|
||||
{
|
||||
"case": "LOCATION_ICA_FACILITY",
|
||||
"return": "ica"
|
||||
},
|
||||
{
|
||||
"case": "LOCATION_PARIS",
|
||||
"return": "paris"
|
||||
},
|
||||
{
|
||||
"case": "LOCATION_COASTALTOWN",
|
||||
"return": "sapienza1"
|
||||
},
|
||||
{
|
||||
"case": "LOCATION_COASTALTOWN_MOVIESET",
|
||||
"return": "sapienza2"
|
||||
},
|
||||
{
|
||||
"case": "LOCATION_COASTALTOWN_NIGHT",
|
||||
"return": "sapienza3"
|
||||
},
|
||||
{
|
||||
"case": "LOCATION_COASTALTOWN_EBOLA",
|
||||
"return": "sapienza4"
|
||||
},
|
||||
{
|
||||
"case": "LOCATION_MARRAKECH",
|
||||
"return": "marrakesh1"
|
||||
},
|
||||
{
|
||||
"case": "LOCATION_MARRAKECH_NIGHT",
|
||||
"return": "marrakesh2"
|
||||
},
|
||||
{
|
||||
"case": "LOCATION_BANGKOK",
|
||||
"return": "bangkok"
|
||||
},
|
||||
{
|
||||
"case": "LOCATION_BANGKOK_ZIKA",
|
||||
"return": "bangkok2"
|
||||
},
|
||||
{
|
||||
"case": "LOCATION_COLORADO",
|
||||
"return": "colorado"
|
||||
},
|
||||
{
|
||||
"case": "LOCATION_COLORADO_RABIES",
|
||||
"return": "colorado2"
|
||||
},
|
||||
{
|
||||
"case": "LOCATION_HOKKAIDO",
|
||||
"return": "hokkaido"
|
||||
},
|
||||
{
|
||||
"case": "LOCATION_HOKKAIDO_FLU",
|
||||
"return": "hokkaido2"
|
||||
}
|
||||
]
|
||||
},
|
||||
"completionTitle": "$loc UI_MENU_PAGE_TOTAL_COMPLETION",
|
||||
"completionValue": "$.ChallengeCompletion.CompletionPercent",
|
||||
"pro1Title": "$loc UI_DIFFICULTY_PRO1_TITLE",
|
||||
"difficulty": {
|
||||
"$switch $arg Difficulty": [
|
||||
{
|
||||
"case": "normal",
|
||||
"return": "pro1"
|
||||
},
|
||||
{
|
||||
"case": "pro1",
|
||||
"return": "normal"
|
||||
}
|
||||
]
|
||||
},
|
||||
"challenges": {
|
||||
"challengesIcon": "challenge",
|
||||
"challengesTitle": "$loc UI_MENU_PAGE_LOCATION_COMPLETION",
|
||||
"statistics": {
|
||||
"$each $.ChallengeCategoryCompletion": {
|
||||
"title": "$loc $.Name",
|
||||
"completed": "$.CompletedChallengesCount",
|
||||
"total": "$.ChallengesCount"
|
||||
}
|
||||
}
|
||||
},
|
||||
"hideMastery": "$.CompletionData.HideProgression",
|
||||
"masteryIcon": "arrowright",
|
||||
"masteryTitle": "$loc UI_MENU_PAGE_PROFILE_CHALLENGES_MASTERY",
|
||||
"mastery": {
|
||||
"completed": "$.CompletionData.Level",
|
||||
"total": "$.CompletionData.MaxLevel"
|
||||
},
|
||||
"availableDifficulty": [
|
||||
"normal",
|
||||
{
|
||||
"$if $isininventory $.ParentLocation.Properties.DifficultyUnlock.pro1": {
|
||||
"$then": "pro1",
|
||||
"$else": null
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"stateproviders": [
|
||||
{
|
||||
"type": "resourceavailability",
|
||||
"resources": "$.Location.Properties.RequiredResources"
|
||||
}
|
||||
],
|
||||
"actions": {
|
||||
"on-free-prologue-user": {
|
||||
"_comment": "We have a free prologue user and the content is not owned",
|
||||
"trigger-action": {
|
||||
"name": "hide-mastery-and-challenges"
|
||||
}
|
||||
},
|
||||
"on-content-unknown": {
|
||||
"_comment": "No DLC could be found containing contract",
|
||||
"trigger-action": {
|
||||
"name": "hide-mastery-and-challenges"
|
||||
}
|
||||
},
|
||||
"on-content-not-owned": {
|
||||
"_comment": "DLC is not owned",
|
||||
"trigger-action": {
|
||||
"name": "hide-mastery-and-challenges"
|
||||
}
|
||||
},
|
||||
"on-content-not-installed": {
|
||||
"_comment": "DLC owned but not installed",
|
||||
"trigger-action": {
|
||||
"name": "hide-mastery-and-challenges"
|
||||
}
|
||||
},
|
||||
"on-content-downloading": {
|
||||
"_comment": "DLC owned and currently downloading",
|
||||
"trigger-action": {
|
||||
"name": "hide-mastery-and-challenges"
|
||||
}
|
||||
},
|
||||
"on-content-update-required": {
|
||||
"_comment": "DLC owned and requires update",
|
||||
"trigger-action": {
|
||||
"name": "hide-mastery-and-challenges"
|
||||
}
|
||||
},
|
||||
"on-content-available": {
|
||||
"_comment": "Contract is ready to be played",
|
||||
"trigger-action": {
|
||||
"name": "show-mastery-and-challenges"
|
||||
}
|
||||
},
|
||||
"hide-mastery-and-challenges": {
|
||||
"set-data-property": [
|
||||
{
|
||||
"reload-node": false,
|
||||
"property": {
|
||||
"name": "isAvailable",
|
||||
"value": false
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"show-mastery-and-challenges": {
|
||||
"set-data-property": [
|
||||
{
|
||||
"reload-node": false,
|
||||
"property": {
|
||||
"name": "isAvailable",
|
||||
"value": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user