Skip to content

Commit f380a8e

Browse files
feat: update gamechangers
1 parent d8f9bee commit f380a8e

2 files changed

Lines changed: 168 additions & 43 deletions

File tree

static/EvergreenGameChangerProperties.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5790,7 +5790,10 @@
57905790
"53284129-c50a-47a7-9efa-caa3b7503826",
57915791
"7c691c03-7c6b-4eb4-9a68-898efe5eedaa",
57925792
"3dbbbb5e-61a7-4cae-8df0-0e911e744dca",
5793-
"ccdd6689-092d-49b2-85f8-416a02e25566"
5793+
"ccdd6689-092d-49b2-85f8-416a02e25566",
5794+
"9f0d143a-657c-4e8f-9f2b-3ab86dcd048b",
5795+
"f591d4a3-5176-4847-a149-d86f62e924a3",
5796+
"b124af9c-2cb7-487b-a90f-0a06b9472219"
57945797
]
57955798
},
57965799
"States": {
@@ -8964,7 +8967,9 @@
89648967
"f1f89faf-a441-4492-b442-9a923b5ecfd1",
89658968
"f2a74ebc-8f07-4845-b421-2339988e1994",
89668969
"1bbf0ed5-0515-4599-a4c9-454ce59cff44",
8967-
"ccc6b901-6f13-43be-88a1-6750cdb4a6ff"
8970+
"ccc6b901-6f13-43be-88a1-6750cdb4a6ff",
8971+
"fd34a776-e641-4ee7-8c46-1d6604c2545c",
8972+
"85d6a638-677d-4e70-aeae-dd4edbad8d86"
89688973
]
89698974
},
89708975
"States": {

static/GameChangerProperties.json

Lines changed: 161 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -5164,14 +5164,14 @@
51645164
],
51655165
"Objectives": [
51665166
{
5167+
"_comment": "----- [OPTIONAL] Clean Hands - Baiju Variant // Requires all kills to have a context of NOT_HERO -----",
51675168
"Id": "82603825-3f08-4708-80aa-ca9c78e3509b",
51685169
"BriefingText": "$loc UI_CONTRACT_BAIJU_GAMECHANGER_CLEAN_HANDS_OBJ",
51695170
"HUDTemplate": {
51705171
"display": "$loc UI_CONTRACT_BAIJU_GAMECHANGER_CLEAN_HANDS_OBJ",
51715172
"iconType": 9
51725173
},
5173-
"ExcludeFromScoring": true,
5174-
"Category": "primary",
5174+
"Category": "secondary",
51755175
"Type": "statemachine",
51765176
"Definition": {
51775177
"Scope": "session",
@@ -5185,49 +5185,11 @@
51855185
},
51865186
"Transition": "Failure"
51875187
},
5188-
"Baiju_ResetCleanHands": {
5188+
"exit_gate": {
51895189
"Transition": "Success"
51905190
}
51915191
}
51925192
}
5193-
},
5194-
"OnActive": {
5195-
"IfCompleted": {
5196-
"Visible": false
5197-
}
5198-
}
5199-
},
5200-
{
5201-
"_comment": "----- Hack to get the objective to show after neutralize assassins -----",
5202-
"Id": "01e957ba-3441-43d2-acc3-3b9d099853ee",
5203-
"BriefingText": "$loc UI_CONTRACT_BAIJU_GAMECHANGER_CLEAN_HANDS_OBJ",
5204-
"HUDTemplate": {
5205-
"display": "$loc UI_CONTRACT_BAIJU_GAMECHANGER_CLEAN_HANDS_OBJ",
5206-
"iconType": 9
5207-
},
5208-
"Activation": {
5209-
"$eq": [
5210-
"$82603825-3f08-4708-80aa-ca9c78e3509b",
5211-
"Completed"
5212-
]
5213-
},
5214-
"ExcludeFromScoring": true,
5215-
"Category": "primary",
5216-
"Type": "statemachine",
5217-
"Definition": {
5218-
"Scope": "session",
5219-
"States": {
5220-
"Start": {
5221-
"Kill": {
5222-
"Condition": {
5223-
"$not": {
5224-
"$eq": ["$Value.KillContext", 1]
5225-
}
5226-
},
5227-
"Transition": "Failure"
5228-
}
5229-
}
5230-
}
52315193
}
52325194
}
52335195
],
@@ -9128,5 +9090,163 @@
91289090
],
91299091
"ShowBasedOnObjectives": null,
91309092
"IsPrestigeObjective": null
9093+
},
9094+
"1099c1f6-11d0-4a0d-99b8-b9cb1e411b5f": {
9095+
"Name": "UI_GAMECHANGERS_GLOBAL_HIDDEN_TARGETS_NAME",
9096+
"Description": "UI_GAMECHANGERS_GLOBAL_HIDDEN_TARGETS_DESC",
9097+
"Icon": "images/challenges/default_challenge_icon.png",
9098+
"IsHidden": null,
9099+
"TileImage": "images/Contracts/Gamechangers/Gamechanger_Global_HiddenTargets.jpg",
9100+
"Resource": [],
9101+
"Objectives": [
9102+
{
9103+
"_comment": "----- Silent objective to mark GameChanger as primary -----",
9104+
"Id": "20293ef0-2836-4b38-8774-e6e1452e8c7e",
9105+
"Type": "statemachine",
9106+
"Category": "primary",
9107+
"ExcludeFromScoring": true,
9108+
"AllowEtRestartOnSuccess": true,
9109+
"OnActive": {
9110+
"IfInProgress": {
9111+
"Visible": false
9112+
},
9113+
"IfCompleted": {
9114+
"Visible": false
9115+
},
9116+
"IfFailed": {
9117+
"Visible": false
9118+
}
9119+
},
9120+
"Definition": {
9121+
"Scope": "session",
9122+
"Context": {},
9123+
"States": {
9124+
"Start": {
9125+
"-": {
9126+
"Transition": "Success"
9127+
}
9128+
}
9129+
}
9130+
}
9131+
}
9132+
],
9133+
"ShowBasedOnObjectives": null,
9134+
"IsPrestigeObjective": null
9135+
},
9136+
"e0aaed74-30d2-441c-895e-09f855379b9d": {
9137+
"Name": "UI_GAMECHANGERS_TAMARILLO_TRAVERSEALLMIRRORS_NAME",
9138+
"Description": "UI_GAMECHANGERS_TAMARILLO_TRAVERSEALLMIRRORS_DESC",
9139+
"Icon": "images/challenges/default_challenge_icon.png",
9140+
"IsHidden": null,
9141+
"TileImage": "images/Contracts/Elusive/S3_Bellini/Intel_Photo_B.jpg",
9142+
"Resource": [],
9143+
"Objectives": [
9144+
{
9145+
"_comment": "----- Traverse all Mirror Portals except those within the Mirror Maze -----",
9146+
"Id": "4d29f1ea-be34-4613-9db5-2a66b9b550ee",
9147+
"Category": "secondary",
9148+
"CounterVisibleInTile": false,
9149+
"HUDTemplate": {
9150+
"display": "$loc UI_GAMECHANGERS_TAMARILLO_TRAVERSEALLMIRRORS_OBJ"
9151+
},
9152+
"AllowEtRestartOnSuccess": true,
9153+
"Type": "statemachine",
9154+
"Scope": "hit",
9155+
"Definition": {
9156+
"Constants": {
9157+
"ValidMirrors": [
9158+
"MomsToilets",
9159+
"LobbyToilets",
9160+
"UnderHelipad",
9161+
"TherapyToilets",
9162+
"Morgue",
9163+
"BroadcastingRoom",
9164+
"MaintenanceRoom",
9165+
"Staircase"
9166+
]
9167+
},
9168+
"ContextListeners": {
9169+
"MirrorsRemaining": {
9170+
"type": "objective-counter",
9171+
"header": "UI_GAMECHANGERS_TAMARILLO_TRAVERSEALLMIRRORS_COUNTER",
9172+
"deactivate": 0
9173+
},
9174+
"ForceUpdateCounters": {
9175+
"type": "force-update",
9176+
"target": "MirrorsRemaining"
9177+
}
9178+
},
9179+
"Scope": "session",
9180+
"Context": {
9181+
"MirrorsRemaining": 8,
9182+
"MirrorsUsed": [],
9183+
"ForceUpdateCounters": 0
9184+
},
9185+
"States": {
9186+
"Start": {
9187+
"-": {
9188+
"Condition": {
9189+
"$eq": ["$.ForceUpdateCounters", 0]
9190+
},
9191+
"Actions": {
9192+
"$inc": "ForceUpdateCounters"
9193+
}
9194+
},
9195+
"MirrorTraversed": [
9196+
{
9197+
"Condition": {
9198+
"$and": [
9199+
{
9200+
"$any": {
9201+
"?": {
9202+
"$eq": ["$.#", "$Value"]
9203+
},
9204+
"in": "$.ValidMirrors"
9205+
}
9206+
},
9207+
{
9208+
"$not": {
9209+
"$any": {
9210+
"?": {
9211+
"$eq": [
9212+
"$.#",
9213+
"$Value"
9214+
]
9215+
},
9216+
"in": "$.MirrorsUsed"
9217+
}
9218+
}
9219+
}
9220+
]
9221+
},
9222+
"Actions": {
9223+
"$dec": "MirrorsRemaining",
9224+
"$pushunique": ["MirrorsUsed", "$Value"]
9225+
}
9226+
},
9227+
{
9228+
"Transition": "Check"
9229+
}
9230+
]
9231+
},
9232+
"Check": {
9233+
"-": [
9234+
{
9235+
"Condition": {
9236+
"$eq": ["$.MirrorsRemaining", 0]
9237+
},
9238+
"Transition": "Success"
9239+
},
9240+
{
9241+
"Transition": "Start"
9242+
}
9243+
]
9244+
}
9245+
}
9246+
}
9247+
}
9248+
],
9249+
"ShowBasedOnObjectives": null,
9250+
"IsPrestigeObjective": null
91319251
}
91329252
}

0 commit comments

Comments
 (0)