|
|
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Fort not taken >> hint to Corazon location", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "GreasyBasil", |
|
'Text', T(830926811202, "There is still some Adonis trash on the island. Your friend <em>Corazon</em> has moved into the old <em>Fort</em> and had her crew bring heavy machinery."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Vicki", |
|
'Text', T(674616445270, "Heavy machinery like dozers and trucks? What she do that for, mon?"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Len", |
|
'Text', T(132730944600, "Any idea what to expect?"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Raven", |
|
'Text', T(406545461879, "I'm guessing she didn't do that just to install a miniature golf course."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "GreasyBasil", |
|
'Text', T(158172305588, "If I remember right, the fortress has a bunker, but it's been flooded for years. The pumps I saw on those trucks makes me think they excavated and drained it."), |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('SectorCheckOwner', {}), |
|
PlaceObj('SectorCheckOwner', { |
|
Negate = true, |
|
sector_id = "H4", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownCorazon", |
|
Vars = set({ |
|
Conv_CorazonKilled = false, |
|
Conv_CorazonLeft = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownCorazon'] or QuestGetState('05_TakeDownCorazon') |
|
return not quest.Conv_CorazonKilled and not quest.Conv_CorazonLeft |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "WorldFlipDone" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.WorldFlipDone |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Basil_01_approach", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre returned", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "GreasyBasil", |
|
'Text', T(207517852831, "I almost shot <em>Pierre</em> when I saw him stumble into town... Now I'm glad I didn't. He's done a lot to mend the damage he and the Legion did here."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'Text', "", |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Barry", |
|
'Text', T(304396121377, "It is good to refrain from shooting prodigal son."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Fauda", |
|
'Text', T(457405558962, "Shooting would have been too much. Public shaming followed by some light stoning is more appropriate."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Spike", |
|
'Text', T(918012581983, "You didn't shoot him? Not even just a little bit? Damn, you're a softy."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "WorldFlipDone" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.WorldFlipDone |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set({ |
|
PierreDead = false, |
|
PierreReturn = true, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return not quest.PierreDead and quest.PierreReturn |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Basil_02", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre returned", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "GreasyBasil", |
|
'Text', T(914202810872, "<em>Pierre</em> puts flowers on <em>Tinhay's</em> grave every day. That won't bring him back, but it's something."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "WorldFlipDone" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.WorldFlipDone |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set({ |
|
PierreDead = false, |
|
PierreReturn = true, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return not quest.PierreDead and quest.PierreReturn |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Basil_03", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Fort not taken", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "GreasyBasil", |
|
'Text', T(185741479535, "As long as those greedy <em>Adonis</em> bastards hold <em>Fort L'Eau Bleu</em>, we will not be safe. It is the same as when the Legion was here - what is ours is theirs any time they feel like taking it."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "PierreMerc", |
|
'Text', T(148036076357, "I am sorry for my role in that, Uncle Basil. I cannot change the past, but I can promise you this: we will throw those Adonis dogs off the island, and the Fort will be given to its rightful owners - the people of Ernie."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "WorldFlipDone" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.WorldFlipDone |
|
end, |
|
}), |
|
PlaceObj('SectorCheckOwner', { |
|
Negate = true, |
|
sector_id = "H4", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Basil_04", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Corazon defeated", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "GreasyBasil", |
|
'Text', T(715491518638, "I have big plans for the old Fort. We will scrap all the military hardware, and we'll build a trading dock that will put Ernie on the map."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "WorldFlipDone" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.WorldFlipDone |
|
end, |
|
}), |
|
PlaceObj('SectorCheckOwner', { |
|
sector_id = "H4", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
Condition = "or", |
|
QuestId = "05_TakeDownCorazon", |
|
Vars = set( "Conv_CorazonKilled", "Conv_CorazonLeft" ), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownCorazon'] or QuestGetState('05_TakeDownCorazon') |
|
return quest.Conv_CorazonKilled or quest.Conv_CorazonLeft |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Basil_05", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Major defeated", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "GreasyBasil", |
|
'Text', T(861492747862, "You kicked the Legion out of Ernie, and now that you have crushed its leader, I can only hope this is the end of that bunch of bandits."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "PierreMerc", |
|
'Text', T(253757144217, "There will always be bandits, but without the Major there is no Legion. "), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Flay", |
|
'Text', T(970208051061, "If it is not, then it simply means I will have more hunting to do."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Blood", |
|
'Text', T(125914008871, "Without the Major, all those Legion dudes will just go back to being ordinary, garden-variety scuzzwads. "), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "WorldFlipDone" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.WorldFlipDone |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownMajor", |
|
Vars = set({ |
|
Completed = true, |
|
MajorRecruited = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownMajor'] or QuestGetState('05_TakeDownMajor') |
|
return quest.Completed and not quest.MajorRecruited |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Basil_06", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Major recruited", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "GreasyBasil", |
|
'Text', T(173433995186, "You kicked the Legion out of Ernie, and now that you have crushed its leader, I can only hope this is the end of that bunch of bandits."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfTheseCount', 3, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Spike", |
|
'Text', T(674584792998, "Yeah, about that... Have you ever seen the Major in person?"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "GreasyBasil", |
|
'Text', T(383736743360, "No, but I'm sure I would recognize the bastard the moment I saw him. Such men are often quite short and ugly, with heads that are too large or too small. "), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Spike", |
|
'Text', T(796091196629, "Hehe, yeah... Yeah, I bet you're right. I hope they put that description on a \"Wanted\" poster."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "WorldFlipDone" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.WorldFlipDone |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownMajor", |
|
Vars = set( "MajorRecruited" ), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownMajor'] or QuestGetState('05_TakeDownMajor') |
|
return quest.MajorRecruited |
|
end, |
|
}), |
|
PlaceObj('UnitSquadHasMerc', { |
|
Name = "Spike", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Basil_07", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Faucheux defeated or Sanatorium guards killed", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "GreasyBasil", |
|
'Text', T(409985777284, "I heard that you attacked and killed Grand Chien soldiers... I suppose you had good reason from what <em>Ms. LaFontaine</em> told me."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "WorldFlipDone" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.WorldFlipDone |
|
end, |
|
}), |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "Sanatorium", |
|
Vars = set( "HospitalGuardsKilled" ), |
|
__eval = function () |
|
local quest = gv_Quests['Sanatorium'] or QuestGetState('Sanatorium') |
|
return quest.HospitalGuardsKilled |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownFaucheux", |
|
Vars = set( "Completed" ), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownFaucheux'] or QuestGetState('05_TakeDownFaucheux') |
|
return quest.Completed |
|
end, |
|
}), |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Basil_08", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre executed", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "GreasyBasil", |
|
'Text', T(463635249418, "Good job killing that brat <em>Pierre</em>. I would have killed him myself, if I could. "), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Reaper", |
|
'Text', T(300547461263, "Although no one escapes death, his path led him to it quicker than most."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Fidel", |
|
'Text', T(492462385405, "You would like to know how to kill? Fidel is always ready to teach!"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Tex", |
|
'Text', T(247085205301, "He lived like desperado. Died like one, too."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "WorldFlipDone" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.WorldFlipDone |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set({ |
|
PierreDead = true, |
|
PierreJoined = false, |
|
PierreReturn = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return quest.PierreDead and not quest.PierreJoined and not quest.PierreReturn |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Basil_09", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Bastien killed", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "GreasyBasil", |
|
'Text', T(743256287936, "I heard that you shot <em>Bastien</em>! That was one bullet well spent."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Vicki", |
|
'Text', T(860688616470, "That guy was so greasy, he sweat motor oil!"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "PierreMerc", |
|
'Text', T(783193127002, "I should have killed him the moment I met him."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Buns", |
|
'Text', T(584666267146, "He was a disgusting toad of a man. "), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "WorldFlipDone" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.WorldFlipDone |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "JoseFamily", |
|
Vars = set( "JoseKilled" ), |
|
__eval = function () |
|
local quest = gv_Quests['JoseFamily'] or QuestGetState('JoseFamily') |
|
return quest.JoseKilled |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Basil_10", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "BillyBoy", |
|
'Text', T(113424215682, "Heeey, are you guys like those commandos from the movies? Can you blow up a car just by shooting at it? The Legion guys said that doesn't actually happen."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Raider", |
|
'Text', T(911858583381, "They have a point about that."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Grizzly", |
|
'Text', T(565212819375, "Depends on what you shoot it with."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Vicki", |
|
'Text', T(724266466214, "Depends on the car, mon."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "BillyBoy", |
|
'Text', T(855352809647, "Then they kicked my projector and laughed at me when I asked them to fix it."), |
|
}), |
|
}, |
|
Once = true, |
|
banterGroup = "billy", |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "ErnieSideQuests", |
|
Vars = { |
|
ProjectorRepaired = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['ErnieSideQuests'] or QuestGetState('ErnieSideQuests') |
|
return not quest.ProjectorRepaired |
|
end, |
|
}), |
|
PlaceObj('CombatIsActive', { |
|
Negate = true, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Billy_01_ProjectorInitial", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "BillyBoy", |
|
'Text', T(870406234636, "Uncle Basil said I should stop whining, but he won't repair my projector either."), |
|
}), |
|
}, |
|
banterGroup = "billy", |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "ErnieSideQuests", |
|
Vars = { |
|
ProjectorRepaired = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['ErnieSideQuests'] or QuestGetState('ErnieSideQuests') |
|
return not quest.ProjectorRepaired |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "ErnieSideQuests", |
|
Vars = { |
|
ProjectorFirstLine = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['ErnieSideQuests'] or QuestGetState('ErnieSideQuests') |
|
return quest.ProjectorFirstLine |
|
end, |
|
}), |
|
PlaceObj('CombatIsActive', { |
|
Negate = true, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Billy_02_ProjectorReminder", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "BillyBoy", |
|
'Text', T(672591666460, "Thanks for repairing it guys! We'll be having a movie night tonight! I'm going to figure out how they get those cars to explode!"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'Text', "", |
|
'AnyOfTheseCount', 2, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Barry", |
|
'Text', T(262073160759, "It is explosives. It is no secret."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Omryn", |
|
'Text', T(337526609547, "Will there be popcorn?"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Tex", |
|
'Text', T(394370189503, "It is movie magic! Best kind of magic."), |
|
}), |
|
}, |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
Once = true, |
|
banterGroup = "billy", |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "ErnieSideQuests", |
|
Vars = { |
|
ProjectorRepaired = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['ErnieSideQuests'] or QuestGetState('ErnieSideQuests') |
|
return quest.ProjectorRepaired |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "ErnieSideQuests", |
|
Vars = { |
|
ProjectorLastLine = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['ErnieSideQuests'] or QuestGetState('ErnieSideQuests') |
|
return not quest.ProjectorLastLine |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Billy_03_ProjectorRepaired", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "no Militia", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "BillyBoy", |
|
'Text', T(935481251415, "Teach me to shoot! Uh... I can carry your pack for you! Do you want a gummy bear?"), |
|
}), |
|
}, |
|
banterGroup = "billy", |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "FortifyErnie", |
|
Vars = { |
|
Militia_Done = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['FortifyErnie'] or QuestGetState('FortifyErnie') |
|
return not quest.Militia_Done |
|
end, |
|
}), |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "Completed" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.Completed |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "ErnieSideQuests", |
|
Vars = { |
|
ProjectorLastLine = true, |
|
ProjectorRepaired = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['ErnieSideQuests'] or QuestGetState('ErnieSideQuests') |
|
return quest.ProjectorLastLine and quest.ProjectorRepaired |
|
end, |
|
}), |
|
}, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Billy_04", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "have Militia", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "BillyBoy", |
|
'Text', T(992669308805, "Hey, look! I'm in the militia! I can kill all those Legion guys now - just like you!"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "PierreMerc", |
|
'Text', T(912416334211, "You sure you wanna be like me, boy? You might not survive it."), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "Wolf", |
|
'Text', T(210318129327, "Just remember to keep your head down, kid."), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
banterGroup = "billy", |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "FortifyErnie", |
|
Vars = { |
|
Militia_Done = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['FortifyErnie'] or QuestGetState('FortifyErnie') |
|
return quest.Militia_Done |
|
end, |
|
}), |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "Completed" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.Completed |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "ErnieSideQuests", |
|
Vars = { |
|
ProjectorLastLine = true, |
|
ProjectorRepaired = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['ErnieSideQuests'] or QuestGetState('ErnieSideQuests') |
|
return quest.ProjectorLastLine and quest.ProjectorRepaired |
|
end, |
|
}), |
|
}, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Billy_05", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "world flip", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Annotation', 'reference to the movie "They live"', |
|
'Character', "BillyBoy", |
|
'Text', T(689208232657, "Yay, the commandos return once again! They have come here to chew bubblegum and kick butt, and they're all out of bubblegum! Right? Right?..."), |
|
}), |
|
}, |
|
Once = true, |
|
banterGroup = "billy", |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "Completed" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Billy_06_approach", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "world flip, Fort not taken", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "BillyBoy", |
|
'Text', T(966695000937, "When do we attack the Fort? Are you going to kill them all with throwing knives and roundhouse kicks?"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Blood", |
|
'Text', T(291022849378, "How did you know that? Have you been watching me?"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "DrQ", |
|
'Text', T(725201681582, "I think you watch too many movies... but you are not wrong."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Igor", |
|
'Text', T(297696721772, "That is my plan, but you must never speak of it. If you are very quiet, I will make sure you get commendation."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
banterGroup = "billy", |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "WorldFlipDone" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.WorldFlipDone |
|
end, |
|
}), |
|
PlaceObj('SectorCheckOwner', { |
|
Negate = true, |
|
sector_id = "H4", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Billy_07", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "world flip, Fort taken", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "BillyBoy", |
|
'Text', T(866930957878, "That was AWESOME! I mean, when we entered the Fort and started shooting, like rat-tat-tat, brrrrt, KABLAM!!!"), |
|
}), |
|
}, |
|
Once = true, |
|
banterGroup = "billy", |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "WorldFlipDone" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.WorldFlipDone |
|
end, |
|
}), |
|
PlaceObj('SectorCheckOwner', { |
|
sector_id = "H4", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set( "PierreReturn" ), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return quest.PierreReturn |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Billy_08", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "world flip, Fort taken", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "BillyBoy", |
|
'Text', T(339720391638, "I'll ask uncle Basil to build a shooting range for bazookas at the Fort, so you can go and train there!"), |
|
}), |
|
}, |
|
banterGroup = "billy", |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "WorldFlipDone" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.WorldFlipDone |
|
end, |
|
}), |
|
PlaceObj('SectorCheckOwner', { |
|
sector_id = "H4", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Billy_09", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Fort taken", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "BillyBoy", |
|
'Text', T(969050015016, "I wish they would make a movie about you guys!"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Tex", |
|
'Text', T(644585210399, "They already have, my friend!"), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
banterGroup = "billy", |
|
conditions = { |
|
PlaceObj('SectorCheckOwner', { |
|
sector_id = "H4", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Billy_10", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre recruited >> Proud", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "PierreMerc", |
|
'Text', T(931273930341, "Hey, papa."), |
|
'Optional', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "Luc", |
|
'Text', T(268215041185, "My boy! You've... you've come back?"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "PierreMerc", |
|
'Text', T(793766810632, "No, papa. I serve the mercenaries now."), |
|
'Optional', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "Luc", |
|
'Text', T(954004885490, "But... but you don't have to. You don't have to fight anymore."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "PierreMerc", |
|
'Text', T(140169265010, "This is what you do not understand! This country is tearing itself apart. Everyone must choose a side or it will be chosen for them!"), |
|
'Optional', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "Luc", |
|
'Text', T(592960529659, "Perhaps you're right. I wish it wasn't so, but I understand. Go, then. Go and know that I love you."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "PierreMerc", |
|
'Text', T(269598308151, "I... Be well, papa."), |
|
'Optional', true, |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
Condition = "or", |
|
QuestId = "PierreDefeated", |
|
Vars = set( "PierreJoined" ), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return quest.PierreJoined |
|
end, |
|
}), |
|
PlaceObj('UnitIsAroundOtherUnit', { |
|
DisableContextModification = true, |
|
Distance = 12, |
|
SecondTargetUnit = "Luc", |
|
TargetUnit = "PierreMerc", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Luc_01_approach", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre returned >> Proud", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Luc", |
|
'Text', T(728379273460, "Thank you for saving my son, <em>Pierre</em>! He not only survived, but he also came to his senses! How can an old man ever repay you?"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Grizzly", |
|
'Text', T(745824217246, "Just keep him away from guns... and maybe teach him baseball or something."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Raider", |
|
'Text', T(659745628317, "You don't owe us a thing. Just make sure you keep your firearms safely stored in a secure location."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Livewire", |
|
'Text', T(629841003013, "Ordinarily, I prefer cash, but I also accept wire transfers, certified checks, or candy."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set({ |
|
PierreDead = false, |
|
PierreReturn = true, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return not quest.PierreDead and quest.PierreReturn |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Luc_02_approach", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre saved", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Luc", |
|
'Text', T(357272184442, "God bless you for leading my son down the path of wisdom!"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "PierreMerc", |
|
'Text', T(890810453262, "I was already on that path. I just trusted the wrong guide."), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "Pierre", |
|
'Text', T(771147829901, "I was already on that path. I just trusted the wrong guide."), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
Condition = "or", |
|
QuestId = "PierreDefeated", |
|
Vars = set( "PierreJoined", "PierreReturn" ), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return quest.PierreJoined or quest.PierreReturn |
|
end, |
|
}), |
|
PlaceObj('CheckIsPersistentUnitDead', { |
|
Negate = true, |
|
per_ses_id = "NPC_Pierre", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Luc_03", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre saved", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Luc", |
|
'Text', T(241603367592, "You have not only saved my son's life - you also saved his soul."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "PierreMerc", |
|
'Text', T(458596193794, "Papa, stop... You are embarrassing me."), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "Pierre", |
|
'Text', T(323203601034, "Papa, stop... You are embarrassing me."), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
Condition = "or", |
|
QuestId = "PierreDefeated", |
|
Vars = set( "PierreJoined", "PierreReturn" ), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return quest.PierreJoined or quest.PierreReturn |
|
end, |
|
}), |
|
PlaceObj('CheckIsPersistentUnitDead', { |
|
Negate = true, |
|
per_ses_id = "NPC_Pierre", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Luc_04", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre saved & dead", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Luc", |
|
'Text', T(848853556926, "My boy Pierre... You saved his soul, but you couldn't save his life."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
Condition = "or", |
|
QuestId = "PierreDefeated", |
|
Vars = set( "PierreJoined", "PierreReturn" ), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return quest.PierreJoined or quest.PierreReturn |
|
end, |
|
}), |
|
PlaceObj('CheckIsPersistentUnitDead', { |
|
per_ses_id = "NPC_Pierre", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Luc_05", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre saved & dead", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Luc", |
|
'Text', T(143289480321, "Tell me again how my son died. I want to hear every detail."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
Condition = "or", |
|
QuestId = "PierreDefeated", |
|
Vars = set( "PierreJoined", "PierreReturn" ), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return quest.PierreJoined or quest.PierreReturn |
|
end, |
|
}), |
|
PlaceObj('CheckIsPersistentUnitDead', { |
|
per_ses_id = "NPC_Pierre", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Luc_06", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "President saved", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Luc", |
|
'Text', T(147590506181, "Thank you for saving our president. Now there is a chance for peace in my country."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Blood", |
|
'Text', T(145324668020, "The President is a good man, but he needs to watch his back a little bit better."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Magic", |
|
'Text', T(949805007287, "I like Alphonse. He's a cool dude, but bringing peace to this place would be one hell of a magic trick."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Thor", |
|
'Text', T(581611006309, "Keep those positive thoughts flowing, my friend! Manifest your dreams! "), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownMajor", |
|
Vars = set( "PresidentLeft" ), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownMajor'] or QuestGetState('05_TakeDownMajor') |
|
return quest.PresidentLeft |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "Completed" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.Completed |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set({ |
|
PierreDead = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return not quest.PierreDead |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Luc_07", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "President dead", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Luc", |
|
'Text', T(892122242861, "Now that our president is dead, my last hope for Grand Chien remains with his daughter... and you."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('CheckIsPersistentUnitDead', { |
|
per_ses_id = "NPC_President", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "Completed" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.Completed |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set({ |
|
PierreDead = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return not quest.PierreDead |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Luc_08", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Major not defeated", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Luc", |
|
'Text', T(748916886592, "Please, hurry up and save our president. He is our last hope for a normal life."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownMajor", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownMajor'] or QuestGetState('05_TakeDownMajor') |
|
return not quest.Completed |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "Completed" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.Completed |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set({ |
|
PierreDead = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return not quest.PierreDead |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Luc_09", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre executed", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Luc", |
|
'Text', T(158405253698, "Get away from me, you heartless murderers! You have killed my only son..."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "Completed" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.Completed |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set({ |
|
PierreDead = true, |
|
PierreJoined = false, |
|
PierreReturn = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return quest.PierreDead and not quest.PierreJoined and not quest.PierreReturn |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Luc_10", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Pierre", |
|
'Text', T(616034099863, "I was a wolf before, and now I'm a shepherd's dog. "), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Annotation', "sarcastic", |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Raven", |
|
'Text', T(850348326021, "Who's a good boy? WHO'S A GOOD BOY?"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Scope", |
|
'Text', T(986748440909, "Would you like a biscuit?"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Mouse", |
|
'Text', T(807104211222, "Can I give you ear scratches? Belly rubs?"), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Pierre_01", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Pierre", |
|
'Text', T(892348669569, "To hell if they will accept me or not. It is my duty to protect them anyway."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Pierre_02", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Pierre", |
|
'Text', T(390868456523, "I hope I can meet <em>Miss LaFontaine</em> one day. She is a good person and a true patriot. I cannot shake the feeling of shame for trying to kidnap her."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Pierre_03", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Pierre", |
|
'Text', T(219421729291, "My <em>Ernie Rangers</em> are everything that the Legion was not: honest, honorable, and ready to defend their home."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Spike", |
|
'Text', T(455396333317, "Give it some time."), |
|
}), |
|
}, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "Completed" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Pierre_04", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Corazon not defeated", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Pierre", |
|
'Text', T(842777554344, "I admit I was wrong about you, but everything I said about greedy foreigners sucking the lifeblood of my country - that applies perfectly to <em>Corazon Santiago</em> and her people."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "Completed" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.Completed |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownCorazon", |
|
Vars = set({ |
|
Conv_CorazonKilled = false, |
|
Conv_CorazonLeft = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownCorazon'] or QuestGetState('05_TakeDownCorazon') |
|
return not quest.Conv_CorazonKilled and not quest.Conv_CorazonLeft |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Pierre_05", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Fort not taken - NOT USED", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Pierre", |
|
'Text', T(163925737506, "Time to put <em>Santiago</em> down. Whenever you are ready to storm the Fort, the Ernie Rangers will be there to help you."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "Completed" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.Completed |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownCorazon", |
|
Vars = set({ |
|
Conv_CorazonKilled = false, |
|
Conv_CorazonLeft = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownCorazon'] or QuestGetState('05_TakeDownCorazon') |
|
return not quest.Conv_CorazonKilled and not quest.Conv_CorazonLeft |
|
end, |
|
}), |
|
PlaceObj('SectorCheckOwner', { |
|
Negate = true, |
|
sector_id = "H4", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Pierre_06", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Corazon defeated", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Pierre", |
|
'Text', T(728030978950, "Finally, those greedy foreigners are out of my country. Now we have a chance to set things right."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "Completed" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.Completed |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
Condition = "or", |
|
QuestId = "05_TakeDownCorazon", |
|
Vars = set( "Conv_CorazonKilled", "Conv_CorazonLeft" ), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownCorazon'] or QuestGetState('05_TakeDownCorazon') |
|
return quest.Conv_CorazonKilled or quest.Conv_CorazonLeft |
|
end, |
|
}), |
|
PlaceObj('SectorCheckOwner', { |
|
sector_id = "H4", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Pierre_07", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Major not defeated", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Pierre", |
|
'Text', T(907251935610, "I cannot stand to see the Legion still prospering. It was created to protect my country, not to rob it. You must find <em>Le Major</em> and end his perversion of patriotism."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
Condition = "or", |
|
QuestId = "05_TakeDownMajor", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownMajor'] or QuestGetState('05_TakeDownMajor') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Pierre_08", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Major in jail", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Pierre", |
|
'Text', T(365312442304, "<em>Le Major</em> was a great man once, even in his madness. In spite of everything he has done to me and my country, he doesn't deserve to rot in jail. What he deserves is an honest bullet to the brain."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Raider", |
|
'Text', T(151324750875, "Everyone gets their day in court regardless of whether they deserve it or not."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Ice", |
|
'Text', T(899831819980, "Can't do the time, don't do the crime."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Wolf", |
|
'Text', T(883276938254, "He'll probably get that anyway, but first the people of Grand Chien will get to hear his side of the story."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
Condition = "or", |
|
QuestId = "05_TakeDownMajor", |
|
Vars = set( "MajorJail" ), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownMajor'] or QuestGetState('05_TakeDownMajor') |
|
return quest.MajorJail |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Pierre_09", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Major executed", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Pierre", |
|
'Text', T(423901429221, "The <em>Major</em> was a great man once, even in his madness. You did the right thing to grant him a soldier's death. He deserves no less."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
Condition = "or", |
|
QuestId = "05_TakeDownMajor", |
|
Vars = set( "MajorDead" ), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownMajor'] or QuestGetState('05_TakeDownMajor') |
|
return quest.MajorDead |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Pierre_10", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Major recruited", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Pierre", |
|
'Text', T(478508098887, "I don't know if I can trust you, <em>Major</em>. I cannot shake the feeling that you are a wolf in sheep's clothing."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "Spike", |
|
'Text', T(915557129336, "You don't have to trust me, kid. But I'm not the Major anymore. Now I am just Spike, and that's that."), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "Pierre", |
|
'Text', T(310926693584, "Only time will tell, Major. But you have no place in Grand Chien anymore. You should finish your mission and leave for good."), |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "Spike", |
|
'Text', T(490917415827, "I'll keep that in mind."), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('UnitIsAroundOtherUnit', { |
|
Distance = 10, |
|
SecondTargetUnit = "Pierre", |
|
TargetUnit = "Spike", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_Pierre_11", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(230226567601, "First they kidnap the <em>President</em> and then they come for his daughter! Monsters!"), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownMajor", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownMajor'] or QuestGetState('05_TakeDownMajor') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_01", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(413736186161, "If you're looking for someone in charge, go talk to <em>Basil</em>."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_02", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(286698337754, "Welcome to <em>Ernie</em>. There's usually less blood and screaming, but you caught us at a bad time."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_03", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(530076272038, "<em>Tinhay</em> was a good man. Dumb as a box of rocks, but a good man.\n"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_04", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(724321524868, "They should hang Luc's son, not <em>Luc</em> himself. Cowards. The Legion doesn't have to kill us, we do it ourselves!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_05_lynch", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(799473602283, "<em>Luc</em> betrayed his friend <em>Tinhay</em> and the marauders killed him! And you know who leads them? <em>Pierre</em>, Luc's son!"), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_06_lynch", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(441091374946, "<em>Luc</em> deserves what he gets! He has put us all in danger."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_07_lynch", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Herman hanged", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(253053118244, "<em>Herman</em> got what he deserved, the weasel! Poor <em>Martha</em> though."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangHerman = true, |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangHerman and not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_08_post-lynch_01", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Luc hanged", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(384697507260, "I can't even look at him, hanging like that. Poor <em>Luc</em>. I'm sure he was guilty, but... I think what we did is a terrible sin."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangLuc = true, |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangLuc and not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_08_post-lynch_02", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "None hanged", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(998317279450, "I can't stand the sight of that stupid gallows now. I can't wait until it gets taken down. It reminds us just how foolish we all were."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangNoOne = true, |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangNoOne and not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_08_post-lynch_03", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre recruited", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(970709037650, "Oh, <em>Pierre</em>! I am so happy you have found the right path! I was praying for you every day!"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "PierreMerc", |
|
'Text', T(684189484022, "Um... Thanks, auntie Michelle. I'm sure that did the trick."), |
|
'Optional', true, |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('UnitSquadHasMerc', { |
|
Name = "PierreMerc", |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_09", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre recruited", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(493405853322, "You should be ashamed of yourself! You make your poor father sad!"), |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "PierreMerc", |
|
'Text', T(461164992788, "Has he ever not been sad, Mrs. Dubois? Come now, look to your chickens and quit pecking at me."), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('UnitSquadHasMerc', { |
|
Name = "PierreMerc", |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_10", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre recruited", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(256832158345, "<em>Pierre</em>, you need to make amends with the dead. Put some flowers on the grave of poor <em>Tinhay</em>!"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "PierreMerc", |
|
'Text', T(172181739093, "But I... Yes, auntie Liz. Of course, you're right."), |
|
'Optional', true, |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('UnitSquadHasMerc', { |
|
Name = "PierreMerc", |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_11", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Fort not taken", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(895051116559, "I'm afraid to leave the village. Those bandits at the <em>Fort</em> may kill me, or worse!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('SectorCheckOwner', { |
|
Negate = true, |
|
sector_id = "H4", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return not quest.Completed |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_12", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Fort not taken, world flip", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(144948164886, "Please take the old <em>Fort</em> from those foreigners! I know they are conducting secret biological experiments there. They want to develop a deadly virus that makes people go crazy!"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "MD", |
|
'Text', T(543581619865, "That can't be true... Can it?"), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('SectorCheckOwner', { |
|
Negate = true, |
|
sector_id = "H4", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "Completed" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_13", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Fort taken", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(827070197838, "I know that you captured the old Fort just to conduct secret biological experiments there. Shame on you."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('SectorCheckOwner', { |
|
sector_id = "H4", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_14", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre returned", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(821525860833, "I am sure that <em>Pierre</em> has returned only to spy on us for the Legion! Yesterday I noticed he was looking at me while I was doing laundry."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Scope", |
|
'Text', T(945542529533, "Next time you catch him looking, you should invite him over for a cup of tea, love."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set({ |
|
PierreDead = false, |
|
PierreReturn = true, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return not quest.PierreDead and quest.PierreReturn |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_15", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre returned", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(570667939132, "I feel safer now that I know <em>Pierre</em> is on our side. He is very brave."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set({ |
|
PierreDead = false, |
|
PierreReturn = true, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return not quest.PierreDead and quest.PierreReturn |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_16", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre executed", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(990249531301, "You did a good thing shooting that traitor <em>Pierre</em>. His poor father though..."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set({ |
|
PierreDead = true, |
|
PierreJoined = false, |
|
PierreReturn = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return quest.PierreDead and not quest.PierreJoined and not quest.PierreReturn |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_17", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Martha and Herman helped", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(755451110527, "I heard that you paid <em>Martha</em> and <em>Herman</em> for betraying us. Why would you do that?!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RefugeeBlues", |
|
Vars = set( "MarthaHermanMoney" ), |
|
__eval = function () |
|
local quest = gv_Quests['RefugeeBlues'] or QuestGetState('RefugeeBlues') |
|
return quest.MarthaHermanMoney |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_18", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = ">> Proud", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(329941511404, "See, I knitted a pair of nice socks for each one of you. I hope I got the initials right."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Mouse", |
|
'Text', T(760769339271, "Awww, mine have a cute little mouse embroidered on them!"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Kalyna", |
|
'Text', T(977107885859, "I love the vyshyvanka! You got the pattern just right."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Red", |
|
'Text', T(929836038718, "Oh, but this is surely the finest gift a Scotsman can receive... Eh, I dunnae suppose ye can knit a kilt?"), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('CityHasLoyalty', { |
|
Amount = 50, |
|
City = "ErnieVillage", |
|
Condition = ">=", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangNoOne = true, |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangNoOne and not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerFemale_19_Loyalty", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(413315980378, "<em>Tinhay</em> was a fool! You can't scare away these Legion types. You have to shoot to kill!"), |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "Wolf", |
|
'Text', T(706500123757, "You wouldn't be interested in joining the militia, would you?"), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_01", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(768609827670, "Welcome to <em>Ernie</em>! Come for the beaches, stay for the gun fights!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_02", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(294960182194, "I always knew <em>Pierre</em> was trouble, but I never guessed he'd turn on his own people!"), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return not quest.Completed |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_03", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(124603324989, "That weasel <em>Herman</em> served beer to the Legion, like they were old pals."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
HermanRescued = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive and not quest.HermanRescued |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_04", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(270674515672, "I heard there's some good scrap you can find out in the <em>Rust</em>."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "Vicki", |
|
'Text', T(630893818309, "Sounds like I might be needing to spend some extra time there."), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('SectorCheckOwner', { |
|
Negate = true, |
|
sector_id = "H3", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set({ |
|
WorldFlipDone = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return not quest.WorldFlipDone |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_05", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(532661393934, "I'd say <em>Luc</em> is the best man I have ever known. Damn his wretched son!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_06_lynch", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(428795560879, "<em>Basil</em>, <em>Luc</em> and <em>Tinhay</em> - these three, they built this place. And look what has become of them. One is about to execute the other for betraying the third. These are sad times indeed."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_07_lynch", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(718245485215, "I dunno what to think. <em>Luc</em> loves this son of his, but... I never thought he'd go that far."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_08_lynch", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(833164224595, "If <em>Luc</em> had beaten his son more when he was small, it would have never come to this!"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Meltdown", |
|
'Text', T(820948744368, "You're damn right! If he had, that boy would have killed him and dumped his body in a swamp long ago."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Nails", |
|
'Text', T(857306331549, "No, it would have been worse... much worse."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_09_lynch", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Luc or Herman hanged", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(640021205288, "At last, we can get back to living our lives in peace!"), |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangHerman = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangHerman |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangLuc = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangLuc |
|
end, |
|
}), |
|
}, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_10_post-lynch", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Luc or Herman hanged", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(380481410795, "Well, it looks like things can get back to normal, for whatever that's worth."), |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangHerman = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangHerman |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangLuc = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangLuc |
|
end, |
|
}), |
|
}, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_11_post-lynch", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "None hanged", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(749952428677, "We should have used that gallows. Seems a shame to waste it. Besides, traitors deserve to die!"), |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangNoOne = true, |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangNoOne and not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_12_post-lynch", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre recruited", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(572146945803, "Is this <em>Pierre</em>? Hard to recognize him when he's not threatening or intimidating someone."), |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "PierreMerc", |
|
'Text', T(554530371281, "Get out of my way, old fool."), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('UnitSquadHasMerc', { |
|
Name = "PierreMerc", |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_14", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre recruited", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(601481449033, "Hey, <em>Pierre</em>! It is good to see you have left the Legion! They were nothing but trouble."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "PierreMerc", |
|
'Text', T(644254049880, "Yes. It's true, but perhaps I have only found a different kind of trouble, eh?"), |
|
'Optional', true, |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('UnitSquadHasMerc', { |
|
Name = "PierreMerc", |
|
}), |
|
PlaceObj('SectorCheckCity', {}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_15", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Fort not taken", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(786532582794, "Yesterday I was fishing near the old <em>Fort</em> and those bastards up there started shooting at my boat! I heard them laughing while I was rowing to get away."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Scully", |
|
'Text', T(473513140256, "Don't worry, mate. There's plenty of fish in the sea. Trust me."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('SectorCheckOwner', { |
|
Negate = true, |
|
sector_id = "H4", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_17", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Fort taken", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(125772780842, "You won't let those bandits take the <em>Fort</em> back, right? That place has the best fishing spots!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('SectorCheckOwner', { |
|
sector_id = "H4", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_18", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Fort taken, world flip", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(604838824711, "Is it true that they were building a secret weather control device at the old <em>Fort</em>?"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Sidney", |
|
'Text', T(227014618373, "My good man... What the devil are you talking about?"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Ivan", |
|
'Text', T(650594671395, "Is not for you to know. Кыш!"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Shadow", |
|
'Text', T(347219299427, "I can neither confirm nor deny the existence of a secret weather control device."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(205854929753, "You can deny it as much as you want. I know the New World Order made you sign a contract to never tell anyone."), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('SectorCheckOwner', { |
|
sector_id = "H4", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "Completed" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_19", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre returned", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(757606933928, "I don't trust <em>Pierre</em>. After all that he has done, he thinks he can be one of us? He should think again."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set({ |
|
PierreDead = false, |
|
PierreReturn = true, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return not quest.PierreDead and quest.PierreReturn |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_20", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre returned", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Annotation', "GoT reference", |
|
'Character', "CivilianMale_2", |
|
'Text', T(441624740379, "It's a good thing that <em>Pierre</em> has returned. He has so many stories to tell! And after all, who has a better story than Pierre the Prisoner?"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set({ |
|
PierreDead = false, |
|
PierreReturn = true, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return not quest.PierreDead and quest.PierreReturn |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_21", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre executed", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(935103695786, "Good job shooting that traitor <em>Pierre</em>! My only regret is that his father wasn't there to see what happened to his spoiled son."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Ice", |
|
'Text', T(356940588639, "Damn! That's cold, dude."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set({ |
|
PierreDead = true, |
|
PierreJoined = false, |
|
PierreReturn = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return quest.PierreDead and not quest.PierreJoined and not quest.PierreReturn |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_22", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Pierre executed", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(319143834345, "I know that your REAL mission was to shoot <em>Pierre</em>, because he learned something he shouldn't know! I'm not asking questions."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set({ |
|
PierreDead = true, |
|
PierreJoined = false, |
|
PierreReturn = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return quest.PierreDead and not quest.PierreJoined and not quest.PierreReturn |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_23", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "Martha and Herman hired", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(406090616067, "I heard that <em>Martha</em> and <em>Herman</em> are working for you! I knew it. They were your undercover agents all along!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RefugeeBlues", |
|
Vars = set( "MarthaHermanJob" ), |
|
__eval = function () |
|
local quest = gv_Quests['RefugeeBlues'] or QuestGetState('RefugeeBlues') |
|
return quest.MarthaHermanJob |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_24", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = ">> Loot", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(987697313485, "I just found these... uh... on the dead body of some Legion guy. Er, you must have forgotten to loot him or something. My wife told me... I mean, I thought you could make use of them."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Tex", |
|
'Text', T(490010566262, "Thanks, partner! Happy trails to you."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Raven", |
|
'Text', T(477248504234, "Well, your wife is a good influence on you. Repeat that to yourself as often as necessary."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Fidel", |
|
'Text', T(175677171276, "But you keep body for yourself? That is okay. Fidel understand."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('SectorCheckCity', {}), |
|
PlaceObj('CityHasLoyalty', { |
|
Amount = 60, |
|
City = "ErnieVillage", |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Ernie_VillagerMale_25_Loyalty", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "AdonisMale_1", |
|
'Text', T(225115215255, "Are you <em>Ms. LaFontaine's mercs</em>? Go on inside - they are expecting you."), |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownCorazon", |
|
Vars = set({ |
|
CorazonLeave = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownCorazon'] or QuestGetState('05_TakeDownCorazon') |
|
return not quest.CorazonLeave |
|
end, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "FlagHill_Goon_Male_00_InitialApproach", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "AdonisMale_1", |
|
'Text', T(364764934620, "Go on in. The door is open."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownCorazon", |
|
Vars = set({ |
|
CorazonLeave = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownCorazon'] or QuestGetState('05_TakeDownCorazon') |
|
return not quest.CorazonLeave |
|
end, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "FlagHill_Goon_Male_01", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "AdonisMale_1", |
|
'Text', T(203513938664, "We took care of some of those <em>Legion</em> guys for you. You're welcome."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownCorazon", |
|
Vars = set({ |
|
CorazonLeave = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownCorazon'] or QuestGetState('05_TakeDownCorazon') |
|
return not quest.CorazonLeave |
|
end, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "FlagHill_Goon_Male_02", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "AdonisMale_1", |
|
'Text', T(916741437474, "I thought about joining A.I.M., but <em>Adonis</em> has better health benefits and a retirement plan."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownCorazon", |
|
Vars = set({ |
|
CorazonLeave = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownCorazon'] or QuestGetState('05_TakeDownCorazon') |
|
return not quest.CorazonLeave |
|
end, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "FlagHill_Goon_Male_03", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "AdonisMale_1", |
|
'Text', T(318235179999, "Hey, if any of those big bad <em>Legion</em> guys scare you, just come running back here and we'll take care of them for you, all right?"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownCorazon", |
|
Vars = set({ |
|
CorazonLeave = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownCorazon'] or QuestGetState('05_TakeDownCorazon') |
|
return not quest.CorazonLeave |
|
end, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "FlagHill_Goon_Male_04", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "when Corazon left", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "AdonisMale_1", |
|
'Text', T(258989164375, "Miss <em>Santiago</em> is away. You have no business here."), |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownCorazon", |
|
Vars = set( "CorazonLeave" ), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownCorazon'] or QuestGetState('05_TakeDownCorazon') |
|
return quest.CorazonLeave |
|
end, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "FlagHill_Goon_Male_05_LeaveApproach", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "when Corazon left", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "AdonisMale_1", |
|
'Text', T(667435688745, "I don't know anything. It's not my job to ask questions."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "Wolf", |
|
'Text', T(956396713759, "Disinterested and incurious are not exactly great qualities in a security guard."), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownCorazon", |
|
Vars = set( "CorazonLeave" ), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownCorazon'] or QuestGetState('05_TakeDownCorazon') |
|
return quest.CorazonLeave |
|
end, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "FlagHill_Goon_Male_06", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "when Corazon left", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "AdonisMale_1", |
|
'Text', T(724144526484, "Miss <em>Santiago</em> is probably on the mainland. Aren't you supposed to be there as well?"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "DrQ", |
|
'Text', T(436454160108, "I am only ever supposed to be precisely where I am."), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownCorazon", |
|
Vars = set( "CorazonLeave" ), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownCorazon'] or QuestGetState('05_TakeDownCorazon') |
|
return quest.CorazonLeave |
|
end, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "FlagHill_Goon_Male_07", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "when Corazon left", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "AdonisMale_1", |
|
'Text', T(394642567997, "Go save the president of the Big Dog or whatever. We've got a real job to do."), |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownCorazon", |
|
Vars = set( "CorazonLeave" ), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownCorazon'] or QuestGetState('05_TakeDownCorazon') |
|
return quest.CorazonLeave |
|
end, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "FlagHill_Goon_Male_08", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "when Corazon left", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "AdonisMale_1", |
|
'Text', T(704335853175, "Go play mercenaries while you still can."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "Tex", |
|
'Text', T(108913184900, "Mercenary is my role! Your role is Male Goon #2. You very good at it!"), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownCorazon", |
|
Vars = set( "CorazonLeave" ), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownCorazon'] or QuestGetState('05_TakeDownCorazon') |
|
return quest.CorazonLeave |
|
end, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "FlagHill_Goon_Male_09", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Annotation', "(whispering)", |
|
'Character', "Herman", |
|
'Text', T(358005945497, "Please, don't tell them! I'm begging you!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"H2", |
|
}, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "Herman_03_Lynch", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Hanging_Herman", |
|
'Text', T(690319261962, "I appreciate you keeping your mouth shut. Here, have these for saving me. I just kept a few odds and ends so Martha and I can get out of here as quick as possible. I'm sure you understand. "), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangLuc = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangLuc |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "TakeTheFortress", |
|
Vars = { |
|
PierreJoined = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['TakeTheFortress'] or QuestGetState('TakeTheFortress') |
|
return not quest.PierreJoined |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"H2", |
|
}, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "Herman_04_PostLynch_Luc", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Hanging_Herman", |
|
'Text', T(841055887276, "Well, I learned my lesson! Don't trust marauders. Here, have these for saving me. I just kept a few odds and ends so Martha and I can get out of here as quick as possible."), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('CheckAND', { |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangNoOne = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangNoOne |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "TakeTheFortress", |
|
Vars = { |
|
PierreJoined = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['TakeTheFortress'] or QuestGetState('TakeTheFortress') |
|
return not quest.PierreJoined |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"H2", |
|
}, |
|
}), |
|
}, |
|
}), |
|
PlaceObj('CheckAND', { |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = set( "HermanRescued" ), |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HermanRescued |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PierreDefeated", |
|
Vars = set( "PierreJoined" ), |
|
__eval = function () |
|
local quest = gv_Quests['PierreDefeated'] or QuestGetState('PierreDefeated') |
|
return quest.PierreJoined |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"H2", |
|
}, |
|
}), |
|
}, |
|
}), |
|
PlaceObj('CheckAND', { |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = set( "HermanRescued" ), |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HermanRescued |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set( "WorldFlipDone" ), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return quest.WorldFlipDone |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"H2", |
|
}, |
|
}), |
|
}, |
|
}), |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Ernie", |
|
id = "Herman_04_PostLynch_NoOne", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Martha", |
|
'Text', T(558745820525, "Thank you for pulling my Herman from that Deedee's filthy paws."), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
MarthaDeedee = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.MarthaDeedee |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"H2", |
|
}, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "Martha_01_Lynch", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Martha", |
|
'Text', T(790945781681, "Herman told me how he helped you deal with those Legion thugs!\n\nI pretended that I believed him."), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
MarthaDeedee = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.MarthaDeedee |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"H2", |
|
}, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "Martha_01_Lynch2", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Martha", |
|
'Text', T(347177621288, 'I told him. I said, "Herman! You stay away from that Deedee or it\'ll be the death of you!" Well, I was right.'), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangHerman = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangHerman |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"H2", |
|
}, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "Martha_02_PostLynch_Herman", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Martha", |
|
'Text', T(511249329533, "Well, I guess he got what he deserved! I'm taking my Herman away from this wretched island!"), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangLuc = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangLuc |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"H2", |
|
}, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "Martha_02_PostLynch_Luc", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Martha", |
|
'Text', T(729791364200, "If anyone is going to hang my Herman, it would be me."), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangingActive = false, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return not quest.HangingActive |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueHerMan", |
|
Vars = { |
|
HangNoOne = true, |
|
}, |
|
__eval = function () |
|
local quest = gv_Quests['RescueHerMan'] or QuestGetState('RescueHerMan') |
|
return quest.HangNoOne |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"H2", |
|
}, |
|
}), |
|
}, |
|
group = "Banters_Local_Ernie", |
|
id = "Martha_02_PostLynch_NoOne", |
|
}) |
|
|
|
|