Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. common/custom_gui/mission_previews.txt +378 -60
common/custom_gui/mission_previews.txt CHANGED
@@ -1,142 +1,460 @@
1
+ #First batch (aka. the first top row you see)
1
2
  custom_button = {
2
- name = select_current_branch_missions
3
+ name = select_current_branch_batch_1_missions
3
4
  potential = {
4
5
  ai = no #make sure the AI gets an event or something similar where they can choose their branch the moment these buttons get unlocked for the player
5
6
  has_branching_missions = yes
6
7
  has_preview_mission_flag = yes
8
+ can_preview_batch = { batch = 1 }
7
9
  }
8
- trigger = { has_selected_a_branch = yes }
9
- effect = { select_current_branch = yes }
10
- tooltip = select_current_branch_missions_title
10
+ trigger = { has_selected_a_branch = { batch = 1 } }
11
+ effect = { select_current_branch = { batch = 1 } }
12
+ tooltip = select_current_branch_batch_1_missions_title
11
13
  }
12
14
 
13
15
  custom_button = {
14
- name = preview_branch_missions_1
16
+ name = preview_branch_batch_1_missions_1
15
17
  potential = {
16
18
  ai = no
17
19
  has_branching_missions = yes
18
20
  has_preview_mission_flag = yes
19
- NOT = { currently_selected_branch = { value = 1 } }
21
+ can_preview_batch = { batch = 1 }
22
+ NOT = { currently_selected_branch = { value = 1 batch = 1 } }
20
23
  }
21
- trigger = { can_select_branch = { value = 1 } }
22
- effect = { preview_mission_branch = { branch = 1 } }
23
- tooltip = preview_branch_missions_1_title
24
+ trigger = { can_select_branch = { value = 1 batch = 1 } }
25
+ effect = { preview_mission_branch = { branch = 1 batch = 1 } }
26
+ tooltip = preview_branch_batch_1_missions_1_title
24
27
  }
25
28
  custom_button = {
26
- name = preview_branch_missions_1_highlighted
29
+ name = preview_branch_batch_1_missions_1_highlighted
27
30
  potential = {
28
31
  ai = no
29
32
  has_branching_missions = yes
30
33
  has_preview_mission_flag = yes
31
- currently_selected_branch = { value = 1 }
34
+ can_preview_batch = { batch = 1 }
35
+ currently_selected_branch = { value = 1 batch = 1 }
32
36
  }
33
- trigger = { can_select_branch = { value = 1 } }
34
- effect = { preview_mission_branch = { branch = 1 } }
35
- tooltip = preview_branch_missions_1_title
37
+ trigger = { can_select_branch = { value = 1 batch = 1 } }
38
+ effect = { preview_mission_branch = { branch = 1 batch = 1 } }
39
+ tooltip = preview_branch_batch_1_missions_1_title
36
40
  }
37
41
 
38
42
  custom_button = {
39
- name = preview_branch_missions_2
43
+ name = preview_branch_batch_1_missions_2
40
44
  potential = {
41
45
  ai = no
42
46
  has_branching_missions = yes
43
47
  has_preview_mission_flag = yes
44
- NOT = { currently_selected_branch = { value = 2 } }
48
+ can_preview_batch = { batch = 1 }
49
+ NOT = { currently_selected_branch = { value = 2 batch = 1 } }
45
50
  }
46
- trigger = { can_select_branch = { value = 2 } }
47
- effect = { preview_mission_branch = { branch = 2 } }
48
- tooltip = preview_branch_missions_2_title
51
+ trigger = { can_select_branch = { value = 2 batch = 1 } }
52
+ effect = { preview_mission_branch = { branch = 2 batch = 1 } }
53
+ tooltip = preview_branch_batch_1_missions_2_title
49
54
  }
50
55
  custom_button = {
51
- name = preview_branch_missions_2_highlighted
56
+ name = preview_branch_batch_1_missions_2_highlighted
52
57
  potential = {
53
58
  ai = no
54
59
  has_branching_missions = yes
55
60
  has_preview_mission_flag = yes
56
- currently_selected_branch = { value = 2 }
61
+ can_preview_batch = { batch = 1 }
62
+ currently_selected_branch = { value = 2 batch = 1 }
57
63
  }
58
- trigger = { can_select_branch = { value = 2 } }
59
- effect = { preview_mission_branch = { branch = 2 } }
60
- tooltip = preview_branch_missions_2_title
64
+ trigger = { can_select_branch = { value = 2 batch = 1 } }
65
+ effect = { preview_mission_branch = { branch = 2 batch = 1 } }
66
+ tooltip = preview_branch_batch_1_missions_2_title
61
67
  }
62
68
 
63
69
  custom_button = {
64
- name = preview_branch_missions_3
70
+ name = preview_branch_batch_1_missions_3
65
71
  potential = {
66
72
  ai = no
67
73
  has_branching_missions = yes
68
74
  has_preview_mission_flag = yes
69
- num_of_mission_branches = { value = 3 }
70
- NOT = { currently_selected_branch = { value = 3 } }
75
+ can_preview_batch = { batch = 1 }
76
+ num_of_mission_branches = { value = 3 batch = 1 }
77
+ NOT = { currently_selected_branch = { value = 3 batch = 1 } }
71
78
  }
72
- trigger = { can_select_branch = { value = 3 } }
73
- effect = { preview_mission_branch = { branch = 3 } }
74
- tooltip = preview_branch_missions_3_title
79
+ trigger = { can_select_branch = { value = 3 batch = 1 } }
80
+ effect = { preview_mission_branch = { branch = 3 batch = 1 } }
81
+ tooltip = preview_branch_batch_1_missions_3_title
75
82
  }
76
83
  custom_button = {
77
- name = preview_branch_missions_3_highlighted
84
+ name = preview_branch_batch_1_missions_3_highlighted
78
85
  potential = {
79
86
  ai = no
80
87
  has_branching_missions = yes
81
88
  has_preview_mission_flag = yes
82
- num_of_mission_branches = { value = 3 }
83
- currently_selected_branch = { value = 3 }
89
+ can_preview_batch = { batch = 1 }
90
+ num_of_mission_branches = { value = 3 batch = 1 }
91
+ currently_selected_branch = { value = 3 batch = 1 }
84
92
  }
85
- trigger = { can_select_branch = { value = 3 } }
86
- effect = { preview_mission_branch = { branch = 3 } }
87
- tooltip = preview_branch_missions_3_title
93
+ trigger = { can_select_branch = { value = 3 batch = 1 } }
94
+ effect = { preview_mission_branch = { branch = 3 batch = 1 } }
95
+ tooltip = preview_branch_batch_1_missions_3_title
88
96
  }
89
97
 
90
98
  custom_button = {
91
- name = preview_branch_missions_4
99
+ name = preview_branch_batch_1_missions_4
92
100
  potential = {
93
101
  ai = no
94
102
  has_branching_missions = yes
95
103
  has_preview_mission_flag = yes
96
- num_of_mission_branches = { value = 4 }
97
- NOT = { currently_selected_branch = { value = 4 } }
104
+ can_preview_batch = { batch = 1 }
105
+ num_of_mission_branches = { value = 4 batch = 1 }
106
+ NOT = { currently_selected_branch = { value = 4 batch = 1 } }
98
107
  }
99
- trigger = { can_select_branch = { value = 4 } }
100
- effect = { preview_mission_branch = { branch = 4 } }
101
- tooltip = preview_branch_missions_4_title
108
+ trigger = { can_select_branch = { value = 4 batch = 1 } }
109
+ effect = { preview_mission_branch = { branch = 4 batch = 1 } }
110
+ tooltip = preview_branch_batch_1_missions_4_title
102
111
  }
103
112
  custom_button = {
104
- name = preview_branch_missions_4_highlighted
113
+ name = preview_branch_batch_1_missions_4_highlighted
105
114
  potential = {
106
115
  ai = no
107
116
  has_branching_missions = yes
108
117
  has_preview_mission_flag = yes
109
- num_of_mission_branches = { value = 4 }
110
- currently_selected_branch = { value = 4 }
118
+ can_preview_batch = { batch = 1 }
119
+ num_of_mission_branches = { value = 4 batch = 1 }
120
+ currently_selected_branch = { value = 4 batch = 1 }
111
121
  }
112
- trigger = { can_select_branch = { value = 4 } }
113
- effect = { preview_mission_branch = { branch = 4 } }
114
- tooltip = preview_branch_missions_4_title
122
+ trigger = { can_select_branch = { value = 4 batch = 1 } }
123
+ effect = { preview_mission_branch = { branch = 4 batch = 1 } }
124
+ tooltip = preview_branch_batch_1_missions_4_title
115
125
  }
116
126
 
117
127
  custom_button = {
118
- name = preview_branch_missions_5
128
+ name = preview_branch_batch_1_missions_5
119
129
  potential = {
120
130
  ai = no
121
131
  has_branching_missions = yes
122
132
  has_preview_mission_flag = yes
123
- num_of_mission_branches = { value = 5 }
124
- NOT = { currently_selected_branch = { value = 5 } }
133
+ can_preview_batch = { batch = 1 }
134
+ num_of_mission_branches = { value = 5 batch = 1 }
135
+ NOT = { currently_selected_branch = { value = 5 batch = 1 } }
125
136
  }
126
- trigger = { can_select_branch = { value = 5 } }
127
- effect = { preview_mission_branch = { branch = 5 } }
128
- tooltip = preview_branch_missions_5_title
137
+ trigger = { can_select_branch = { value = 5 batch = 1 } }
138
+ effect = { preview_mission_branch = { branch = 5 batch = 1 } }
139
+ tooltip = preview_branch_batch_1_missions_5_title
129
140
  }
130
141
  custom_button = {
131
- name = preview_branch_missions_5_highlighted
142
+ name = preview_branch_batch_1_missions_5_highlighted
132
143
  potential = {
133
144
  ai = no
134
145
  has_branching_missions = yes
135
146
  has_preview_mission_flag = yes
136
- num_of_mission_branches = { value = 5 }
137
- currently_selected_branch = { value = 5 }
147
+ can_preview_batch = { batch = 1 }
148
+ num_of_mission_branches = { value = 5 batch = 1 }
149
+ currently_selected_branch = { value = 5 batch = 1 }
138
150
  }
139
- trigger = { can_select_branch = { value = 5 } }
140
- effect = { preview_mission_branch = { branch = 5 } }
141
- tooltip = preview_branch_missions_5_title
151
+ trigger = { can_select_branch = { value = 5 batch = 1 } }
152
+ effect = { preview_mission_branch = { branch = 5 batch = 1 } }
153
+ tooltip = preview_branch_batch_1_missions_5_title
154
+ }
155
+
156
+ #Second batch
157
+ custom_button = {
158
+ name = select_current_branch_batch_2_missions
159
+ potential = {
160
+ ai = no
161
+ has_branching_missions = yes
162
+ has_preview_mission_flag = yes
163
+ can_preview_batch = { batch = 2 }
164
+ }
165
+ trigger = { has_selected_a_branch = { batch = 2 } }
166
+ effect = { select_current_branch = { batch = 2 } }
167
+ tooltip = select_current_branch_batch_2_missions_title
168
+ }
169
+
170
+ custom_button = {
171
+ name = preview_branch_batch_2_missions_1
172
+ potential = {
173
+ ai = no
174
+ has_branching_missions = yes
175
+ has_preview_mission_flag = yes
176
+ can_preview_batch = { batch = 2 }
177
+ NOT = { currently_selected_branch = { value = 1 batch = 2 } }
178
+ }
179
+ trigger = { can_select_branch = { value = 1 batch = 2 } }
180
+ effect = { preview_mission_branch = { branch = 1 batch = 2 } }
181
+ tooltip = preview_branch_batch_2_missions_1_title
182
+ }
183
+ custom_button = {
184
+ name = preview_branch_batch_2_missions_1_highlighted
185
+ potential = {
186
+ ai = no
187
+ has_branching_missions = yes
188
+ has_preview_mission_flag = yes
189
+ can_preview_batch = { batch = 2 }
190
+ currently_selected_branch = { value = 1 batch = 2 }
191
+ }
192
+ trigger = { can_select_branch = { value = 1 batch = 2 } }
193
+ effect = { preview_mission_branch = { branch = 1 batch = 2 } }
194
+ tooltip = preview_branch_batch_2_missions_1_title
195
+ }
196
+
197
+ custom_button = {
198
+ name = preview_branch_batch_2_missions_2
199
+ potential = {
200
+ ai = no
201
+ has_branching_missions = yes
202
+ has_preview_mission_flag = yes
203
+ can_preview_batch = { batch = 2 }
204
+ NOT = { currently_selected_branch = { value = 2 batch = 2 } }
205
+ }
206
+ trigger = { can_select_branch = { value = 2 batch = 2 } }
207
+ effect = { preview_mission_branch = { branch = 2 batch = 2 } }
208
+ tooltip = preview_branch_batch_2_missions_2_title
209
+ }
210
+ custom_button = {
211
+ name = preview_branch_batch_2_missions_2_highlighted
212
+ potential = {
213
+ ai = no
214
+ has_branching_missions = yes
215
+ has_preview_mission_flag = yes
216
+ can_preview_batch = { batch = 2 }
217
+ currently_selected_branch = { value = 2 batch = 2 }
218
+ }
219
+ trigger = { can_select_branch = { value = 2 batch = 2 } }
220
+ effect = { preview_mission_branch = { branch = 2 batch = 2 } }
221
+ tooltip = preview_branch_batch_2_missions_2_title
222
+ }
223
+
224
+ custom_button = {
225
+ name = preview_branch_batch_2_missions_3
226
+ potential = {
227
+ ai = no
228
+ has_branching_missions = yes
229
+ has_preview_mission_flag = yes
230
+ can_preview_batch = { batch = 2 }
231
+ num_of_mission_branches = { value = 3 batch = 2 }
232
+ NOT = { currently_selected_branch = { value = 3 batch = 2 } }
233
+ }
234
+ trigger = { can_select_branch = { value = 3 batch = 2 } }
235
+ effect = { preview_mission_branch = { branch = 3 batch = 2 } }
236
+ tooltip = preview_branch_batch_2_missions_3_title
237
+ }
238
+ custom_button = {
239
+ name = preview_branch_batch_2_missions_3_highlighted
240
+ potential = {
241
+ ai = no
242
+ has_branching_missions = yes
243
+ has_preview_mission_flag = yes
244
+ can_preview_batch = { batch = 2 }
245
+ num_of_mission_branches = { value = 3 batch = 2 }
246
+ currently_selected_branch = { value = 3 batch = 2 }
247
+ }
248
+ trigger = { can_select_branch = { value = 3 batch = 2 } }
249
+ effect = { preview_mission_branch = { branch = 3 batch = 2 } }
250
+ tooltip = preview_branch_batch_2_missions_3_title
251
+ }
252
+
253
+ custom_button = {
254
+ name = preview_branch_batch_2_missions_4
255
+ potential = {
256
+ ai = no
257
+ has_branching_missions = yes
258
+ has_preview_mission_flag = yes
259
+ num_of_mission_branches = { value = 4 batch = 2 }
260
+ NOT = { currently_selected_branch = { value = 4 batch = 2 } }
261
+ }
262
+ trigger = { can_select_branch = { value = 4 batch = 2 } }
263
+ effect = { preview_mission_branch = { branch = 4 batch = 2 } }
264
+ tooltip = preview_branch_batch_2_missions_4_title
265
+ }
266
+ custom_button = {
267
+ name = preview_branch_batch_2_missions_4_highlighted
268
+ potential = {
269
+ ai = no
270
+ has_branching_missions = yes
271
+ has_preview_mission_flag = yes
272
+ num_of_mission_branches = { value = 4 batch = 2 }
273
+ currently_selected_branch = { value = 4 batch = 2 }
274
+ }
275
+ trigger = { can_select_branch = { value = 4 batch = 2 } }
276
+ effect = { preview_mission_branch = { branch = 4 batch = 2 } }
277
+ tooltip = preview_branch_batch_2_missions_4_title
278
+ }
279
+
280
+ custom_button = {
281
+ name = preview_branch_batch_2_missions_5
282
+ potential = {
283
+ ai = no
284
+ has_branching_missions = yes
285
+ has_preview_mission_flag = yes
286
+ num_of_mission_branches = { value = 5 batch = 2 }
287
+ NOT = { currently_selected_branch = { value = 5 batch = 2 } }
288
+ }
289
+ trigger = { can_select_branch = { value = 5 batch = 2 } }
290
+ effect = { preview_mission_branch = { branch = 5 batch = 2 } }
291
+ tooltip = preview_branch_batch_2_missions_5_title
292
+ }
293
+ custom_button = {
294
+ name = preview_branch_batch_2_missions_5_highlighted
295
+ potential = {
296
+ ai = no
297
+ has_branching_missions = yes
298
+ has_preview_mission_flag = yes
299
+ num_of_mission_branches = { value = 5 batch = 2 }
300
+ currently_selected_branch = { value = 5 batch = 2 }
301
+ }
302
+ trigger = { can_select_branch = { value = 5 batch = 2 } }
303
+ effect = { preview_mission_branch = { branch = 5 batch = 2 } }
304
+ tooltip = preview_branch_batch_2_missions_5_title
305
+ }
306
+
307
+ #Third batch
308
+ custom_button = {
309
+ name = select_current_branch_batch_3_missions
310
+ potential = {
311
+ ai = no
312
+ has_branching_missions = yes
313
+ has_preview_mission_flag = yes
314
+ can_preview_batch = { batch = 3 }
315
+ }
316
+ trigger = { has_selected_a_branch = { batch = 3 } }
317
+ effect = { select_current_branch = { batch = 3 } }
318
+ tooltip = select_current_branch_batch_3_missions_title
319
+ }
320
+
321
+ custom_button = {
322
+ name = preview_branch_batch_3_missions_1
323
+ potential = {
324
+ ai = no
325
+ has_branching_missions = yes
326
+ has_preview_mission_flag = yes
327
+ can_preview_batch = { batch = 3 }
328
+ NOT = { currently_selected_branch = { value = 1 batch = 3 } }
329
+ }
330
+ trigger = { can_select_branch = { value = 1 batch = 3 } }
331
+ effect = { preview_mission_branch = { branch = 1 batch = 3 } }
332
+ tooltip = preview_branch_batch_3_missions_1_title
333
+ }
334
+ custom_button = {
335
+ name = preview_branch_batch_3_missions_1_highlighted
336
+ potential = {
337
+ ai = no
338
+ has_branching_missions = yes
339
+ has_preview_mission_flag = yes
340
+ can_preview_batch = { batch = 3 }
341
+ currently_selected_branch = { value = 1 batch = 3 }
342
+ }
343
+ trigger = { can_select_branch = { value = 1 batch = 3 } }
344
+ effect = { preview_mission_branch = { branch = 1 batch = 3 } }
345
+ tooltip = preview_branch_batch_3_missions_1_title
346
+ }
347
+
348
+ custom_button = {
349
+ name = preview_branch_batch_3_missions_2
350
+ potential = {
351
+ ai = no
352
+ has_branching_missions = yes
353
+ has_preview_mission_flag = yes
354
+ can_preview_batch = { batch = 3 }
355
+ NOT = { currently_selected_branch = { value = 2 batch = 3 } }
356
+ }
357
+ trigger = { can_select_branch = { value = 2 batch = 3 } }
358
+ effect = { preview_mission_branch = { branch = 2 batch = 3 } }
359
+ tooltip = preview_branch_batch_3_missions_2_title
360
+ }
361
+ custom_button = {
362
+ name = preview_branch_batch_3_missions_2_highlighted
363
+ potential = {
364
+ ai = no
365
+ has_branching_missions = yes
366
+ has_preview_mission_flag = yes
367
+ can_preview_batch = { batch = 3 }
368
+ currently_selected_branch = { value = 2 batch = 3 }
369
+ }
370
+ trigger = { can_select_branch = { value = 2 batch = 3 } }
371
+ effect = { preview_mission_branch = { branch = 2 batch = 3 } }
372
+ tooltip = preview_branch_batch_3_missions_2_title
373
+ }
374
+
375
+ custom_button = {
376
+ name = preview_branch_batch_3_missions_3
377
+ potential = {
378
+ ai = no
379
+ has_branching_missions = yes
380
+ has_preview_mission_flag = yes
381
+ can_preview_batch = { batch = 3 }
382
+ num_of_mission_branches = { value = 3 batch = 3 }
383
+ NOT = { currently_selected_branch = { value = 3 batch = 3 } }
384
+ }
385
+ trigger = { can_select_branch = { value = 3 batch = 3 } }
386
+ effect = { preview_mission_branch = { branch = 3 batch = 3 } }
387
+ tooltip = preview_branch_batch_3_missions_3_title
388
+ }
389
+ custom_button = {
390
+ name = preview_branch_batch_3_missions_3_highlighted
391
+ potential = {
392
+ ai = no
393
+ has_branching_missions = yes
394
+ has_preview_mission_flag = yes
395
+ can_preview_batch = { batch = 3 }
396
+ num_of_mission_branches = { value = 3 batch = 3 }
397
+ currently_selected_branch = { value = 3 batch = 3 }
398
+ }
399
+ trigger = { can_select_branch = { value = 3 batch = 3 } }
400
+ effect = { preview_mission_branch = { branch = 3 batch = 3 } }
401
+ tooltip = preview_branch_batch_3_missions_3_title
402
+ }
403
+
404
+ custom_button = {
405
+ name = preview_branch_batch_3_missions_4
406
+ potential = {
407
+ ai = no
408
+ has_branching_missions = yes
409
+ has_preview_mission_flag = yes
410
+ can_preview_batch = { batch = 3 }
411
+ num_of_mission_branches = { value = 4 batch = 3 }
412
+ NOT = { currently_selected_branch = { value = 4 batch = 3 } }
413
+ }
414
+ trigger = { can_select_branch = { value = 4 batch = 3 } }
415
+ effect = { preview_mission_branch = { branch = 4 batch = 3 } }
416
+ tooltip = preview_branch_batch_3_missions_4_title
417
+ }
418
+ custom_button = {
419
+ name = preview_branch_batch_3_missions_4_highlighted
420
+ potential = {
421
+ ai = no
422
+ has_branching_missions = yes
423
+ has_preview_mission_flag = yes
424
+ can_preview_batch = { batch = 3 }
425
+ num_of_mission_branches = { value = 4 batch = 3 }
426
+ currently_selected_branch = { value = 4 batch = 3 }
427
+ }
428
+ trigger = { can_select_branch = { value = 4 batch = 3 } }
429
+ effect = { preview_mission_branch = { branch = 4 batch = 3 } }
430
+ tooltip = preview_branch_batch_3_missions_4_title
431
+ }
432
+
433
+ custom_button = {
434
+ name = preview_branch_batch_3_missions_5
435
+ potential = {
436
+ ai = no
437
+ has_branching_missions = yes
438
+ has_preview_mission_flag = yes
439
+ can_preview_batch = { batch = 3 }
440
+ num_of_mission_branches = { value = 5 batch = 3 }
441
+ NOT = { currently_selected_branch = { value = 5 batch = 3 } }
442
+ }
443
+ trigger = { can_select_branch = { value = 5 batch = 3 } }
444
+ effect = { preview_mission_branch = { branch = 5 batch = 3 } }
445
+ tooltip = preview_branch_batch_3_missions_5_title
446
+ }
447
+ custom_button = {
448
+ name = preview_branch_batch_3_missions_5_highlighted
449
+ potential = {
450
+ ai = no
451
+ has_branching_missions = yes
452
+ has_preview_mission_flag = yes
453
+ can_preview_batch = { batch = 3 }
454
+ num_of_mission_branches = { value = 5 batch = 3 }
455
+ currently_selected_branch = { value = 5 batch = 3 }
456
+ }
457
+ trigger = { can_select_branch = { value = 5 batch = 3 } }
458
+ effect = { preview_mission_branch = { branch = 5 batch = 3 } }
459
+ tooltip = preview_branch_batch_3_missions_5_title
142
460
  }