|
|
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Wanda", |
|
'Text', T(713742294184, "Your murderer hands picked the <em>Borassus root</em>, now they must plant its seeds where it shall flourish, and the circle shall be closed!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "ReduceCrocodileCampStrength", |
|
Vars = set({ |
|
BorassusPlanted = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['ReduceCrocodileCampStrength'] or QuestGetState('ReduceCrocodileCampStrength') |
|
return not quest.BorassusPlanted |
|
end, |
|
}), |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
WandaInitial = true, |
|
herbgiven = true, |
|
night = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return quest.WandaInitial and quest.herbgiven and not quest.night |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"G15", |
|
}, |
|
}), |
|
}, |
|
}), |
|
}, |
|
group = "Banters_Local_Chalet", |
|
id = "CampDuCrocodile_PlantBorassus_00_Wanda", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "DocRobert", |
|
'Text', T(525331003993, "And let's not forget about social distancing. Whatever we've got here is probably very infectious."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
execution = true, |
|
townflip = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return quest.execution and not quest.townflip |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_DocRobert01", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "HogLady", |
|
'Text', T(111290228461, "He met the devil. And the devil took what he demanded."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
diary = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed and not quest.diary |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_DocRobertApproach", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "TheHogLady", |
|
'Text', T(429578830850, "He met the devil. And the devil took what he demanded."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_HogLady01", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "TheHogLady", |
|
'Text', T(608726522505, "The dog ate so much earth it died. My <em>hog</em> is in his place now."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed |
|
end, |
|
}), |
|
PlaceObj('BanterHasPlayed', { |
|
Banters = { |
|
"PaixDisease_HogLady01", |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_HogLady02", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "TheHogLady", |
|
'Text', T(582445799207, "The answer is within the question. What is the question?"), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "DrQ", |
|
'Text', T(433540214620, "The question is always preceded by another question. The quest for knowledge is a circle disguised as a spiral."), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed |
|
end, |
|
}), |
|
PlaceObj('BanterHasPlayed', { |
|
Banters = { |
|
"PaixDisease_HogLady02", |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_HogLady03", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "TheHogLady", |
|
'Text', T(818724785114, "Do you like my <em>hog</em>? He likes you too. He saw something that night."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Scope", |
|
'Text', T(344711590092, "Truly? Does your hog have night vision goggles then?"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Shadow", |
|
'Text', T(902072734204, "Unless that thing is equipped with a motion detector and a night sight capable camera, I highly doubt it."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Scully", |
|
'Text', T(543779119391, "This lady's fruitier than an edible arrangement."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed |
|
end, |
|
}), |
|
PlaceObj('BanterHasPlayed', { |
|
Banters = { |
|
"PaixDisease_HogLady03", |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_HogLady04", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "TheHogLady", |
|
'Text', T(798234134269, "Don't worry. My <em>hog</em> does not bite."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set( "Completed" ), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_HogLady07", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "TheHogLady", |
|
'Text', T(893966001336, "Don't ask me. Go and talk to my <em>hog</em>."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Wolf", |
|
'Text', T(409423627124, "This lady's nuttier than a Snickers bar."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Grunty", |
|
'Text', T(128770985061, "I do not speak Wood Hog. We may need an interpreter."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Barry", |
|
'Text', T(542698654043, "I am thinking this woman has misplaced several of her marbles."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
foundpage = false, |
|
tornpage = true, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed and not quest.foundpage and quest.tornpage |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_HogLady08", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "TheHogLady", |
|
'Text', T(844495984450, "Come inside. My <em>hog</em> does not judge."), |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'Text', "", |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Nails", |
|
'Text', T(618748631308, "That makes him better than most pigs I know."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "DrQ", |
|
'Text', T(370572047419, "It is not the province of pure mortals to pass judgements. There are higher forces responsible for this task."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Sidney", |
|
'Text', T(512317319160, "How kind of you! I'm curious - do you have an entire wooden menagerie or is it just the porcine fellow out front?"), |
|
}), |
|
}, |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
Once = true, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_HogLadyApproach", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "TheHogLady", |
|
'Text', T(382301055683, "He saw a man with eyes like glue. One was red and the other blue. He tore a <em>page</em> with bloody hand, to hide what caused the <em>writer's</em> end."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "TheHogLady", |
|
'Text', T(750553275663, "But the page was found! My <em>hog</em> knows, just ask around."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
tornpage = true, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed and quest.tornpage |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_HogLadyApproach2", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "TheHogLady", |
|
'Text', T(889395523123, "My hog saw something that night."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
HogLadyRuns = false, |
|
diary = false, |
|
night = true, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed and not quest.HogLadyRuns and not quest.diary and quest.night |
|
end, |
|
}), |
|
PlaceObj('PlayerSquadPresentInSectors', { |
|
Sector = "F12", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_HogLadyApproach3", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(467082049501, "That crazy witch <em>Wanda</em> is up to something. Do you know that every night she and her cult are slaughtering chickens and drinking their blood?"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_VillagerFemale01", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(316751978757, "Stay away from the <em>Hog Lady</em>. She's not right in the head. You can tell just by looking at her \"art\"."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_VillagerFemale02", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(741812656888, "What's the deal with <em>Painless Doc Robert</em>? I think he actually enjoys dissecting those poor bastards."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "MD", |
|
'Text', T(540618338004, "Coroners are always a little... eccentric."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_VillagerFemale03", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(401525559001, "Come to the <em>old house</em> tonight. Join us and let's all pray for our salvation."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_VillagerFemale04", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_1", |
|
'Text', T(735902328126, "I can start living normally again."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set( "Completed", "goodending" ), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return quest.Completed and quest.goodending |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_VillagerFemale05", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianFemale_2", |
|
'Text', T(313479228039, "<em>Chalet de la Paix</em> can finally live up to its name."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set( "Completed", "goodending" ), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return quest.Completed and quest.goodending |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_VillagerFemale06", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(137663777950, "Me and my family are thinking of getting away from this forsaken place. I don't wanna end up like the others."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_VillagerMale01", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(739213244178, "This is the act of the Old Ones, I tell you. That's why each night we must gather and bring them a present."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_VillagerMale03", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(647190788351, "This is not a safe place for visitors. You'd better watch your step or you could end up like <em>Wilcox</em>, our last visitor."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Reaper", |
|
'Text', T(209021015085, "Death visits where it pleases."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_VillagerMale05", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(516920485683, "Everyone's saying this is a disease or a curse. But I don't believe their bullshit. It's the chem trails, man."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Larry", |
|
'Text', T(774604706880, "I know it, man! I've been saying that all along!"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Larry_Clean", |
|
'Text', T(352546037549, "Hey, um... Don't go around saying that too much, man. It makes people think you might be on drugs. "), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_VillagerMale06", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(858639320474, "Thank you for putting an end to all this horror."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set( "Completed", "goodending" ), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return quest.Completed and quest.goodending |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_VillagerMale07", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_1", |
|
'Text', T(179413316175, "I can't believe that <em>Doc Robert</em> was infecting us all this time."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set( "Completed", "goodending" ), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return quest.Completed and quest.goodending |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_VillagerMale08", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "CivilianMale_2", |
|
'Text', T(146632354436, "Tough call. I was so sure that those <em>voodoo</em> cultists were up to something."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set( "Completed", "goodending" ), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return quest.Completed and quest.goodending |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_VillagerMale09", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Wanda", |
|
'Text', T(586259492527, "The Old Ones are not happy. They hunger for blood and stir in their sleep. They will bring more and more of the living into their dream. "), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'Text', "", |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Reaper", |
|
'Text', T(306261355307, "There is a kind of hunger that only blood may satisfy."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Omryn", |
|
'Text', T(997267821070, "Good idea! I want to take nap anyway."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Meltdown", |
|
'Text', T(336629377578, "The old ones in my neighborhood are NEVER happy! I got the dogs to stop shitting in their yard, what the hell more do they want?"), |
|
}), |
|
}, |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
diary = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed and not quest.diary |
|
end, |
|
}), |
|
PlaceObj('IsTimeOfDay', { |
|
Negate = true, |
|
TimeOfDay = "Night", |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"F13", |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_Wanda01", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Wanda", |
|
'Text', T(681741704413, "We cannot fight the Old Ones. We dream of them and they have power over our shared dream. This is the way of <em>Voodoo</em>. "), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
WandaInitial = true, |
|
diary = false, |
|
herb = false, |
|
herbfound = false, |
|
night = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed and quest.WandaInitial and not quest.diary and not quest.herb and not quest.herbfound and not quest.night |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
WandaInitial = true, |
|
diary = false, |
|
herbToPlant = true, |
|
night = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed and quest.WandaInitial and not quest.diary and quest.herbToPlant and not quest.night |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"G15", |
|
}, |
|
}), |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_Wanda02", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Wanda", |
|
'Text', T(586123396072, "The Old Ones are thirsty for blood. I will brew a potion to make them sleep again. I need bloody murderers' hands to pick the <em>Borassus root</em> for it to work. Go! Bring it to me! It grows in the forest west of here."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfTheseCount', 2, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Raven", |
|
'Text', T(514148345813, "Hey! We are not murderers!"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Reaper", |
|
'Text', T(721400064537, "Hidden in my coat is my red right hand."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Raider", |
|
'Text', T(170841885092, "Madam, I assure you, we are not murderers. The deaths we have caused have all been justifiable lethalities."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Wolf", |
|
'Text', T(279723524142, "I just want to make sure we're clear on this - did you just ask us to kill someone and then go pick a flower?"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Scully", |
|
'Text', T(875764998354, "I've made this mistake before with several ex-wives. So, when you say one, do you really mean a dozen? How many guests are we serving?"), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Kalyna", |
|
'Text', T(222940875685, "I have always wanted to brew a potion! Now, should our hands be covered in blood when we pick the root, or should we kill someone in front of it, or... or..."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
WandaInitial = true, |
|
herb = false, |
|
night = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return quest.WandaInitial and not quest.herb and not quest.night |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"F13", |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_Wanda03", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Wanda", |
|
'Text', T(977889245522, "Thank you. Now I can cook the brew. Everybody must drink of it and we may all be saved from the wrath of The Old Ones."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
herbfound = true, |
|
herbgiven = false, |
|
night = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return quest.herbfound and not quest.herbgiven and not quest.night |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"F13", |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_Wanda04", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Wanda", |
|
'Text', T(595340532915, "I am busy. Don't you have eyes to see? Come back tomorrow."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'Character', "Wanda", |
|
'Text', T(192768432411, "And if you see the <em>Hog Lady</em> tell her she's late. We are starting without her."), |
|
'Optional', true, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set( "night" ), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return quest.night |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"F13", |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_Wanda06", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Wanda", |
|
'Text', T(291795435470, "You have made the right choice. The Old Ones are at peace. For now."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
Condition = "or", |
|
QuestId = "PaixDisease", |
|
Vars = set( "goodending" ), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return quest.goodending |
|
end, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "ReduceCrocodileCampStrength", |
|
Vars = set( "BorassusPlanted" ), |
|
__eval = function () |
|
local quest = gv_Quests['ReduceCrocodileCampStrength'] or QuestGetState('ReduceCrocodileCampStrength') |
|
return quest.BorassusPlanted |
|
end, |
|
}), |
|
}, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
night = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.night |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_Wanda07", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Wanda", |
|
'Text', T(801715582677, "Find the <em>Borassus root</em> and pick it with your bloody hands, murderers. The Old Ones are saying that it will guide you to a place of great importance. Go to the west. The truth is out there."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
WandaInitial = true, |
|
herb = true, |
|
herbfound = false, |
|
night = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return quest.WandaInitial and quest.herb and not quest.herbfound and not quest.night |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_Wanda08", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Wanda", |
|
'Text', T(917370030209, "I can see into your souls. You are murderers! This is good, for Death is coming for us all. You must know his call."), |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Reaper", |
|
'Text', T(828319189433, "Yes. You have eyes to see, wise Mother."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Raven", |
|
'Text', T(298677325984, "No! We are not murderers. We kill only when necessary."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Shadow", |
|
'Text', T(650937698475, "Unfortunately for him, my number's unlisted."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Nails", |
|
'Text', T(610559060536, "Yeah, that asshole is always trying to get a hold of me, so I blocked his number."), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
night = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.night |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"G15", |
|
}, |
|
}), |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_WandaApproach01", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Wanda", |
|
'Text', T(795762297762, "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('CheckOR', { |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set( "night" ), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return quest.night |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"G15", |
|
}, |
|
}), |
|
}, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_WandaApproach02", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Xavier", |
|
'Text', T(774024901233, "This girl... She is not the first to be claimed by the Old Ones. And mark my words: she won't be the last."), |
|
}), |
|
}, |
|
Once = true, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
XavierMet = true, |
|
night = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed and quest.XavierMet and not quest.night |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_Xavier01", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Xavier", |
|
'Text', T(430780469024, "People are dying and no one knows why. Well, except for <em>Roger Wilcox</em>. But he's dead now. He will never finish his book."), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
XavierMet = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed and not quest.XavierMet |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_Xavier02", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Xavier", |
|
'Text', T(578957693178, "You'd better do something or soon we'll all be dead. I think that <em>Hog Lady</em> knows something that we don't."), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
XavierMet = true, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed and quest.XavierMet |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_Xavier03", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Xavier", |
|
'Text', T(266336364383, "Roger's death is a mystery, but here's an even deeper one. You'll never guess. There was a fish... in the percolator!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set( "XavierMet" ), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return quest.XavierMet |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_Xavier04", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Xavier", |
|
'Text', T(935006333903, "A missing page? I don't know about that... But I saw <em>The Hog Lady</em> stuffing some paper into her wooden hog the other day. Feeding her pet is what she told me. Crazy woman!"), |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
XavierMet = true, |
|
tornpage = true, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed and quest.XavierMet and quest.tornpage |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_Xavier06", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Xavier", |
|
'Text', T(635550627338, "You found Roger's diary? Interesting. Something doesn't seem to add up here. Maybe you need to ask <em>Wanda</em> about it."), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
Completed = false, |
|
diary = true, |
|
tornpage = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.Completed and quest.diary and not quest.tornpage |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_Xavier07", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Xavier", |
|
'Text', T(193710007761, "Almost everyone is here! We're just missing the <em>Hog Lady</em>. She is probably wandering in the woods somewhere west of here. She does that sometimes."), |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
diary = false, |
|
night = true, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.diary and quest.night |
|
end, |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_Xavier08", |
|
}) |
|
|
|
PlaceObj('BanterDef', { |
|
Lines = { |
|
PlaceObj('BanterLine', { |
|
'Character', "Xavier", |
|
'Text', T(245175306155, "She's dead. Wrapped in plastic. And we had such a good time yesterday."), |
|
'playOnce', true, |
|
}), |
|
PlaceObj('BanterLine', { |
|
'MultipleTexts', true, |
|
'AnyOfThese', { |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Shadow", |
|
'Text', T(176474226943, "I suddenly feel like I need a damn good cup of coffee."), |
|
}), |
|
PlaceObj('BanterLineThin', { |
|
'Character', "Red", |
|
'Text', T(425481045686, "Oh, this is just grand! We're just leaving dead girls out on the beach now, are we?"), |
|
}), |
|
}, |
|
'playOnce', true, |
|
}), |
|
}, |
|
conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "PaixDisease", |
|
Vars = set({ |
|
night = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['PaixDisease'] or QuestGetState('PaixDisease') |
|
return not quest.night |
|
end, |
|
}), |
|
PlaceObj('UnitIsAroundMarkerOfGroup', { |
|
MarkerGroup = "BodyAreaMarker", |
|
TargetUnit = "Xavier", |
|
}), |
|
}, |
|
disabledInConflict = true, |
|
group = "Banters_Local_Chalet", |
|
id = "PaixDisease_XavierApproach", |
|
}) |
|
|
|
|