1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-29 09:15:11 +01:00
Peacock/contractdata/PARIS/XMAS2.json
2022-12-24 12:35:37 -05:00

214 lines
9.5 KiB
JSON

{
"Data": {
"Objectives": [
{
"Type": "statemachine",
"ObjectiveType": "custom",
"Image": "images/challenges/paris/noel_missioncompleted.jpg",
"Id": "c4b808ea-607c-484a-a6a1-9ba8bfb038ec",
"BriefingName": "Become Santa",
"BriefingText": "Disguise yourself as Santa 47, do not change disguises after.",
"HUDTemplate": {
"display": "Become Santa, stay as Santa",
"iconType": 17
},
"Category": "primary",
"Definition": {
"Scope": "Hit",
"Context": {
"Targets": ["315400cd-90d8-43cc-8c22-62c0cb8969a5"]
},
"States": {
"Start": {
"Disguise": {
"Condition": {
"$eq": [
"$Value",
"315400cd-90d8-43cc-8c22-62c0cb8969a5"
]
},
"Transition": "Success"
}
},
"Success": {
"Disguise": {
"Transition": "Failure"
}
}
}
}
},
{
"Type": "statemachine",
"Id": "e3368651-38e4-4e0c-91a0-95d76078b09f",
"BriefingName": "Targets",
"BriefingText": "Eliminate at least 5 of the possible targets outlined in-game by pacifying them or killing them with a Christmas-themed weapon.",
"ObjectiveType": "custom",
"Image": "images/challenges/paris/noel_master_santa.jpg",
"HUDTemplate": {
"display": "Eliminate targets"
},
"Category": "primary",
"Definition": {
"Scope": "Hit",
"Constants": {
"NonLethalWeapons": [
"5ffda47b-f445-44c7-8812-8d7e39e4928c",
"a1495dbf-4ceb-4109-85bd-0fa43bd654c8",
"09cd0b7c-4e79-481b-8cfc-f535f2d6745d"
],
"LethalWeapons": [
"b48bc55e-aaf7-4c62-9fbd-07bae9b8e22b",
"2add9602-cda7-43fd-9758-6269c8fbb233",
"1a852006-e632-401f-aedc-d0cf76521b1f",
"58dceb1c-d7db-41dc-9750-55e3ab87fdf0"
]
},
"Context": {
"ForceUpdateCounters": 0,
"TargetsKilled": 0,
"TargetsPending": 5,
"TargetsCount": 5,
"Targets": [
"bd67c6e5-236c-4be6-a874-cca6e5d5ce95",
"6742f51d-2d6e-49c4-be2c-313625976540",
"023d0cd6-349c-498f-a291-d44c3edb4fe7",
"dab6ebca-cd7d-467a-b569-ab5a1a6e693f",
"a713a8a2-e203-4032-9c4a-1f8eab4c3efa"
]
},
"ContextListeners": {
"TargetsPending": {
"type": "objective-counter",
"header": "UI_PEACOCK_TARGETS_REMAINING",
"deactivate": 0
},
"ForceUpdateCounters": {
"type": "force-update",
"target": "TargetsPending"
}
},
"States": {
"Start": {
"-": {
"Condition": {
"$eq": ["$.ForceUpdateCounters", 0]
},
"Actions": {
"$inc": "ForceUpdateCounters"
}
},
"Kill": {
"Condition": {
"$and": [
{
"$inarray": {
"in": "$.Targets",
"?": {
"$eq": [
"$.#",
"$Value.RepositoryId"
]
}
}
},
{
"$inarray": {
"in": "$.LethalWeapons",
"?": {
"$eq": [
"$Value.KillItemRepositoryId",
"$.#"
]
}
}
}
]
},
"Actions": {
"$inc": "TargetsKilled",
"$dec": "TargetsPending"
},
"Transition": "CheckCount"
},
"Pacify": {
"Condition": {
"$and": [
{
"$inarray": {
"in": "$.Targets",
"?": {
"$eq": [
"$.#",
"$Value.RepositoryId"
]
}
}
},
{
"$inarray": {
"in": "$.NonLethalWeapons",
"?": {
"$eq": [
"$Value.KillItemRepositoryId",
"$.#"
]
}
}
}
]
},
"Actions": {
"$inc": "TargetsKilled",
"$dec": "TargetsPending"
},
"Transition": "CheckCount"
}
},
"CheckCount": {
"-": [
{
"Condition": {
"$eq": [
"$.TargetsKilled",
"$.TargetsCount"
]
},
"Actions": {
"$set": ["TargetsPending", 0]
},
"Transition": "Success"
},
{
"Transition": "Start"
}
]
}
}
}
}
],
"Bricks": [
"assembly:/_PRO/Scenes/Missions/Paris/Location_parisnoel.brick"
],
"GameChangers": [],
"Stashpoints": [
"37495d13-a49d-404b-a4ba-6f8c39f20feb",
"6120437a-d943-431f-90c1-a7ccca663a07",
"e1f3a43e-2c27-438f-a733-47f39208ca34",
"244e6667-4d99-40d1-a766-6324d133b669",
"52c22399-fe49-48d4-bc5c-bf1726616444",
"25ff09ba-134e-4292-901b-a43efc73c2ae"
]
},
"Metadata": {
"Title": "UI_PEACOCK_SOUTHERN_COMFORT2",
"Type": "escalation",
"Id": "6fa8267b-730f-48c7-ae62-f7155eb62340",
"ScenePath": "assembly:/_PRO/Scenes/Missions/Paris/_scene_paris.entity",
"Location": "LOCATION_PARIS",
"InGroup": "07bbf22b-d6ae-4883-bec2-122eeeb7b665",
"TileImage": "images/contracts/featured/RedMenace.jpg"
}
}