Skip to content

Commit 968b4ca

Browse files
authored
feat(contracts): new curated contracts by Quart_z (#719)
2 parents 87ce567 + 7f2c374 commit 968b4ca

11 files changed

Lines changed: 3496 additions & 0 deletions

File tree

components/controller.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,18 @@ import { createDelegatingProxy } from "./delegation"
8484
* Each of the string arrays is one page.
8585
*/
8686
export const featuredContractGroups: string[][] = [
87+
[
88+
"73c4baaf-81a0-435c-9893-e54836ba0000",
89+
"65cd1b41-56ed-4107-a65a-cbcbbc5e33a0",
90+
"7406ace8-08e5-4323-ac10-8a5e5bbb3ee7",
91+
"ea9d11d2-aa15-4a05-ad1d-5480973ea000",
92+
"7e3f8426-7037-42ae-8a01-462734c8ec07",
93+
"6502d8be-e6f2-4eea-aee5-38cc13ec5a89",
94+
"a1b83a6e-86ad-4561-b83c-dc890d71c87c",
95+
"1afcd317-d15d-49ce-9541-105e30a0118f",
96+
"727031d7-bc21-416d-aafb-27dea7a627e6",
97+
"d6e1e6d7-1d30-4007-883a-efb527fd5451",
98+
],
8799
[
88100
"6275f476-b90a-4f79-abf3-bf30af020ad8",
89101
"ee0411d6-b3e7-4320-b56b-25c45d8a9d61",
Lines changed: 216 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,216 @@
1+
{
2+
"Data": {
3+
"Objectives": [
4+
{
5+
"Id": "fa823bee-6c10-4e12-a4df-71d2ee22e805",
6+
"Type": "statemachine",
7+
"ExcludeFromScoring": true,
8+
"ForceShowOnLoadingScreen": true,
9+
"Category": "primary",
10+
"OnActive": {
11+
"IfInProgress": {
12+
"Visible": true
13+
}
14+
},
15+
"ObjectiveType": "custom",
16+
"Image": "images/contracts/featured/quartztan1_obj.jpg",
17+
"BriefingName": "LURE",
18+
"BriefingText": "lure 10 different NPCs in 10 different ways",
19+
"HUDTemplate": {
20+
"display": "lure 10 different NPCs in 10 different ways",
21+
"iconType": 10
22+
},
23+
"Definition": {
24+
"Context": {
25+
"LuredNPCs": [],
26+
"Luretypes": [],
27+
"TargetsCounter": 0,
28+
"TargetsGoal": 10
29+
},
30+
"ContextListeners": {
31+
"TargetsCounter": {
32+
"type": "objective-counter",
33+
"header": "UI_OBJECTIVES_TARG_HEADER"
34+
}
35+
},
36+
"States": {
37+
"Start": {
38+
"Investigate_Curious": [
39+
{
40+
"Actions": {
41+
"$inc": "TargetsCounter",
42+
"$dec": "TargetsGoal",
43+
"$pushunique": [
44+
"Luretypes",
45+
"$Value.InvestigationType"
46+
]
47+
},
48+
"Condition": {
49+
"$and": [
50+
{
51+
"$not": {
52+
"$inarray": {
53+
"in": "$.LuredNPCs",
54+
"?": {
55+
"$eq": [
56+
"$.#",
57+
"$Value.RepositoryId"
58+
]
59+
}
60+
}
61+
}
62+
},
63+
{
64+
"$not": {
65+
"$inarray": {
66+
"in": "$.Luretypes",
67+
"?": {
68+
"$eq": [
69+
"$.#",
70+
"$Value.InvestigationType"
71+
]
72+
}
73+
}
74+
}
75+
}
76+
]
77+
}
78+
},
79+
{
80+
"Actions": {
81+
"$pushunique": [
82+
"LuredNPCs",
83+
"$Value.RepositoryId"
84+
]
85+
},
86+
"Condition": {
87+
"$not": {
88+
"$inarray": {
89+
"in": "$.LuredNPCs",
90+
"?": {
91+
"$eq": [
92+
"$.#",
93+
"$Value.RepositoryId"
94+
]
95+
}
96+
}
97+
}
98+
}
99+
},
100+
{
101+
"Condition": {
102+
"$eq": ["$.TargetsCounter", 10]
103+
},
104+
"Transition": "Success"
105+
}
106+
]
107+
}
108+
}
109+
}
110+
},
111+
{
112+
"Id": "b7cd372c-48d1-48b1-9f1f-7db0a5e7fb22",
113+
"Type": "statemachine",
114+
"ExcludeFromScoring": true,
115+
"Category": "secondary",
116+
"ObjectiveType": "custom",
117+
"ForceShowOnLoadingScreen": true,
118+
"Image": "images/contracts/featured/quartztan1_kill.jpg",
119+
"BriefingName": "Killruious",
120+
"BriefingText": "You can kill NPCs who get lured.",
121+
"HUDTemplate": {
122+
"display": "You can kill NPCs who get lured",
123+
"iconType": 0
124+
},
125+
"Definition": {
126+
"Context": {
127+
"Targets": []
128+
},
129+
"States": {
130+
"Start": {
131+
"Investigate_Curious": [
132+
{
133+
"Actions": {
134+
"$pushunique": [
135+
"Targets",
136+
"$Value.RepositoryId"
137+
]
138+
}
139+
}
140+
]
141+
}
142+
}
143+
}
144+
}
145+
],
146+
"GameChangers": [],
147+
"Bricks": [],
148+
"MandatoryLoadout": [
149+
{
150+
"Id": "FIREARMS_HERO_PISTOL_TACTICAL_ICA_19",
151+
"Properties": {
152+
"LoadoutSlot": "concealedweapon",
153+
"RepositoryId": "73875794-5a86-410e-84a4-1b5b2f7e5a54"
154+
}
155+
},
156+
{
157+
"Id": "Melee_FiberWire_Descriptor",
158+
"Properties": {
159+
"LoadoutSlot": "gear",
160+
"RepositoryId": "1a11a060-358c-4054-98ec-d3491af1d7c6"
161+
}
162+
},
163+
{
164+
"Id": "Tool_Coin",
165+
"Properties": {
166+
"LoadoutSlot": "gear",
167+
"RepositoryId": "dda002e9-02b1-4208-82a5-cf059f3c79cf"
168+
}
169+
},
170+
{
171+
"Id": "Tool_Coin",
172+
"Properties": {
173+
"LoadoutSlot": "gear",
174+
"RepositoryId": "dda002e9-02b1-4208-82a5-cf059f3c79cf"
175+
}
176+
},
177+
{
178+
"Id": "Tool_Coin",
179+
"Properties": {
180+
"LoadoutSlot": "gear",
181+
"RepositoryId": "dda002e9-02b1-4208-82a5-cf059f3c79cf"
182+
}
183+
},
184+
{
185+
"Id": "Tool_Coin",
186+
"Properties": {
187+
"LoadoutSlot": "gear",
188+
"RepositoryId": "dda002e9-02b1-4208-82a5-cf059f3c79cf"
189+
}
190+
},
191+
{
192+
"Id": "Tool_Coin",
193+
"Properties": {
194+
"LoadoutSlot": "gear",
195+
"RepositoryId": "dda002e9-02b1-4208-82a5-cf059f3c79cf"
196+
}
197+
}
198+
]
199+
},
200+
"Metadata": {
201+
"Title": "FINAL LURE TEST",
202+
"Description": "??<br/><br/>Created by: Quartz Tan<br/>Curated by: Quartz Tan",
203+
"ScenePath": "assembly:/_pro/scenes/missions/thefacility/_scene_polarbear_005.entity",
204+
"Location": "LOCATION_ICA_FACILITY",
205+
"IsPublished": true,
206+
"CreatorUserId": "fadb923c-e6bb-4283-a537-eb4d1150262e",
207+
"GameVersion": "8.23.0.0",
208+
"ServerVersion": "8.23.0.0",
209+
"Type": "featured",
210+
"Id": "73c4baaf-81a0-435c-9893-e54836ba0000",
211+
"PublicId": "187212211926",
212+
"TileImage": "images/contracts/featured/quartztan1.jpg",
213+
"CreationTimestamp": "2026-05-17T09:30:40.333Z"
214+
},
215+
"UserData": {}
216+
}
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
{
2+
"Data": {
3+
"Objectives": [
4+
{
5+
"Type": "statemachine",
6+
"Id": "e8baea5e-979f-4f1d-b7cb-f16c3b29936d",
7+
"BriefingText": {
8+
"$loc": {
9+
"key": "UI_CONTRACT_GENERAL_OBJ_KILL",
10+
"data": "$($repository 0ce09454-f422-49a2-945f-f9ff195e42b5).Name"
11+
}
12+
},
13+
"HUDTemplate": {
14+
"display": {
15+
"$loc": {
16+
"key": "UI_CONTRACT_GENERAL_OBJ_KILL",
17+
"data": "$($repository 0ce09454-f422-49a2-945f-f9ff195e42b5).Name"
18+
}
19+
}
20+
},
21+
"Category": "primary",
22+
"Definition": {
23+
"Scope": "Hit",
24+
"Context": {
25+
"Targets": ["0ce09454-f422-49a2-945f-f9ff195e42b5"]
26+
},
27+
"States": {
28+
"Start": {
29+
"Kill": [
30+
{
31+
"Condition": {
32+
"$eq": [
33+
"$Value.RepositoryId",
34+
"0ce09454-f422-49a2-945f-f9ff195e42b5"
35+
]
36+
},
37+
"Transition": "Success"
38+
}
39+
]
40+
}
41+
}
42+
},
43+
"TargetConditions": [
44+
{
45+
"Type": "disguise",
46+
"RepositoryId": "36402728-1197-4a3c-a8ac-1fed399a2344",
47+
"HardCondition": false,
48+
"ObjectiveId": "4ad16df4-7c5f-4e87-9850-7c98633481c6",
49+
"KillMethod": ""
50+
}
51+
]
52+
},
53+
{
54+
"Type": "statemachine",
55+
"Id": "4ad16df4-7c5f-4e87-9850-7c98633481c6",
56+
"Category": "secondary",
57+
"Definition": {
58+
"Scope": "Hit",
59+
"Context": {
60+
"Targets": ["0ce09454-f422-49a2-945f-f9ff195e42b5"]
61+
},
62+
"States": {
63+
"Start": {
64+
"Kill": [
65+
{
66+
"Condition": {
67+
"$and": [
68+
{
69+
"$eq": [
70+
"$Value.RepositoryId",
71+
"0ce09454-f422-49a2-945f-f9ff195e42b5"
72+
]
73+
},
74+
{
75+
"$eq": [
76+
"$Value.OutfitRepositoryId",
77+
"36402728-1197-4a3c-a8ac-1fed399a2344"
78+
]
79+
}
80+
]
81+
},
82+
"Transition": "Success"
83+
},
84+
{
85+
"Condition": {
86+
"$eq": [
87+
"$Value.RepositoryId",
88+
"0ce09454-f422-49a2-945f-f9ff195e42b5"
89+
]
90+
},
91+
"Transition": "Failure"
92+
}
93+
]
94+
}
95+
}
96+
}
97+
}
98+
],
99+
"GameChangers": [],
100+
"Bricks": []
101+
},
102+
"Metadata": {
103+
"Title": "White Cargo Mystery",
104+
"Description": "Easier than you think<br/><br/>Created by: WINNODD<br/>Curated by: Quartz Tan",
105+
"Entitlements": ["LOCATION_TRAPPED"],
106+
"ScenePath": "assembly:/_PRO/Scenes/Missions/trapped/scene_wolverine.entity",
107+
"Location": "LOCATION_TRAPPED_WOLVERINE",
108+
"IsPublished": true,
109+
"CreatorUserId": "fadb923c-e6bb-4283-a537-eb4d1150262e",
110+
"GameVersion": "8.9.0.0",
111+
"ServerVersion": "8.9.0.0",
112+
"Type": "usercreated",
113+
"Id": "d6e1e6d7-1d30-4007-883a-efb527fd5451",
114+
"PublicId": "148493665750",
115+
"TileImage": "images/contracts/featured/quartztan10.jpg",
116+
"GroupObjectiveDisplayOrder": [
117+
{
118+
"Id": "0ce09454-f422-49a2-945f-f9ff195e42b5"
119+
}
120+
],
121+
"CreationTimestamp": "2022-09-04T09:29:09.304Z"
122+
},
123+
"UserData": {}
124+
}

0 commit comments

Comments
 (0)