|
|
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - not met Graaf >> give DiamondRed", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(962761501350, "Don't go to <em>Diamond Red</em>. I know for sure that the foreman of that mine is a vampire who bathes in the blood of his slaves!"), |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Kalyna", |
|
'Text', T(606491278636, "Vampire?! Oh, my. Let me see... we'll need garlic, holy water, and wooden stakes. "), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Nails", |
|
'Text', T(239051339192, "We gotta fight a goth kid to get that mine? I'm alright with that."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "DiamondRed", |
|
Vars = set({ |
|
Completed = false, |
|
GraafDead = false, |
|
GraafForeman = false, |
|
GraafLeave = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['DiamondRed'] or QuestGetState('DiamondRed') |
|
return not quest.Completed and not quest.GraafDead and not quest.GraafForeman and not quest.GraafLeave |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "04_Betrayal", |
|
Vars = set({ |
|
TriggerWorldFlip = false, |
|
WorldFlipDone = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return not quest.TriggerWorldFlip and not quest.WorldFlipDone |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Negate = true, |
|
Sectors = { |
|
"A2", |
|
}, |
|
}), |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('CheckGameState', { |
|
GameState = "Sunset", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Night", |
|
}), |
|
}, |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 4, |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_01", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - have Flay", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(590171507187, "Oh no! You have a demon with you, the one who hunts people and nails horns on their heads! Made a deal with the devil, have you?!"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "Flay", |
|
'Text', T(250497059357, "Yes, I made them sign a contract in blood. If you are not busy, we need a little more ink."), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Fidel", |
|
'Text', T(466596707660, "Hehehe... I love this guy! He is very fun guy to have around! I like him."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Fauda", |
|
'Text', T(345599372612, "Do not tease the poor woman. You are a servant of Shaitan who now serves us... until I change my mind."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('UnitSquadHasMerc', { |
|
Name = "Flay", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_02", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - launched M.E.R.C. boat", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemaleFlirty", |
|
'Text', T(533478469541, "Do you know <em>Captain Pierrot</em>? If you see him, please tell him that Megan is missing him and wants her skirt back!"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Fox", |
|
'Text', T(946914483632, "Oh, honey, trust me - you're never seeing that skirt again."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Barry", |
|
'Text', T(549364431268, "I do not mean to judge, but I do not think it was right for the Captain to take skirt. He does not have good legs for skirt."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueBiff", |
|
Vars = set( "BoatLaunched" ), |
|
__eval = function () |
|
local quest = gv_Quests['RescueBiff'] or QuestGetState('RescueBiff') |
|
return quest.BoatLaunched |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_03", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - launched M.E.R.C. boat", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(312054885413, "If you ever see <em>Captain Pierrot</em>, please tell him that Avril wishes he would rot in hell! Or at least that one part of him would rot."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueBiff", |
|
Vars = set( "BoatLaunched" ), |
|
__eval = function () |
|
local quest = gv_Quests['RescueBiff'] or QuestGetState('RescueBiff') |
|
return quest.BoatLaunched |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_04", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - launched M.E.R.C. boat", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(508017823789, "Have you met <em>Captain Pierrot</em>? Do you know where he is? I need to warn mon petit perroquet that my husband wants to kill him!"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Meltdown", |
|
'Text', T(575650810360, "Tell your husband that I already chopped off your perroquet's pecker. That ought to calm him down."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueBiff", |
|
Vars = set( "BoatLaunched" ), |
|
__eval = function () |
|
local quest = gv_Quests['RescueBiff'] or QuestGetState('RescueBiff') |
|
return quest.BoatLaunched |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_05", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - Maquis are allies", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(334112203680, "You are with the Maquis, right? Do you think they would take me, make me a freedom fighter? I don't want to spend my life doing laundry."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Buns", |
|
'Text', T(278961588085, "There is little in life that is more enjoyable than properly cleaning, drying, and folding laundry."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Fauda", |
|
'Text', T(120103921618, "If you are a fighter, you will fight. If you are a launderer, you will launder. It is pointless to ask permission."), |
|
}), |
|
}, |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PantagruelRebels", |
|
Vars = set( "MaquieAllies" ), |
|
__eval = function () |
|
local quest = gv_Quests['PantagruelRebels'] or QuestGetState('PantagruelRebels') |
|
return quest.MaquieAllies |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_06", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - Young Hearts", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(789731230716, "You brought together the Savannah Lion and Maman Liliane! How romantic... My own husband does not roar like a lion, he just belches like a pig."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PantagruelDramas", |
|
Vars = set( "YoungHearts" ), |
|
__eval = function () |
|
local quest = gv_Quests['PantagruelDramas'] or QuestGetState('PantagruelDramas') |
|
return quest.YoungHearts |
|
end, |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Sunset", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_07", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - world flip or killed civilians", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(610743205933, "Stay away from me, you murderers!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CheckOR', { |
|
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('CiviliansKilled', { |
|
Amount = 5, |
|
}), |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_08", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - killed civilians >> Guilty", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(360379602709, "You... You murderers!... Why did you kill my friends? What did they ever do to you?!"), |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Nails", |
|
'Text', T(416533358094, "They got in our way."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Meltdown", |
|
'Text', T(187442033423, "I gotta explain every goddamn thing I do?!"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Reaper", |
|
'Text', T(250171248962, "Do not ask why death comes. It will come when it wishes, and no earthly logic will keep it away."), |
|
}), |
|
}, |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CiviliansKilled', { |
|
Amount = 7, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_09", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - President saved", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(385954343249, "The TV said that our <em>President</em> was saved! I believe he will put everything back in order, and murderers like you will be punished!"), |
|
}), |
|
}, |
|
conditions = { |
|
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('CiviliansKilled', { |
|
Amount = 3, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_10", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - Major defeated >> Proud (once)", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(141092326436, "The TV said that horrible monster, <em>The Major</em>, got what he deserved! Finally!"), |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Spike", |
|
'Text', T(975055351435, "I like to think he deserved even more than that."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "PierreMerc", |
|
'Text', T(883070377595, "He no longer tortures this country. That is all that matters."), |
|
}), |
|
}, |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownMajor", |
|
Vars = set( "Completed" ), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownMajor'] or QuestGetState('05_TakeDownMajor') |
|
return quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_11", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - >> give quest Prison (Luigi)", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(442496242801, "I will never see my husband again... He took a loan from <em>Jackhammer</em>. We missed one payment and they dragged him to the <em>Good Place</em>! This is wrong!"), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "Luigi", |
|
Vars = set({ |
|
JackhammerDead = false, |
|
JackhammerExecution = false, |
|
JackhammerPrisoner = false, |
|
JackhammerRelease = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['Luigi'] or QuestGetState('Luigi') |
|
return not quest.JackhammerDead and not quest.JackhammerExecution and not quest.JackhammerPrisoner and not quest.JackhammerRelease |
|
end, |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Day", |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 15, |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_12", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - Sanatorium given", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Annotation', "Clueless Padme meme reference", |
|
'Character', "CivilianFemale_1", |
|
'Text', T(676217744648, "I heard a silly rumor about <em>les Cadavérés</em> in the jungle. Haha, les Cadavérés do not exist, right?\n...They do not exist, right?"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Blood", |
|
'Text', T(646439095229, "Best to stick a knife into any corpse you find, just to be sure."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "MD", |
|
'Text', T(304997740688, "Who did you talk to? Were they sweating? Fevered? Would you be willing to give a blood sample?"), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CheckGameState', { |
|
GameState = "Night", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "Sanatorium", |
|
Vars = set({ |
|
Completed = false, |
|
Failed = false, |
|
Given = true, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['Sanatorium'] or QuestGetState('Sanatorium') |
|
return not quest.Completed and not quest.Failed and quest.Given |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Negate = true, |
|
Sectors = { |
|
"H12", |
|
}, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Negate = true, |
|
Sectors = { |
|
"I19", |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_13", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(412296870012, "I never liked <em>Alphonse LaFontaine</em>. He just wants to take money from my pocket and look good doing it. Not MY president."), |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_14", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal >> give lead to Elliot", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(746395745965, "You mean to kill the <em>Major</em>, right? I know from a very reliable source that he is hiding in <em>Camp du Crocodile</em> deep in the swamps! Don't tell anyone I told you that."), |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Annotation', "sarcastic; Catch 22 reference", |
|
'Character', "Spike", |
|
'Text', T(822221076156, "Ahahaha... that is THE Major, alright! He is a MAJOR Major!"), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownMajor", |
|
Vars = set({ |
|
MajorDead = false, |
|
MajorJail = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownMajor'] or QuestGetState('05_TakeDownMajor') |
|
return not quest.MajorDead and not quest.MajorJail |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "Elliot", |
|
Vars = set({ |
|
Completed = false, |
|
Failed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['Elliot'] or QuestGetState('Elliot') |
|
return not quest.Completed and not quest.Failed |
|
end, |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Day", |
|
}), |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('CheckGameState', { |
|
GameState = "Jungle", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Farmlands", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Marshlands", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Coastal", |
|
}), |
|
}, |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 7, |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_16", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal >> give quest RescueBiff", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(976064998950, "You are here to save those ridiculous <em>M.E.R.C.</em> commandos, right? Don't deny it, everyone knows it."), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueBiff", |
|
Vars = set({ |
|
Completed = false, |
|
Failed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['RescueBiff'] or QuestGetState('RescueBiff') |
|
return not quest.Completed and not quest.Failed |
|
end, |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 4, |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_17", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - green diamond", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(948400892334, "I have heard your friends stole a <em>green diamond</em> the size of an ostrich egg! You foreigners have no right to it. It belongs to Grand Chien!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueBiff", |
|
Vars = set({ |
|
Completed = false, |
|
MERC_Diamond = true, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['RescueBiff'] or QuestGetState('RescueBiff') |
|
return not quest.Completed and quest.MERC_Diamond |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_18", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - give quest Hermit", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(668526419450, "There is a <em>Hermit</em> in the jungle who teaches how to live a more fulfilling and happy life! I stopped visiting him when I learned the old bastard is life-coaching the <em>Legion</em> as well."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "Hermit", |
|
Vars = set({ |
|
Completed = false, |
|
Failed = false, |
|
HermitName = false, |
|
HermitReunion = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['Hermit'] or QuestGetState('Hermit') |
|
return not quest.Completed and not quest.Failed and not quest.HermitName and not quest.HermitReunion |
|
end, |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Day", |
|
}), |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('CheckGameState', { |
|
GameState = "Jungle", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Farmlands", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Marshlands", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Coastal", |
|
}), |
|
}, |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 8, |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_19", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - give quest Twin Manors", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(247592533014, "My father wants me to marry one of those creepy <em>Van Tassels</em> at the <em>Twin Manors</em>, but I would rather run away than settle in that cursed place! I have no wish to be murdered by vengeful spirits, thank you very much!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "TwinManors", |
|
Vars = set({ |
|
Completed = false, |
|
Failed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['TwinManors'] or QuestGetState('TwinManors') |
|
return not quest.Completed and not quest.Failed |
|
end, |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Night", |
|
}), |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('CheckGameState', { |
|
GameState = "Jungle", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Farmlands", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Marshlands", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Coastal", |
|
}), |
|
}, |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 9, |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_20", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - give quest Beast", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(789126430667, "Those Legion bandits may be dangerous, but at least they are flesh and blood. Out there in the <em>Cursed Forest</em> lurks a <em>Beast</em> that eats your soul and turns your bones into an effigy of pure evil!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "Beast", |
|
Vars = set({ |
|
Completed = false, |
|
Failed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['Beast'] or QuestGetState('Beast') |
|
return not quest.Completed and not quest.Failed |
|
end, |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "CursedForest", |
|
Negate = true, |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Savanna", |
|
Negate = true, |
|
}), |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('CheckGameState', { |
|
GameState = "Sunset", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Night", |
|
}), |
|
}, |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 10, |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_21", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - Abusers quest done", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(318890279713, "I heard you killed those men who were abusing the girls from the <em>Lys Rouge</em>. It's nice to know someone is looking out for those ladies - their work is dangerous enough as it is!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableNum', { |
|
Amount = 3, |
|
Prop = "BrothelAbusersKilled", |
|
QuestId = "NeverHitAGirl", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_22", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - give quest Middle of X-Where", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(507624260206, "You think you're rich, but you are nothing compared to old farmer <em>Baggz</em>! He owns all those <em>Middle of Wherever</em> farms, among other things. I'm sure he buried his money on one of them."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "MiddleOfXWhere", |
|
Vars = set({ |
|
Completed = false, |
|
Failed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['MiddleOfXWhere'] or QuestGetState('MiddleOfXWhere') |
|
return not quest.Completed and not quest.Failed |
|
end, |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 1, |
|
Condition = ">=", |
|
POIs = "Mine", |
|
}), |
|
PlaceObj('PlayerHasMoney', { |
|
Amount = 30000, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_23", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - give quest Landsbach", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(868902338950, "I've heard they have a lot of <em>\"Diesel\"</em> in <em>Landsbach</em>, but it is not the normal kind."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "Landsbach", |
|
Vars = set({ |
|
Completed = false, |
|
Failed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['Landsbach'] or QuestGetState('Landsbach') |
|
return not quest.Completed and not quest.Failed |
|
end, |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 11, |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_24", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - give quest Grimer Hamlet", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(994697240393, "I hope the army intervenes and stops those Big Pharma experiments in our country! We don't want a zombie outbreak in our town like in the <em>Grimer Hamlet</em>."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "GrimerHamlet", |
|
Vars = set({ |
|
Completed = false, |
|
Failed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['GrimerHamlet'] or QuestGetState('GrimerHamlet') |
|
return not quest.Completed and not quest.Failed |
|
end, |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 14, |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_25", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = 'universal - fought "cadaveres" at the Grimer Hamlet or Sanatorium', |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(449707206784, "I heard you've been fighting les cadavérés... Get away from me! If you bite me, I will scream!"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Hitman", |
|
'Text', T(266318644336, "I only bite women who ask me to."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Mouse", |
|
'Text', T(897348348071, "Well, how else are we supposed to eat your braiiiiiiiins? Hehehe... Sorry, I guess that's not funny."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
Condition = "or", |
|
QuestId = "GrimerHamlet", |
|
Vars = set( "TCE_InfectedKilled", "TCE_LoversKilled" ), |
|
__eval = function () |
|
local quest = gv_Quests['GrimerHamlet'] or QuestGetState('GrimerHamlet') |
|
return quest.TCE_InfectedKilled or quest.TCE_LoversKilled |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "Sanatorium", |
|
Vars = set( "ClinicCombat" ), |
|
__eval = function () |
|
local quest = gv_Quests['Sanatorium'] or QuestGetState('Sanatorium') |
|
return quest.ClinicCombat |
|
end, |
|
}), |
|
}, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Negate = true, |
|
Sectors = { |
|
"I19", |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_26", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - give quest Ted", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(543407097553, "Whatever you do, stay away from those murderous <em>teddy bears</em>. They come alive at night and kill people!"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Larry", |
|
'Text', T(669729078710, "I knew it! They're out of control!... Ted, we have to find them and talk some sense into them."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Larry_Clean", |
|
'Text', T(335348090052, "Oh, I've been where you are right now. It's just a bad trip. Drink some water and think happy thoughts."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "Ted", |
|
Vars = set({ |
|
Completed = false, |
|
Failed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['Ted'] or QuestGetState('Ted') |
|
return not quest.Completed and not quest.Failed |
|
end, |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Farmlands", |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 12, |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerFemale_27", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - 1+ mines", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(204241914462, "I hear you are actually paying miners? I mean, with money, not food. Can I work for you?"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 1, |
|
Condition = ">=", |
|
POIs = "Mine", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_01", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - 2+ mines", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(652037510714, "My wife told me that you hire workers and pay well. I'll come and sign up tomorrow! Tonight, I will celebrate my new job with my friends."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 2, |
|
Condition = ">=", |
|
POIs = "Mine", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_02", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - 4+ mines", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(849185341958, "I heard you already mined a trillion dollars worth of OUR diamonds! The whole Western world grows fat on our riches. How dare you!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 4, |
|
Condition = ">=", |
|
POIs = "Mine", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_04", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - have Militia and they have beaten the Legion", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(959778803386, "I heard our Militia kicked the Legion's ass! I bet our fighters could beat anyone."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('SectorMilitiaNumber', { |
|
Amount = 2, |
|
Condition = ">=", |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownMajor", |
|
Vars = set( "LegionBeatenByMilitia" ), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownMajor'] or QuestGetState('05_TakeDownMajor') |
|
return quest.LegionBeatenByMilitia |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_05", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - killed Graaf", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(317288934979, "Is it true the slave master of <em>Diamond Red</em> was a vampire who bathed in his workers' blood? Did you destroy him with wooden stakes and garlic?"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Kalyna", |
|
'Text', T(825182373748, "We used something even better! Our weapons are imbued with magical powers because our cause is noble."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Fauda", |
|
'Text', T(462415193154, "He was a servant of Shaitan, but no vampire. The only thing he bathed in was misery."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Barry", |
|
'Text', T(990823042568, "My people know vampires - he was not one. We killed him in the usual way. His body is being very dead as of this moment."), |
|
}), |
|
}, |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "DiamondRed", |
|
Vars = set( "GraafDead" ), |
|
__eval = function () |
|
local quest = gv_Quests['DiamondRed'] or QuestGetState('DiamondRed') |
|
return quest.GraafDead |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Negate = true, |
|
Sectors = { |
|
"A2", |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_06", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - let Graaf live", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(280419347638, "The slave master in <em>Diamond Red</em> is a vampire who bathes in the blood of his workers! Why did you let him live?! Stay away from me!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
Condition = "or", |
|
QuestId = "DiamondRed", |
|
Vars = set( "GraafForeman", "GraafLeave" ), |
|
__eval = function () |
|
local quest = gv_Quests['DiamondRed'] or QuestGetState('DiamondRed') |
|
return quest.GraafForeman or quest.GraafLeave |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Negate = true, |
|
Sectors = { |
|
"A2", |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_07", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - not met Flay >> give quest Hunter, Hunted", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(421039204024, "Don't go to the <em>Poacher Camp</em>, it's cursed! A demon from hell is hunting the poachers for their sins. They say that when it kills and eats their souls, it nails horns on their heads!"), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "HunterHunted", |
|
Vars = set({ |
|
FlaySpawned = false, |
|
QuestLead = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['HunterHunted'] or QuestGetState('HunterHunted') |
|
return not quest.FlaySpawned and not quest.QuestLead |
|
end, |
|
}), |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('CheckGameState', { |
|
GameState = "Sunset", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Night", |
|
}), |
|
}, |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 7, |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_08", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - Flay is hunting the Legion", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(977303837710, "You made a deal with the devil. Now a demon stalks the land, nailing horns to the heads of those Legion bastards! Good... Good!"), |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "HunterHunted", |
|
Vars = set( "FlayHunting" ), |
|
__eval = function () |
|
local quest = gv_Quests['HunterHunted'] or QuestGetState('HunterHunted') |
|
return quest.FlayHunting |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_09", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - found M.E.R.C. boat", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(971174861759, "Last month, a brave pirate attacked an American battleship and almost sunk it! The filthy Americans showed no restraint and destroyed it with a nuke. That pirate was a real hero, fighting the good fight against the filthy imperialists!"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfTheseCount', 2, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Wolf", |
|
'Text', T(735463973734, "He's certainly memorable, I'll give him that."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Scope", |
|
'Text', T(824666847320, "Yes, it's a wonder his \"irresistible charm\" didn't win him the fight."), |
|
}), |
|
}, |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueBiff", |
|
Vars = set( "BoatFound" ), |
|
__eval = function () |
|
local quest = gv_Quests['RescueBiff'] or QuestGetState('RescueBiff') |
|
return quest.BoatFound |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_10", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - have Larry", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(638417397782, "Is it true what they say about the Christmas Elf in <em>Camp Savane</em>? The one making toys for the Legion?"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Larry_Clean", |
|
'Text', T(683093283767, "An elf making toys... Oh, you mean me! Hahaha, yeah they liked to put jingle bells on me to make sure I didn't wander off. Hmmm, that was kind of fun, actually."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Larry", |
|
'Text', T(166868884614, "There is an elf in <em>Camp Savane</em>? I WANT TO GO BACK!!!"), |
|
}), |
|
}, |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfTheseCount', 2, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Raider", |
|
'Text', T(634467925018, "Larry... no."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Len", |
|
'Text', T(440910354609, "Larry, just... no."), |
|
}), |
|
}, |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('UnitSquadHasMerc', { |
|
Name = "Larry", |
|
}), |
|
PlaceObj('UnitSquadHasMerc', { |
|
Name = "Larry_Clean", |
|
}), |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_11", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - played Ghost Stories", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(949972366744, "Are you the ghost busters that lifted the curse on the Mansion? Your proton packs look a lot like ordinary guns."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Kalyna", |
|
'Text', T(519219207235, "These are our steel guns, but we also have silver guns for monsters!"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Magic", |
|
'Text', T(897763309915, "We ain't afraid of no ghosts."), |
|
}), |
|
}, |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
Condition = "or", |
|
QuestId = "GhostStories", |
|
Vars = set( "Completed", "Failed" ), |
|
__eval = function () |
|
local quest = gv_Quests['GhostStories'] or QuestGetState('GhostStories') |
|
return quest.Completed or quest.Failed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_12", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - Maquis are allies", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(420917236770, "You're with those <em>Maquis</em> commies! Don't you steal my chickens."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PantagruelRebels", |
|
Vars = set( "MaquieAllies" ), |
|
__eval = function () |
|
local quest = gv_Quests['PantagruelRebels'] or QuestGetState('PantagruelRebels') |
|
return quest.MaquieAllies |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', { |
|
Negate = true, |
|
city = "Pantagruel", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_13", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - Maquis are enemies", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(512186924754, "It's about time someone kicked the assess of those Maquis commies. During the civil war they \"nationalized\" and then ate my cow."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PantagruelRebels", |
|
Vars = set( "MaquieEnemies" ), |
|
__eval = function () |
|
local quest = gv_Quests['PantagruelRebels'] or QuestGetState('PantagruelRebels') |
|
return quest.MaquieEnemies |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', { |
|
Negate = true, |
|
city = "Pantagruel", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_14", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - succeeded Chimurenga", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(609357617465, "Is it true that old <em>Chimurenga</em> retired and made you leaders of the Maquis? What do you call that, hereditary communism?"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Ivan", |
|
'Text', T(797239456443, "Да. It is how communism works."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Meltdown", |
|
'Text', T(160821155356, 'I call that "none of your fucking business".'), |
|
}), |
|
}, |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PantagruelDramas", |
|
Vars = set( "SucceedChimurenga" ), |
|
__eval = function () |
|
local quest = gv_Quests['PantagruelDramas'] or QuestGetState('PantagruelDramas') |
|
return quest.SucceedChimurenga |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', { |
|
Negate = true, |
|
city = "Pantagruel", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_15", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - have Maquis Pamphlets with Ad", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(773629117926, "Do you have some of those <em>Maquis Manifesto</em> pamphlets? The ones with the, uh, illustrations? I want to learn more about, err, Communist ideals."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PantagruelDramas", |
|
Vars = set( "MaquisPamphletsAd" ), |
|
__eval = function () |
|
local quest = gv_Quests['PantagruelDramas'] or QuestGetState('PantagruelDramas') |
|
return quest.MaquisPamphletsAd |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_16", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - know about the Carnival", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(482430847894, "I wish I could go and see the Carnival celebrations in <em>Pantagruel</em>. Is it true there are naked girls dressed only in flowers? I'm asking for a friend."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PantagruelDramas", |
|
Vars = set( "MentionChimurenga" ), |
|
__eval = function () |
|
local quest = gv_Quests['PantagruelDramas'] or QuestGetState('PantagruelDramas') |
|
return quest.MentionChimurenga |
|
end, |
|
}), |
|
PlaceObj('SectorCheckCity', { |
|
Negate = true, |
|
city = "Pantagruel", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_17", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - partners with Boss Blaubert", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(860369269254, "I heard you're working for the <em>Rimville</em> mafia. I already made my protection payment, so don't bother shaking me down."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
Condition = "or", |
|
QuestId = "Luigi", |
|
Vars = set( "BossPartnership", "SupportLuigi" ), |
|
__eval = function () |
|
local quest = gv_Quests['Luigi'] or QuestGetState('Luigi') |
|
return quest.BossPartnership or quest.SupportLuigi |
|
end, |
|
}), |
|
PlaceObj('CheckIsPersistentUnitDead', { |
|
Negate = true, |
|
per_ses_id = "NPC_FleatownBoss", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_18", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - killed civilians >> Guilty", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(553011130164, "Innocent people are dying because of you! Go fight your stupid war where civilians won't get hurt!"), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CiviliansKilled', { |
|
Amount = 6, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_19", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - world flip, Major not defeated", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(276409934376, "You're the ones who massacred all those people in the <em>Refugee Camp</em>! Please, don't kill us."), |
|
}), |
|
}, |
|
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 = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownMajor'] or QuestGetState('05_TakeDownMajor') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_20", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - world flip or killed civilians", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(496549728115, "You have taken our mines, and now you are murdering innocent people! Can't you bandits just fight each other and leave us in peace?"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CheckOR', { |
|
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('CiviliansKilled', { |
|
Amount = 5, |
|
}), |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_21", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - world flip, President not encountered yet", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(707830744212, "The TV said you killed all those people in the <em>Refugee Camp</em>, but I don't believe it. You don't look scary at all."), |
|
}), |
|
}, |
|
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('CiviliansKilled', { |
|
Amount = 3, |
|
Condition = "<", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_22", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - President saved", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(515216917628, "Is it true that the real <em>Alphonse LaFontaine</em> is dead and you just used a stunt double to replace him as <em>President</em>?"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownMajor", |
|
Vars = set( "PresidentLeft" ), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownMajor'] or QuestGetState('05_TakeDownMajor') |
|
return quest.PresidentLeft |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_23", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - President saved", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(126569498824, "Good thing you saved the President. We need him to put a stop to some real problems. I'm talking about chemtrails! They appear three times more often since he went missing!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownMajor", |
|
Vars = set( "PresidentLeft" ), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownMajor'] or QuestGetState('05_TakeDownMajor') |
|
return quest.PresidentLeft |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_24", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - President dead", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(259621527382, "Good thing that old Alphonse died. We need a strong President, not one who lets himself be kidnapped and killed!"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Spike", |
|
'Text', T(403493284152, "Amen to that."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CheckIsPersistentUnitDead', { |
|
per_ses_id = "NPC_President", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_25", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - President dead", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(326414059827, "The TV said that the <em>President</em> was shot and killed, but then they said the <em>Major</em> is still alive... I am confused. I thought they were the same person?"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CheckIsPersistentUnitDead', { |
|
per_ses_id = "NPC_President", |
|
}), |
|
PlaceObj('CheckIsPersistentUnitDead', { |
|
Negate = true, |
|
per_ses_id = "NPC_TheMajor", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_26", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - Major dead", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(999803939388, "The Major did nothing wrong."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CheckIsPersistentUnitDead', { |
|
per_ses_id = "NPC_TheMajor", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_27", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - Major in jail", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(745921888648, "The TV said the Major was captured and sent to jail. They must think we are stupid to believe that!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
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_Civilians", |
|
id = "NPC_VillagerMale_28", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - Major defeated >> Proud (once)", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(881314705860, "They say that the <em>Major</em> was killed by Grand Chien special forces, but I'm sure it was his own people who turned on him! I have my sources."), |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Spike", |
|
'Text', T(534504591756, "Not far from the truth, when you think about it."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownMajor", |
|
Vars = set( "Completed", "MajorDead" ), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownMajor'] or QuestGetState('05_TakeDownMajor') |
|
return quest.Completed and quest.MajorDead |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_29", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - Major defeated >> Proud (once)", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(243047839294, "Some badass commandos infiltrated the Major's fortress and kicked his ass! You should be careful not to get in their way."), |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Spike", |
|
'Text', T(334169260236, "Best advice I've ever heard."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "05_TakeDownMajor", |
|
Vars = set({ |
|
Completed = true, |
|
MajorDead = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['05_TakeDownMajor'] or QuestGetState('05_TakeDownMajor') |
|
return quest.Completed and not quest.MajorDead |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_30", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - Faucheux defeated", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(341380410615, "We are in a civil war again, aren't we? I heard that a whole Battalion of Grand Chien special forces was slaughtered to the last man here in the Adjani! "), |
|
}), |
|
}, |
|
conditions = { |
|
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_Civilians", |
|
id = "NPC_VillagerMale_31", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - Corazon defeated >> Proud (once)", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(467758127616, "Don't go to <em>Ernie</em>! I know from a reliable source that the Americans sent an aircraft carrier full of Seals and Delta Forces, and wrecked the place! It is a cover up for something huge, I'm telling you."), |
|
}), |
|
}, |
|
conditions = { |
|
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_Civilians", |
|
id = "NPC_VillagerMale_32", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - >> give quest Sanatorium", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(679983887209, "The end is nigh! They have unleashed a zombie virus at the Sanatorium and it's only a matter of time before the outbreak starts!"), |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Larry", |
|
'Text', T(516248979280, "I know, man! THEY'RE EVERYWHERE!!!"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Larry_Clean", |
|
'Text', T(560319952472, "Man, if I was loaded right now, I'm sure I'd be jumping up and down and saying something stupid."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "Sanatorium", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['Sanatorium'] or QuestGetState('Sanatorium') |
|
return not quest.Completed |
|
end, |
|
}), |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('CheckGameState', { |
|
GameState = "Night", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Jungle", |
|
}), |
|
}, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Negate = true, |
|
Sectors = { |
|
"H12", |
|
}, |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 10, |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_33", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - Eastern settlement >> give lead to Elliot", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(308952735467, "You are searching for the <em>Major</em>, right? Listen carefully. His secret base is in the mires. It's called <em>Camp du Crocodile</em>. Just between you and me, okay?"), |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
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 = "Elliot", |
|
Vars = set({ |
|
Completed = false, |
|
Failed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['Elliot'] or QuestGetState('Elliot') |
|
return not quest.Completed and not quest.Failed |
|
end, |
|
}), |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('CheckGameState', { |
|
GameState = "Sunset", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Night", |
|
}), |
|
}, |
|
}), |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('CheckGameState', { |
|
GameState = "Jungle", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Farmlands", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Marshlands", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Coastal", |
|
}), |
|
}, |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 6, |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_35", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - >> give RescueBiff", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(943455075844, "I know everything about your secret mission. You have to kill the <em>M.E.R.C.</em> people, right? Because they know too much! I know you have to deny it, it's fine."), |
|
'playOnce', true, |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "RescueBiff", |
|
Vars = set({ |
|
Completed = false, |
|
Failed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['RescueBiff'] or QuestGetState('RescueBiff') |
|
return not quest.Completed and not quest.Failed |
|
end, |
|
}), |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('CheckGameState', { |
|
GameState = "Sunset", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Night", |
|
}), |
|
}, |
|
}), |
|
PlaceObj('SectorCheckCity', { |
|
Negate = true, |
|
city = "Pantagruel", |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 6, |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_36", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(853579093155, "If you ask me, the <em>President</em> is already dead."), |
|
}), |
|
}, |
|
conditions = { |
|
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_Civilians", |
|
id = "NPC_VillagerMale_37", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(617958085735, "The only thing fighting ever solved was a boxing match... or a hockey game, I suppose. "), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CheckGameState', { |
|
GameState = "Day", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_41", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(322208606230, "This country needs strong leadership. I don't like guys who get kidnapped, I like the guys who DO the kidnapping!"), |
|
}), |
|
}, |
|
conditions = { |
|
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 = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['04_Betrayal'] or QuestGetState('04_Betrayal') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_42", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(830063327798, 'Sorry about these Legion thugs, but when your country is named "Big Dog" you expect to find some big fleas, n\'est-ce pas?'), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "03_DefeatTheLegion", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['03_DefeatTheLegion'] or QuestGetState('03_DefeatTheLegion') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_43", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - green diamond", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_3", |
|
'Text', T(500505421110, "We both know that you are not here to save the President. You are after the <em>green diamond</em>, right?"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Raven", |
|
'Text', T(172895730433, "You know nothing, John Doe."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Larry", |
|
'Text', T(677816697728, "I don't know, man... I don't know why I'm here."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
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 = "RescueBiff", |
|
Vars = set( "MERC_Diamond" ), |
|
__eval = function () |
|
local quest = gv_Quests['RescueBiff'] or QuestGetState('RescueBiff') |
|
return quest.MERC_Diamond |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_45", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal >> Lead_Rumor (Smiley)", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Annotation', "with approval", |
|
'Character', "CivilianMale_3", |
|
'Text', T(819683129286, "I was hoping that one day I would earn enough money to visit <em>Le Lys Rouge</em>, but you know what some guy did? He just went there and kidnapped the prettiest girl in the brothel! Just like that!"), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "Smiley", |
|
Vars = set({ |
|
Completed = false, |
|
Failed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['Smiley'] or QuestGetState('Smiley') |
|
return not quest.Completed and not quest.Failed |
|
end, |
|
}), |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('CheckGameState', { |
|
GameState = "Sunset", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Night", |
|
}), |
|
}, |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 9, |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_46", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = ">> give Faith Healing", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(663518836441, "There is a great <em>Shaman</em> at the Refugee Camp who can heal anything! He can even make a man's peepee grow bigger."), |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Fox", |
|
'Text', T(960823644899, "Hmmm, I never knew I was qualified to be a shaman."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('CheckGameState', { |
|
GameState = "Sunrise", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "Night", |
|
}), |
|
}, |
|
}), |
|
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, |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 7, |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_47", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - killed civilians >> Guilty", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(456823946889, "The Legion may be robbing us, but at least they don't kill us. But you foreigners - you have no regard for human life!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CiviliansKilled', { |
|
Amount = 5, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_48", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = "universal - killed civilians >> Guilty", |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(971549453283, "You mercenaires, you are the worst! Why have you killed all those innocent people? Doesn't human life mean anything to you? Am I just another target to practice your shooting skills on?"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Fidel", |
|
'Text', T(558512217200, "Ehehehee... Yes."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Meltdown", |
|
'Text', T(308327637509, "If you dumbasses can't keep your heads down, it ain't my fault!"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Flay", |
|
'Text', T(496008571416, "Well... Yes."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(730810188493, "I have a name! I am a person!"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Fidel", |
|
'Text', T(765175139886, "Good! Good! Killing a person is much better."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CiviliansKilled', { |
|
Amount = 9, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_49", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Comment = 'universal >> give "voodoo" false lead (Chalet de la Paix)', |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(135922424062, "This rain is not natural, mark my words. Those <em>voodoo</em> wackos at the <em>Chalet de la Paix</em> are performing satanic rituals in the dark of night and messing with the weather."), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('CheckGameState', { |
|
GameState = "RainLight", |
|
}), |
|
PlaceObj('CheckGameState', { |
|
GameState = "RainHeavy", |
|
}), |
|
}, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Negate = true, |
|
Sectors = { |
|
"F13", |
|
}, |
|
}), |
|
PlaceObj('PlayerControlSectors', { |
|
Amount = 12, |
|
Condition = ">=", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Civilians", |
|
id = "NPC_VillagerMale_50", |
|
}) |
|
|
|
|