-- ========== 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]] "Psycho 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]] ""), '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]] ""), '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]] ""), '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]] ""), '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 Fournier 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 Fournier 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 Fournier 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", })