|
|
|
|
|
PlaceObj('Conversation', { |
|
AssignToGroup = "Butler", |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "GhostStories", |
|
Vars = set({ |
|
ThugsKilled = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['GhostStories'] or QuestGetState('GhostStories') |
|
return not quest.ThugsKilled |
|
end, |
|
}), |
|
PlaceObj('PlayerIsInSectors', { |
|
Sectors = { |
|
"G8_Underground", |
|
}, |
|
}), |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "Hermit", |
|
Vars = set({ |
|
Completed = false, |
|
HermitReunionDone = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['Hermit'] or QuestGetState('Hermit') |
|
return not quest.Completed and not quest.HermitReunionDone |
|
end, |
|
}), |
|
}, |
|
DefaultActor = "Butler", |
|
group = "Savanna - Mansion", |
|
id = "Butler_1", |
|
PlaceObj('ConversationPhrase', { |
|
AutoRemove = true, |
|
Comment = "initial", |
|
Keyword = "Greeting", |
|
KeywordT = T(774381032385, "Greeting"), |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(387264144623, "Get out! GET OUT! GET OUUUUUUUUUUUUUT!!!"), |
|
}), |
|
PlaceObj('ConversationInterjectionList', { |
|
Interjections = { |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Larry", |
|
Text = T(837429768291, "Zoinks! Like, it's a ghost, man!"), |
|
}), |
|
}, |
|
}), |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Steroid", |
|
Text = T(175516678717, "Uh-oh! Time to leave this place!"), |
|
}), |
|
}, |
|
}), |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Blood", |
|
Text = T(392416933336, "Damn, that's one angry spirit, but I bet it bleeds like a man."), |
|
}), |
|
}, |
|
}), |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Ivan", |
|
Text = T(151755909755, "Призраков не существует."), |
|
}), |
|
}, |
|
}), |
|
}, |
|
MaxPlayed = 3, |
|
}), |
|
}, |
|
id = "Greeting", |
|
}), |
|
PlaceObj('ConversationPhrase', { |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "GhostStories", |
|
Vars = set( "TriggerThugSpawn" ), |
|
__eval = function () |
|
local quest = gv_Quests['GhostStories'] or QuestGetState('GhostStories') |
|
return quest.TriggerThugSpawn |
|
end, |
|
}), |
|
}, |
|
GoTo = "<end conversation>", |
|
Keyword = "Greeting", |
|
KeywordT = T(774381032385, "Greeting"), |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(828288226303, "We are trapped! They have finally come for me! Maybe this is the end already?"), |
|
}), |
|
}, |
|
id = "Greeting3", |
|
}), |
|
PlaceObj('ConversationPhrase', { |
|
Comment = "repeating", |
|
Keyword = "Greeting", |
|
KeywordT = T(774381032385, "Greeting"), |
|
Lines = { |
|
PlaceObj('ConversationInterjectionList', { |
|
Interjections = { |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Blood", |
|
Text = T(848017028523, "Still haunting around?"), |
|
}), |
|
}, |
|
}), |
|
}, |
|
}), |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(208533805899, "Leave me alone already, you meddling kids!"), |
|
}), |
|
}, |
|
id = "Greeting2", |
|
}), |
|
PlaceObj('ConversationPhrase', { |
|
AutoRemove = true, |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "GhostStories", |
|
Vars = set({ |
|
ButlerStory = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['GhostStories'] or QuestGetState('GhostStories') |
|
return not quest.ButlerStory |
|
end, |
|
}), |
|
}, |
|
Effects = { |
|
PlaceObj('PhraseSetEnabled', { |
|
Conversation = "Butler_1", |
|
PhraseId = "Afewquestions", |
|
}), |
|
PlaceObj('PhraseSetEnabled', { |
|
Conversation = "Butler_1", |
|
Enabled = false, |
|
PhraseId = "OhnoTheghost", |
|
}), |
|
}, |
|
Keyword = "You’re not a ghost", |
|
KeywordT = T(453431521826, "You’re not a ghost"), |
|
Lines = { |
|
PlaceObj('ConversationInterjectionList', { |
|
Interjections = { |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Buns", |
|
Text = T(687325501194, "Not much of a ghost. Your costume could use a little work."), |
|
}), |
|
}, |
|
}), |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Fox", |
|
Text = T(878744157387, "I know this sounds weird, but would you mind if I pulled your hair?"), |
|
}), |
|
}, |
|
}), |
|
}, |
|
}), |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(875424620610, "But I am a restless spirit. Go! Get away from these cursed grounds while you still can!"), |
|
}), |
|
}, |
|
StoryBranchIcon = "conversation_threaten", |
|
id = "Yourenotaghost", |
|
}), |
|
PlaceObj('ConversationPhrase', { |
|
AutoRemove = true, |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "GhostStories", |
|
Vars = set({ |
|
ButlerStory = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['GhostStories'] or QuestGetState('GhostStories') |
|
return not quest.ButlerStory |
|
end, |
|
}), |
|
}, |
|
Effects = { |
|
PlaceObj('PhraseSetEnabled', { |
|
Conversation = "Butler_1", |
|
PhraseId = "Whathappenedtotheothers", |
|
}), |
|
PlaceObj('PhraseSetEnabled', { |
|
Conversation = "Butler_1", |
|
Enabled = false, |
|
PhraseId = "Yourenotaghost", |
|
}), |
|
}, |
|
Keyword = "Are you a restless spirit?", |
|
KeywordT = T(790708642380, "Are you a restless spirit?"), |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(529651132988, "I am the ghost of the man who had been the <em>butler</em> of the mansion!"), |
|
}), |
|
PlaceObj('ConversationInterjectionList', { |
|
Interjections = { |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Blood", |
|
Text = T(783634631024, "Did you die a violent death?"), |
|
}), |
|
}, |
|
}), |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Fidel", |
|
Text = T(934772533000, "Did you blow yourself up?"), |
|
}), |
|
}, |
|
}), |
|
}, |
|
}), |
|
PlaceObj('ConversationLine', { |
|
Annotation = "starts sobbing in the end", |
|
Character = "Butler", |
|
Text = T(610571383234, "I haunt these grounds because I died a horrible death, just like all the... others... Oh god, spare their poor souls..."), |
|
}), |
|
PlaceObj('ConversationInterjectionList', { |
|
Interjections = { |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Larry", |
|
Text = T(766627760591, "Hey, man... You mean, like, there are more ghosts?"), |
|
}), |
|
}, |
|
}), |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "DrQ", |
|
Text = T(779926581124, "The sadness of this spirit washes over this place. It is in the walls... and in the ground."), |
|
}), |
|
}, |
|
}), |
|
}, |
|
}), |
|
}, |
|
StoryBranchIcon = "conversation_friendly", |
|
id = "OhnoTheghost", |
|
}), |
|
PlaceObj('ConversationPhrase', { |
|
AutoRemove = true, |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "GhostStories", |
|
Vars = set({ |
|
ButlerStory = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['GhostStories'] or QuestGetState('GhostStories') |
|
return not quest.ButlerStory |
|
end, |
|
}), |
|
}, |
|
Effects = { |
|
PlaceObj('QuestSetVariableNum', { |
|
Amount = 1, |
|
Prop = "GhostClues", |
|
QuestId = "GhostStories", |
|
}), |
|
PlaceObj('QuestSetVariableBool', { |
|
Prop = "ClueButler", |
|
QuestId = "GhostStories", |
|
}), |
|
PlaceObj('LogMessageAdd', { |
|
message = T(328126567313, "Gained a <em>clue</em> about the <em>Ghost</em>"), |
|
}), |
|
}, |
|
Enabled = false, |
|
Keyword = "What happened to the others?", |
|
KeywordT = T(333309016670, "What happened to the others?"), |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(472046147545, "Dead. All dead... I'm the only one left alive. I wish I had been there so... um... that is to say..."), |
|
}), |
|
PlaceObj('ConversationInterjectionList', { |
|
Interjections = { |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Steroid", |
|
Text = T(119165106333, "Wait... you are alive AND dead? Oh! Are you UNDEAD!?"), |
|
}), |
|
}, |
|
}), |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Larry", |
|
Text = T(808258825896, "Hey, now wait a second, man. Just hang on a minute... Like, what?"), |
|
}), |
|
}, |
|
}), |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Blood", |
|
Text = T(394479541312, "I thought you said you suffered a horrible death."), |
|
}), |
|
}, |
|
}), |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Fox", |
|
Text = T(494084270357, "Well, that's no fun! I was looking forward to pulling your mask off!"), |
|
}), |
|
}, |
|
}), |
|
}, |
|
MaxPlayed = 2, |
|
}), |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(681425168703, "Oh, just leave me alone, you... You meddling kids!"), |
|
}), |
|
}, |
|
PhraseConditionRolloverText = T(312816952180, "Gained a <em>clue</em> about the <em>Ghost</em>"), |
|
id = "Whathappenedtotheothers", |
|
}), |
|
PlaceObj('ConversationPhrase', { |
|
AutoRemove = true, |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "GhostStories", |
|
Vars = set({ |
|
ButlerStory = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['GhostStories'] or QuestGetState('GhostStories') |
|
return not quest.ButlerStory |
|
end, |
|
}), |
|
}, |
|
Enabled = false, |
|
Keyword = "Tell us...", |
|
KeywordT = T(374820773907, "Tell us..."), |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(287206525760, "Non! Leave me alone!"), |
|
}), |
|
}, |
|
id = "Afewquestions", |
|
}), |
|
PlaceObj('ConversationPhrase', { |
|
AutoRemove = true, |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "GhostStories", |
|
Vars = set( "ButlerStory" ), |
|
__eval = function () |
|
local quest = gv_Quests['GhostStories'] or QuestGetState('GhostStories') |
|
return quest.ButlerStory |
|
end, |
|
}), |
|
}, |
|
Effects = { |
|
PlaceObj('PhraseSetEnabled', { |
|
Conversation = "Butler_1", |
|
PhraseId = "Whoarethey", |
|
}), |
|
}, |
|
Keyword = "Your home?", |
|
KeywordT = T(159204596375, "Your home?"), |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(128931211138, "I have lived and worked here for thirty-five years. Ten years ago <em>they</em> came here and killed everyone and looted the house. I was away, shopping for supplies when it happened."), |
|
}), |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(632934683515, "When I returned, I had no choice but to bury the bodies, repair what I could and wait for the master to return. He never did. "), |
|
}), |
|
}, |
|
id = "Yourhome", |
|
}), |
|
PlaceObj('ConversationPhrase', { |
|
AutoRemove = true, |
|
Effects = { |
|
PlaceObj('PhraseSetEnabled', { |
|
Conversation = "Butler_1", |
|
PhraseId = "Isthereatreasure", |
|
}), |
|
}, |
|
Enabled = false, |
|
Keyword = "Who are “they”?", |
|
KeywordT = T(638061295843, "Who are “they”?"), |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(734084035304, "I do not know. Maybe they were just thieves or maybe they were from the army or deserters of the army... In Grand Chien, they are all the same."), |
|
}), |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(643966432864, "They never returned, but a short time ago these Legion thugs moved in and started searching the place, looking for <em>treasure</em>. That is when I decided they would find only death. "), |
|
}), |
|
}, |
|
id = "Whoarethey", |
|
}), |
|
PlaceObj('ConversationPhrase', { |
|
Enabled = false, |
|
Keyword = "Is there a treasure?", |
|
KeywordT = T(726989327040, "Is there a treasure?"), |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(600722785712, "Non. No treasure. Anything of value was taken from the house long ago."), |
|
}), |
|
PlaceObj('ConversationInterjectionList', { |
|
Interjections = { |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Fauda", |
|
Text = T(499455978461, "Except a minefield's worth of explosives, apparently."), |
|
}), |
|
}, |
|
}), |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Grunty", |
|
Text = T(349645846811, "I don't know. I quite liked the hippopotamus."), |
|
}), |
|
}, |
|
}), |
|
}, |
|
}), |
|
}, |
|
id = "Isthereatreasure", |
|
}), |
|
PlaceObj('ConversationPhrase', { |
|
Align = "right", |
|
AutoRemove = true, |
|
Conditions = { |
|
PlaceObj('QuestIsVariableNum', { |
|
Amount = 4, |
|
Prop = "GhostClues", |
|
QuestId = "GhostStories", |
|
}), |
|
}, |
|
Effects = { |
|
PlaceObj('QuestSetVariableBool', { |
|
Prop = "ButlerStory", |
|
QuestId = "GhostStories", |
|
}), |
|
PlaceObj('GrantExperienceSector', { |
|
Amount = "XPQuestReward_Minor", |
|
}), |
|
}, |
|
Keyword = "You are the one planting those mines!", |
|
KeywordT = T(786737135078, "You are the one planting those mines!"), |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(666211658527, "And I would have gotten away with it, if it weren't for you meddling kids..."), |
|
}), |
|
PlaceObj('ConversationInterjectionList', { |
|
Interjections = { |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Fidel", |
|
Text = T(138009878538, "Ehehehehee..."), |
|
}), |
|
}, |
|
}), |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Buns", |
|
Text = T(500905504857, "Right up until the Legion finally catches you. Then you WILL be a ghost."), |
|
}), |
|
}, |
|
}), |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Steroid", |
|
Text = T(950253777751, "I never medaled. I was disqualified for PEDs."), |
|
}), |
|
}, |
|
}), |
|
}, |
|
}), |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(456738294039, "This is my <em>home</em> and I will defend it as I see fit! Now, leave! Leave!"), |
|
}), |
|
}, |
|
StoryBranchIcon = "conversation_arrow", |
|
id = "Youaretheoneplantingthosemines", |
|
}), |
|
PlaceObj('ConversationPhrase', { |
|
Align = "right", |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "GhostStories", |
|
Vars = set( "ButlerStory" ), |
|
__eval = function () |
|
local quest = gv_Quests['GhostStories'] or QuestGetState('GhostStories') |
|
return quest.ButlerStory |
|
end, |
|
}), |
|
PlaceObj('EnemySquadInSector', { |
|
sector_id = "G8", |
|
}), |
|
}, |
|
GoTo = "<end conversation>", |
|
Keyword = "We can protect you", |
|
KeywordT = T(758668804817, "We can protect you"), |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(122966416251, "Can you? There are still some of those murderers outside. I can smell them! They smell of grease and piss. Non, I will not leave my refuge."), |
|
}), |
|
}, |
|
StoryBranchIcon = "conversation_arrow", |
|
id = "Wecanprotectyou", |
|
}), |
|
PlaceObj('ConversationPhrase', { |
|
Align = "right", |
|
AutoRemove = true, |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "GhostStories", |
|
Vars = set( "ButlerStory" ), |
|
__eval = function () |
|
local quest = gv_Quests['GhostStories'] or QuestGetState('GhostStories') |
|
return quest.ButlerStory |
|
end, |
|
}), |
|
PlaceObj('EnemySquadInSector', { |
|
Negate = true, |
|
sector_id = "G8", |
|
}), |
|
}, |
|
Effects = { |
|
PlaceObj('PhraseSetEnabled', { |
|
Conversation = "Butler_1", |
|
PhraseId = "EnemyPresence", |
|
}), |
|
PlaceObj('PhraseSetEnabled', { |
|
Conversation = "Butler_1", |
|
Enabled = false, |
|
PhraseId = "Goodbye", |
|
}), |
|
}, |
|
Keyword = "We have eliminated the intruders", |
|
KeywordT = T(242992751498, "We have eliminated the intruders"), |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
SoundAfter = "Sounds/ConversationEffects/Herman_shots.wav", |
|
Text = T(321472242656, "Have you?... Maybe I should consider... Wait. Do you hear that?"), |
|
}), |
|
PlaceObj('ConversationInterjectionList', { |
|
Interjections = { |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Ivan", |
|
Text = T(636114508890, "Тревога! Снова враги!"), |
|
}), |
|
}, |
|
}), |
|
}, |
|
}), |
|
}, |
|
StoryBranchIcon = "conversation_arrow", |
|
id = "Isthiswhoyoureallyare", |
|
}), |
|
PlaceObj('ConversationPhrase', { |
|
Align = "right", |
|
Conditions = { |
|
PlaceObj('QuestIsVariableBool', { |
|
QuestId = "GhostStories", |
|
Vars = set({ |
|
ButlerStory = false, |
|
}), |
|
__eval = function () |
|
local quest = gv_Quests['GhostStories'] or QuestGetState('GhostStories') |
|
return not quest.ButlerStory |
|
end, |
|
}), |
|
}, |
|
Effects = { |
|
PlaceObj('QuestSetVariableBool', { |
|
Prop = "StartCombat_Ghost", |
|
QuestId = "GhostStories", |
|
}), |
|
PlaceObj('PlaySetpiece', { |
|
setpiece = "ButlerDies", |
|
}), |
|
}, |
|
GoTo = "<end conversation>", |
|
Keyword = "Die, ghost!", |
|
KeywordT = T(673753159036, "Die, ghost!"), |
|
Lines = { |
|
PlaceObj('ConversationInterjectionList', { |
|
Interjections = { |
|
PlaceObj('ConversationInterjection', { |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Blood", |
|
Text = T(917950571386, "Let's see if a ghost can bleed."), |
|
}), |
|
}, |
|
}), |
|
}, |
|
}), |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(974691855259, "Go ahead. I should have died ten years ago."), |
|
}), |
|
}, |
|
StoryBranchIcon = "conversation_attack", |
|
id = "Dieghost", |
|
}), |
|
PlaceObj('ConversationPhrase', { |
|
Align = "right", |
|
GoTo = "<end conversation>", |
|
Keyword = "Goodbye", |
|
KeywordT = T(557225474228, "Goodbye"), |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(517673816929, "Leave! Leave this cursed place and never return!"), |
|
}), |
|
}, |
|
StoryBranchIcon = "conversation_goodbye", |
|
id = "Goodbye", |
|
}), |
|
PlaceObj('ConversationPhrase', { |
|
Align = "right", |
|
Effects = { |
|
PlaceObj('QuestSetVariableBool', { |
|
Prop = "TriggerThugSpawn", |
|
QuestId = "GhostStories", |
|
}), |
|
}, |
|
Enabled = false, |
|
GoTo = "<end conversation>", |
|
Keyword = "There are more of them!", |
|
KeywordT = T(660656121988, "There are more of them!"), |
|
Lines = { |
|
PlaceObj('ConversationLine', { |
|
Character = "Butler", |
|
Text = T(699285682007, "They have finally found me."), |
|
}), |
|
}, |
|
StoryBranchIcon = "conversation_attack", |
|
id = "EnemyPresence", |
|
}), |
|
}) |
|
|
|
|