File size: 25,924 Bytes
b6a38d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
-- ========== GENERATED BY BanterDef Editor DO NOT EDIT MANUALLY! ==========

PlaceObj('BanterDef', {
	Lines = {
		PlaceObj('BanterLine', {
			'Character', "Fournier",
			'Text', T(702309409832, --[[BanterDef OldDiamond_Fournier04 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier04 voice:Fournier]] "It was fortunate that we managed to avoid escalation when the Legion took control. Just a few workers beaten and one of them somewhat killed, that's all."),
		}),
	},
	conditions = {
		PlaceObj('QuestIsVariableBool', {
			QuestId = "OldDiamond",
			Vars = set({
	FournierExposed = false,
	ImpostorsKilled = false,
}),
			__eval = function ()
				local quest = gv_Quests['OldDiamond'] or QuestGetState('OldDiamond')
				return not quest.FournierExposed and not quest.ImpostorsKilled
			end,
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_Fournier04",
})

PlaceObj('BanterDef', {
	Lines = {
		PlaceObj('BanterLine', {
			'Character', "Fournier",
			'Text', T(228707518715, --[[BanterDef OldDiamond_Fournier05 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier05 voice:Fournier]] "You have my full support!"),
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_Fournier05",
})

PlaceObj('BanterDef', {
	Lines = {
		PlaceObj('BanterLine', {
			'Character', "Fournier",
			'Text', T(397144142040, --[[BanterDef OldDiamond_Fournier06 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier06 voice:Fournier]] "But of course, whatever you say!"),
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_Fournier06",
})

PlaceObj('BanterDef', {
	Comment = "Fournier threatened",
	FX = "CheckSuccess",
	Lines = {
		PlaceObj('BanterLine', {
			'Text', T(400573675428, --[[BanterDef OldDiamond_Fournier07 Text]] "<em>Psycho</em> perk activated"),
			'Voiced', false,
			'FloatUp', true,
		}),
		PlaceObj('BanterLine', {
			'MultipleTexts', true,
			'AnyOfThese', {
				PlaceObj('BanterLineThin', {
					'Character', "Meltdown",
					'Text', T(912165044430, --[[BanterDef OldDiamond_Fournier07 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier07 voice:Meltdown]] "What the fuck is going on here, asshole? Who are those assholes over there? Start singing before I start kicking you."),
				}),
				PlaceObj('BanterLineThin', {
					'Character', "Fidel",
					'Text', T(808017863354, --[[BanterDef OldDiamond_Fournier07 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier07 voice:Fidel]] "You have good friends coming to see you at night! Fidel also wants to be your friend. Fidel picks friends with pick axe!"),
				}),
				PlaceObj('BanterLineThin', {
					'Character', "Nails",
					'Text', T(901753016648, --[[BanterDef OldDiamond_Fournier07 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier07 voice:Nails]] "What's going on here, dweeb? Who are those fuckers over there?"),
				}),
				PlaceObj('BanterLineThin', {
					'Character', "Flay",
					'Text', T(234629347805, --[[BanterDef OldDiamond_Fournier07 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier07 voice:Flay]] "It looks like you have some buckheads in the mine. Tell me what is going on or I will start measuring your head to see if I have room for it on my wall."),
				}),
			},
			'playOnce', true,
		}),
	},
	Once = true,
	conditions = {
		PlaceObj('QuestIsVariableBool', {
			QuestId = "OldDiamond",
			Vars = set({
	Given = true,
	ImpostorsKilled = false,
}),
			__eval = function ()
				local quest = gv_Quests['OldDiamond'] or QuestGetState('OldDiamond')
				return quest.Given and not quest.ImpostorsKilled
			end,
		}),
		PlaceObj('CheckGameState', {
			GameState = "Sunrise",
			Negate = true,
		}),
		PlaceObj('CheckGameState', {
			GameState = "Day",
			Negate = true,
		}),
		PlaceObj('UnitSquadHasMerc', {
			HasPerk = "Psycho",
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_Fournier07",
})

PlaceObj('BanterDef', {
	Comment = "Mercs discovered the impostors",
	Lines = {
		PlaceObj('BanterLine', {
			'Text', T(587928817667, --[[BanterDef OldDiamond_Fournier08 Text]] "<wisdom-s>"),
			'Voiced', false,
			'FloatUp', true,
		}),
		PlaceObj('BanterLine', {
			'MultipleTexts', true,
			'AnyOfThese', {
				PlaceObj('BanterLineThin', {
					'Character', "Wolf",
					'Text', T(764785973984, --[[BanterDef OldDiamond_Fournier08 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier08 voice:Wolf]] "Those guys over there mentioned having guns. What's going on here, Fournier? Spill it."),
				}),
				PlaceObj('BanterLineThin', {
					'Character', "Shadow",
					'Text', T(635620110218, --[[BanterDef OldDiamond_Fournier08 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier08 voice:Shadow]] "Those guys over there are hiding guns and doing a poor job of it. Know anything about that, Fournier?"),
				}),
				PlaceObj('BanterLineThin', {
					'Character', "Fauda",
					'Text', T(247649960522, --[[BanterDef OldDiamond_Fournier08 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier08 voice:Fauda]] "Why are those miners hiding guns? It makes me wonder what YOU are hiding."),
				}),
			},
			'playOnce', true,
		}),
		PlaceObj('BanterLine', {
			'Character', "Fournier",
			'Text', T(635465258158, --[[BanterDef OldDiamond_Fournier08 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier08 Mercs discovered the impostors voice:Fournier]] "Guns? I told them they shouldn't bring guns... Ummm, whoops."),
		}),
	},
	Once = true,
	conditions = {
		PlaceObj('QuestIsVariableBool', {
			QuestId = "OldDiamond",
			Vars = set({
	ImpostorsKilled = false,
	MentionGuns = true,
}),
			__eval = function ()
				local quest = gv_Quests['OldDiamond'] or QuestGetState('OldDiamond')
				return not quest.ImpostorsKilled and quest.MentionGuns
			end,
		}),
		PlaceObj('CheckGameState', {
			GameState = "Sunrise",
			Negate = true,
		}),
		PlaceObj('CheckGameState', {
			GameState = "Day",
			Negate = true,
		}),
		PlaceObj('UnitSquadHasMerc', {
			HasStat = "Wisdom",
			StatValue = 50,
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_Fournier08",
})

PlaceObj('BanterDef', {
	Comment = "Impostors were killed",
	Lines = {
		PlaceObj('BanterLine', {
			'Character', "Fournier",
			'Text', T(426694600938, --[[BanterDef OldDiamond_Fournier09 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier09 Impostors were killed voice:Fournier]] "I'll make it up to you... I promise!"),
		}),
	},
	conditions = {
		PlaceObj('QuestIsVariableBool', {
			QuestId = "OldDiamond",
			Vars = set( "ImpostorsKilled" ),
			__eval = function ()
				local quest = gv_Quests['OldDiamond'] or QuestGetState('OldDiamond')
				return quest.ImpostorsKilled
			end,
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_Fournier09",
})

PlaceObj('BanterDef', {
	Comment = "Heard a gossip about possible diamond deposit >> ProspectingOpportunity",
	Lines = {
		PlaceObj('BanterLine', {
			'Character', "Fournier",
			'Text', T(870809444238, --[[BanterDef OldDiamond_Fournier10 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier10 Heard a gossip about possible diamond deposit >> ProspectingOpportunity voice:Fournier]] "Well, it is true that there may be a diamond deposit under the administrative building, but we cannot dig under there. The building could easily suffer irreparable structural damage!"),
		}),
		PlaceObj('BanterLine', {
			'MultipleTexts', true,
			'AnyOfThese', {
				PlaceObj('BanterLineThin', {
					'Character', "Meltdown",
					'Text', T(864049257879, --[[BanterDef OldDiamond_Fournier10 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier10 voice:Meltdown]] "Your face is about to suffer... whatever it was you said."),
				}),
				PlaceObj('BanterLineThin', {
					'Character', "Thor",
					'Text', T(217601327705, --[[BanterDef OldDiamond_Fournier10 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier10 voice:Thor]] "So, it is okay to damage the Earth looking for diamonds, but not a building?"),
				}),
				PlaceObj('BanterLineThin', {
					'Character', "Buns",
					'Text', T(904785297573, --[[BanterDef OldDiamond_Fournier10 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier10 voice:Buns]] "So, you're more interested in keeping your office clean than in mining diamonds? Very well, I'll make a note of it for your next performance review."),
				}),
			},
			'playOnce', true,
		}),
	},
	conditions = {
		PlaceObj('QuestIsVariableBool', {
			QuestId = "OldDiamond",
			Vars = set({
	ProspectingDone = false,
	ProspectingMention = true,
}),
			__eval = function ()
				local quest = gv_Quests['OldDiamond'] or QuestGetState('OldDiamond')
				return not quest.ProspectingDone and quest.ProspectingMention
			end,
		}),
		PlaceObj('SectorHasDepletedMine', {
			Negate = true,
			sector_id = "K10",
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_Fournier10",
})

PlaceObj('BanterDef', {
	Comment = "Prospected the new diamond deposit and further damaged his building",
	Lines = {
		PlaceObj('BanterLine', {
			'Character', "Fournier",
			'Text', T(789933147561, --[[BanterDef OldDiamond_Fournier11 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier11 Prospected the new diamond deposit and further damaged his building voice:Fournier]] "Not that I'm complaining, but... how can I administer a mine from a damaged administrative building?!"),
		}),
		PlaceObj('BanterLine', {
			'MultipleTexts', true,
			'AnyOfThese', {
				PlaceObj('BanterLineThin', {
					'Character', "Len",
					'Text', T(707049119606, --[[BanterDef OldDiamond_Fournier11 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier11 voice:Len]] "Don't worry about it, Fournier. We'll get you a nice tent where you can... administrate from."),
				}),
				PlaceObj('BanterLineThin', {
					'Character', "Nails",
					'Text', T(923983681139, --[[BanterDef OldDiamond_Fournier11 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier11 voice:Nails]] "You can start by picking up a pickaxe and getting your ass down in that hole."),
				}),
				PlaceObj('BanterLineThin', {
					'Character', "Livewire",
					'Text', T(407239466886, --[[BanterDef OldDiamond_Fournier11 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_Fournier11 voice:Livewire]] "I am sure we will begin repairs as soon as you have filed the necessary forms in triplicate and had them countersigned by the appropriate civilian authorities."),
				}),
			},
			'playOnce', true,
		}),
	},
	conditions = {
		PlaceObj('QuestIsVariableBool', {
			QuestId = "OldDiamond",
			Vars = set({
	ImpostorsKilled = false,
	ProspectingDone = true,
}),
			__eval = function ()
				local quest = gv_Quests['OldDiamond'] or QuestGetState('OldDiamond')
				return not quest.ImpostorsKilled and quest.ProspectingDone
			end,
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_Fournier11",
})

PlaceObj('BanterDef', {
	Comment = ">> quest Given",
	FX = "CheckFail",
	KillOnAnyActorAware = true,
	Lines = {
		PlaceObj('BanterLine', {
			'Text', T(465911566047, --[[BanterDef OldDiamond_LegionMale_01_failure01 Text]] "<leadership-f>"),
			'Voiced', false,
			'FloatUp', true,
		}),
		PlaceObj('BanterLine', {
			'Character', "LegionImpostors",
			'Text', T(505565166283, --[[BanterDef OldDiamond_LegionMale_01_failure01 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_LegionMale_01_failure01 >> quest Given voice:LegionImpostors]] "Good evening, boss! How's business?"),
		}),
	},
	Once = true,
	conditions = {
		PlaceObj('UnitSquadHasMerc', {
			HasStat = "Leadership",
			Negate = true,
			StatValue = 50,
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_LegionMale_01_failure01",
})

PlaceObj('BanterDef', {
	Comment = ">> quest Given",
	FX = "CheckFail",
	KillOnAnyActorAware = true,
	Lines = {
		PlaceObj('BanterLine', {
			'Text', T(575711271578, --[[BanterDef OldDiamond_LegionMale_01_failure02 Text]] "<leadership-f>"),
			'Voiced', false,
			'FloatUp', true,
		}),
		PlaceObj('BanterLine', {
			'Character', "LegionImpostors",
			'Text', T(421502904402, --[[BanterDef OldDiamond_LegionMale_01_failure02 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_LegionMale_01_failure02 >> quest Given voice:LegionImpostors]] "Hey, boss! What's up?"),
		}),
	},
	Once = true,
	conditions = {
		PlaceObj('UnitSquadHasMerc', {
			HasStat = "Leadership",
			Negate = true,
			StatValue = 50,
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_LegionMale_01_failure02",
})

PlaceObj('BanterDef', {
	Comment = ">> quest Old Diamond - MentionGuns",
	FX = "CheckSuccess",
	KillOnAnyActorAware = true,
	Lines = {
		PlaceObj('BanterLine', {
			'Text', T(817406503676, --[[BanterDef OldDiamond_LegionMale_01_success Text]] "<leadership-s>"),
			'Voiced', false,
			'FloatUp', true,
		}),
		PlaceObj('BanterLine', {
			'MultipleTexts', true,
			'AnyOfThese', {
				PlaceObj('BanterLineThin', {
					'Character', "Gus",
					'Text', T(272279763389, --[[BanterDef OldDiamond_LegionMale_01_success Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_LegionMale_01_success voice:Gus]] "What do you say there, Woodchippers? Working hard or hardly working?"),
				}),
				PlaceObj('BanterLineThin', {
					'Character', "Scully",
					'Text', T(841068457668, --[[BanterDef OldDiamond_LegionMale_01_success Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_LegionMale_01_success voice:Scully]] "You diggers doing okay? You look like you stepped in something you shouldn't have."),
				}),
				PlaceObj('BanterLineThin', {
					'Character', "Raider",
					'Text', T(884918272629, --[[BanterDef OldDiamond_LegionMale_01_success Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_LegionMale_01_success voice:Raider]] "Hey there, fellas! I'm just checking to make sure you all have the appropriate safety gear for mining at night."),
				}),
			},
			'playOnce', true,
		}),
		PlaceObj('BanterLine', {
			'Character', "LegionImpostors",
			'Text', T(651845285511, --[[BanterDef OldDiamond_LegionMale_01_success Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_LegionMale_01_success >> quest Old Diamond - MentionGuns voice:LegionImpostors]] "Uh, good evening, boss! We're just doing our job... Digging and stuff. Don't mind us."),
		}),
		PlaceObj('BanterLine', {
			'Annotation', "(whisper to the side)",
			'Character', "LegionImpostors",
			'Text', T(576426290925, --[[BanterDef OldDiamond_LegionMale_01_success Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_LegionMale_01_success (whisper to the side) >> quest Old Diamond - MentionGuns voice:LegionImpostors]] "Hey, stupid assholes! Lose those guns!"),
		}),
	},
	Once = true,
	conditions = {
		PlaceObj('UnitSquadHasMerc', {
			HasStat = "Leadership",
			StatValue = 50,
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_LegionMale_01_success",
})

PlaceObj('BanterDef', {
	KillOnAnyActorAware = true,
	Lines = {
		PlaceObj('BanterLine', {
			'Character', "LegionImpostors",
			'Text', T(857746754670, --[[BanterDef OldDiamond_LegionMale_02 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_LegionMale_02 voice:LegionImpostors]] "What do you want? Uh, we're doing our job, okay?"),
		}),
	},
	conditions = {
		PlaceObj('QuestIsVariableBool', {
			QuestId = "OldDiamond",
			Vars = set( "Given" ),
			__eval = function ()
				local quest = gv_Quests['OldDiamond'] or QuestGetState('OldDiamond')
				return quest.Given
			end,
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_LegionMale_02",
})

PlaceObj('BanterDef', {
	KillOnAnyActorAware = true,
	Lines = {
		PlaceObj('BanterLine', {
			'Annotation', '("Diggy-Diggy Hole" song reference)',
			'Character', "LegionImpostors",
			'Text', T(477194142507, --[[BanterDef OldDiamond_LegionMale_03 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_LegionMale_03 ("Diggy-Diggy Hole" song reference) voice:LegionImpostors]] "I'm le mineur and I'm digging a hole... Diggy, diggy hole, digging a hole."),
		}),
	},
	conditions = {
		PlaceObj('QuestIsVariableBool', {
			QuestId = "OldDiamond",
			Vars = set( "Given" ),
			__eval = function ()
				local quest = gv_Quests['OldDiamond'] or QuestGetState('OldDiamond')
				return quest.Given
			end,
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_LegionMale_03",
})

PlaceObj('BanterDef', {
	Comment = 'Already know about the "night shift"',
	Lines = {
		PlaceObj('BanterLine', {
			'Character', "CivilianMaleMiner_1",
			'Text', T(256313866468, --[[BanterDef OldDiamond_WorkerMale_01 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_WorkerMale_01 Already know about the "night shift" voice:CivilianMaleMiner_1]] "Hey, boss, can you please sign me up for the night shift? I heard that it pays better."),
		}),
	},
	conditions = {
		PlaceObj('QuestIsVariableBool', {
			QuestId = "OldDiamond",
			Vars = set({
	Given = true,
	ImpostorsKilled = false,
}),
			__eval = function ()
				local quest = gv_Quests['OldDiamond'] or QuestGetState('OldDiamond')
				return quest.Given and not quest.ImpostorsKilled
			end,
		}),
		PlaceObj('CheckGameState', {
			GameState = "Sunset",
			Negate = true,
		}),
		PlaceObj('CheckGameState', {
			GameState = "Night",
			Negate = true,
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_WorkerMale_01",
})

PlaceObj('BanterDef', {
	Comment = "Fournier exposed",
	Lines = {
		PlaceObj('BanterLine', {
			'Character', "CivilianMaleMiner_2",
			'Text', T(842353737244, --[[BanterDef OldDiamond_WorkerMale_02 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_WorkerMale_02 Fournier exposed voice:CivilianMaleMiner_2]] "So, Monsieur Fournier has stolen from you and you didn't shoot him? That is good to know."),
		}),
		PlaceObj('BanterLine', {
			'MultipleTexts', true,
			'AnyOfThese', {
				PlaceObj('BanterLineThin', {
					'Character', "Blood",
					'Text', T(889710595240, --[[BanterDef OldDiamond_WorkerMale_02 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_WorkerMale_02 voice:Blood]] "No, we didn't shoot him, but we may have done other things to him. That's also good for you to know."),
				}),
				PlaceObj('BanterLineThin', {
					'Character', "Ice",
					'Text', T(774713956640, --[[BanterDef OldDiamond_WorkerMale_02 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_WorkerMale_02 voice:Ice]] "He ain't dead, but that don't mean we didn't shoot him a little."),
				}),
				PlaceObj('BanterLineThin', {
					'Character', "Hitman",
					'Text', T(514139745869, --[[BanterDef OldDiamond_WorkerMale_02 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_WorkerMale_02 voice:Hitman]] "You getting ideas? I don't like people who get ideas. Get your stuff. You're fired."),
				}),
			},
			'playOnce', true,
		}),
	},
	conditions = {
		PlaceObj('QuestIsVariableBool', {
			QuestId = "OldDiamond",
			Vars = set( "FournierExposed" ),
			__eval = function ()
				local quest = gv_Quests['OldDiamond'] or QuestGetState('OldDiamond')
				return quest.FournierExposed
			end,
		}),
		PlaceObj('CheckIsPersistentUnitDead', {
			Negate = true,
			per_ses_id = "NPC_Fournier",
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_WorkerMale_02",
})

PlaceObj('BanterDef', {
	Comment = "Impostors killed",
	Lines = {
		PlaceObj('BanterLine', {
			'Character', "CivilianMaleMiner_2",
			'Text', T(392131484367, --[[BanterDef OldDiamond_WorkerMale_03 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_WorkerMale_03 Impostors killed voice:CivilianMaleMiner_2]] "I heard that you shot those guys in the night shift. Did they... steal from you?"),
		}),
		PlaceObj('BanterLine', {
			'MultipleTexts', true,
			'AnyOfThese', {
				PlaceObj('BanterLineThin', {
					'Character', "Flay",
					'Text', T(998575005501, --[[BanterDef OldDiamond_WorkerMale_03 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_WorkerMale_03 voice:Flay]] "Non. We shot them because they asked too many questions."),
				}),
				PlaceObj('BanterLineThin', {
					'Character', "Reaper",
					'Text', T(990796618206, --[[BanterDef OldDiamond_WorkerMale_03 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_WorkerMale_03 voice:Reaper]] "We killed them because it was time for them to die."),
				}),
				PlaceObj('BanterLineThin', {
					'Character', "Fidel",
					'Text', T(857227998803, --[[BanterDef OldDiamond_WorkerMale_03 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_WorkerMale_03 voice:Fidel]] "No! Fidel just kill them because it is fun to kill."),
				}),
			},
			'playOnce', true,
		}),
	},
	conditions = {
		PlaceObj('QuestIsVariableBool', {
			QuestId = "OldDiamond",
			Vars = set( "ImpostorsKilled" ),
			__eval = function ()
				local quest = gv_Quests['OldDiamond'] or QuestGetState('OldDiamond')
				return quest.ImpostorsKilled
			end,
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_WorkerMale_03",
})

PlaceObj('BanterDef', {
	Comment = "Gossip about possible diamond deposit >> ProspectingMention",
	Lines = {
		PlaceObj('BanterLine', {
			'Character', "CivilianMaleMiner_1",
			'Text', T(451962696995, --[[BanterDef OldDiamond_WorkerMale_04 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_WorkerMale_04 Gossip about possible diamond deposit >> ProspectingMention voice:CivilianMaleMiner_1]] "The best finds are on the north side of the quarry, but that asshole <em>Fournier</em> doesn't allow us to dig there."),
		}),
	},
	conditions = {
		PlaceObj('QuestIsVariableBool', {
			QuestId = "OldDiamond",
			Vars = set({
	ProspectingDone = false,
}),
			__eval = function ()
				local quest = gv_Quests['OldDiamond'] or QuestGetState('OldDiamond')
				return not quest.ProspectingDone
			end,
		}),
		PlaceObj('CheckIsPersistentUnitDead', {
			Negate = true,
			per_ses_id = "NPC_Fournier",
		}),
		PlaceObj('SectorHasDepletedMine', {
			Negate = true,
			sector_id = "K10",
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_WorkerMale_04",
})

PlaceObj('BanterDef', {
	Comment = "Know about possible diamond deposit",
	Lines = {
		PlaceObj('BanterLine', {
			'Character', "CivilianMaleMiner_2",
			'Text', T(391640733013, --[[BanterDef OldDiamond_WorkerMale_05 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_WorkerMale_05 Know about possible diamond deposit voice:CivilianMaleMiner_2]] "Monsieur <em>Fournier</em> said that the northern side of the quarry is cursed and the spirits don't want us to dig there."),
		}),
		PlaceObj('BanterLine', {
			'MultipleTexts', true,
			'AnyOfThese', {
				PlaceObj('BanterLineThin', {
					'Character', "Kalyna",
					'Text', T(470134134743, --[[BanterDef OldDiamond_WorkerMale_05 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_WorkerMale_05 voice:Kalyna]] "Hmmm... It could be a mummy's curse. We should check it out."),
				}),
				PlaceObj('BanterLineThin', {
					'Character', "Omryn",
					'Text', T(578654173468, --[[BanterDef OldDiamond_WorkerMale_05 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_WorkerMale_05 voice:Omryn]] "To anger spirits is to invite nightmares. They disturb sleep. We should stay away."),
				}),
				PlaceObj('BanterLineThin', {
					'Character', "Steroid",
					'Text', T(359396951227, --[[BanterDef OldDiamond_WorkerMale_05 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_WorkerMale_05 voice:Steroid]] "Ha! Spirits are not real... right?"),
				}),
			},
			'playOnce', true,
		}),
	},
	conditions = {
		PlaceObj('QuestIsVariableBool', {
			Condition = "or",
			QuestId = "OldDiamond",
			Vars = set( "ProspectingMention", "ProspectingOpportunity" ),
			__eval = function ()
				local quest = gv_Quests['OldDiamond'] or QuestGetState('OldDiamond')
				return quest.ProspectingMention or quest.ProspectingOpportunity
			end,
		}),
		PlaceObj('QuestIsVariableBool', {
			QuestId = "OldDiamond",
			Vars = set({
	ProspectingDone = false,
}),
			__eval = function ()
				local quest = gv_Quests['OldDiamond'] or QuestGetState('OldDiamond')
				return not quest.ProspectingDone
			end,
		}),
		PlaceObj('CheckIsPersistentUnitDead', {
			Negate = true,
			per_ses_id = "NPC_Fournier",
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_WorkerMale_05",
})

PlaceObj('BanterDef', {
	Comment = "Prospecting done",
	Lines = {
		PlaceObj('BanterLine', {
			'Character', "CivilianMaleMiner_1",
			'Text', T(747467087962, --[[BanterDef OldDiamond_WorkerMale_06 Text section:Banters_Local_PortCacao_OldDiamond/OldDiamond_WorkerMale_06 Prospecting done voice:CivilianMaleMiner_1]] "You should have seen the face of <em>Fournier</em> when his precious office started crumbling!"),
		}),
	},
	conditions = {
		PlaceObj('QuestIsVariableBool', {
			QuestId = "OldDiamond",
			Vars = set( "ProspectingDone" ),
			__eval = function ()
				local quest = gv_Quests['OldDiamond'] or QuestGetState('OldDiamond')
				return quest.ProspectingDone
			end,
		}),
		PlaceObj('CheckIsPersistentUnitDead', {
			Negate = true,
			per_ses_id = "NPC_Fournier",
		}),
	},
	disabledInConflict = true,
	group = "Banters_Local_PortCacao_OldDiamond",
	id = "OldDiamond_WorkerMale_06",
})