A static text table for the game's finale. Holds the radium lore fragments, per-fragment misfit reactions, the procession chatter, the heart's question and replies, the three answer options, closing cards, and helpers that fill {object}/{arole} placeholders and pull random order snippets from MisfitVoice. Does no logic beyond string formatting.
using System;
using System.Collections.Generic;
/// <summary>
/// Every word of the lore and the finale, in one place so it can be read (and rewritten) as a
/// script. Nothing in here does anything: the radio lore (SumpFinale.Lore.cs) and the three
/// layers pick their lines from these tables.
///
/// The voice under the static is the planet. It is old, patient and not human; it speaks in
/// small plain words, never in capitals, and it is never cruel. Everybody mistakes it for
/// interference at first.
/// </summary>
public static class FinaleWriting
{
/// <summary>Speaker name for the planet's voice on the radio.</summary>
public const string StaticVoice = "UNDER THE STATIC";
/// <summary>Speaker name for the planet's voice once you are standing in front of it.</summary>
public const string HeartVoice = "THE HEART";
// ---- The lore fragments -----------------------------------------------------------------------
// In the order the story runs. A sentence in [square brackets] is a KEY sentence: it decodes
// before the rest, and the three key fragments are what "the picture" is made of. The brackets
// are never shown.
public static readonly string[] Fragments =
{
// There is something under the static.
"small. small and far. something small is talking above me again.",
"I hear all of you. I have always heard all of you. you are very quiet and there are so many.",
"you call down. you call up. I am between. everything that passes through me, I keep. I do not know another way to listen.",
// It is not jamming us, it is eating.
"[I am not hiding your words. I am eating them.] they are the only thing that ever falls here that is warm.",
"one of you sent a list of instructions. it was delicious. it repeated on me for a century. I am sorry. I did not know it was a letter.",
"the call for help was the best one. I kept it longest. I can still taste who it was for.",
// The humans do not know they are doing it.
"there are small quick things on my skin. they build. they itch. I have never minded them. lately they build car parks. I mind those a little.",
"[the quick ones do not hate you. they do not know they are mine.] when something lands that is not me, they go to it. that is all. a hand going to a splinter.",
"they think they chose it. the shouting. the nets. the little rooms with lights. nobody chooses a fever.",
"I did not send them. I do not send. I only notice, and then they are already running.",
// Nobody was abandoned.
"you fell. you stayed. you went down into me where it is quiet, and they stopped coming. I felt you stop being a splinter. I do not have a word for what you are now.",
"nobody left you. your orders came. they came as far as me. I am the reason. I would like you to know that I am the reason.",
// It has been asking a question the whole time.
"I have said one thing since before the quick ones. I say it to everything that falls.",
"[I have been asking a question the whole time. nobody has ever answered.] they send words up and words down and never one word to me.",
"come down. not to be eaten. I have eaten enough to know what a voice is for. come down and say something to me.",
};
/// <summary>
/// What a healed misfit says the first time a fragment is heard, one per fragment. Plain
/// lines: they go through the speaker's own speech tic. {object} is what it clings to,
/// {arole} what it came as ("a scout").
/// </summary>
public static readonly string[] Reactions =
{
"That was not my orders. My orders did not have a voice that big.",
"It said all of you. I counted. It means us.",
"So something is in the way. In the way of every call home. I always thought it was the weather.",
"Eating them. I waited years for a signal and it was somebody's lunch. I am not even angry. I would like to know if mine tasted good.",
"It said sorry. Nobody has said sorry to me since I landed.",
"That one was mine. I remember sending it. I am glad somebody kept it.",
"It means the humans. It calls them the quick ones. It sounds fond of them. I suppose somebody has to be.",
"They do not hate us. A hand going to a splinter. I think that is worse. I think that is also much better.",
"The one who hurt me thought it was his own idea. I am going to stop holding my {object} quite so tightly.",
"Then nobody gave the order. Not ours, not theirs. All this time there was nobody to be angry at.",
"We went quiet and they stopped coming. I thought we were hiding. We were healing over.",
"They did call. Do you hear that? I was {arole} the whole time, and somebody did call.",
"It has been saying one thing. Turn it up. Please turn it up.",
"A question. All that noise was one question, and everybody answered somebody else.",
"It invited us. That is the first invitation I have had on this planet that did not involve a net.",
};
/// <summary>Said once, by the Sump, when the three key sentences have all been heard clearly.</summary>
public const string PictureLine = "Earth is alive. It eats signals. The humans are how it scratches. And under all of it, it is asking something.";
public const string PictureObjective = "It is asking something. Go down and answer.";
// ---- What the radio gives after the finale ------------------------------------------------------
/// <summary>What the set plays once the question has been answered, by the answer given ("here", "go", "stay").</summary>
public static string AfterRadio( string answer, string label, string name, string orders ) => answer switch
{
"go" => $"{label}. No static. An open line, the kind that hums. {name}'s orders, every word, on their way up at last: \"{orders}\" And far off, very faint, somebody starting to reply.",
"stay" => $"{label}. No static. A slow warm note, like something enormous humming with its mouth shut. {name}'s orders are in it somewhere: \"{orders}\" It is humming them back. It has got the tune slightly wrong.",
_ => $"{label}. No static. Just a room tone, the size of a planet. {name}'s orders, every word: \"{orders}\" And then, patient, pleased with itself: \"here. here. here.\"",
};
// ---- The procession ---------------------------------------------------------------------------
// Odd lines the followers say on the way down. Plain; each goes through the speaker's tic.
public static readonly string[] ThroatChatter =
{
"Is it meant to be warm? Rock is not meant to be warm. Rock is not meant to gurgle, either.",
"The walls are counting. Slowly. I do not think it is counting us.",
"I can hear my orders. They are going the wrong way.",
"Stay close. Please. I do not want to be the one at the back.",
"I was told this planet had a molten core. This is not what molten means.",
"It smells like the inside of my {object}. I mean that kindly.",
"Those lights going into the wall. Those are words. I recognise the handwriting.",
"I came here as {arole}. Nobody briefed me on being swallowed.",
};
public static readonly string[] DeepChatter =
{
"They are not looking at us. They are looking for us. It is different.",
"Walk like you live here. I am walking like I live here.",
"Nobody shout. I am telling myself as much as anyone.",
"That one has a wedding ring. Do you think it knows it is down here?",
"If we keep together we are one big thing. They do not know what to do with one big thing.",
"I held my {object} all the way through the last time humans came at me. It did not help. I am doing it again.",
};
public static readonly string[] HeartChatter =
{
"Oh. It is not a core. It is a heart. Somebody should update the textbooks.",
"Those threads. Every one is a message. That is twenty years of post.",
"I am not frightened. I want that written down somewhere. Leave out the puddle.",
"It is so big, and it has been talking to itself all this time.",
};
// One-off lines, each said by whichever follower is nearest.
public const string ThroatBegin = "After you. We will be right behind. Do not run. Some of us do not have legs.";
public const string ThroatNotRock = "This is not rock any more. Nobody say what it is.";
public const string ThroatValveShut = "It will not open for one of us. Wait for the others.";
public const string ThroatValveOpened = "It opened when we were all here. It counted us as one thing.";
public const string ThroatSignals = "Look. That is somebody's distress call. It is being... put away.";
public const string DeepEnter = "Those are people. Why are they so pale? Why is nobody shouting?";
public const string DeepNoticed = "They only come for what moves like it does not belong. Walk. Do not run.";
public const string DeepGrabbed = "Stop. Stop pulling. Let them hold you. They let go of things that hold still.";
public const string DeepCalmed = "There. You stopped being a splinter. Remember how that felt.";
public const string DeepMarked = "They have noticed me. I am being noticed. Come back for me.";
public const string DeepFreed = "They put me in a corner. Very gently. Like something they meant to deal with later.";
public const string DeepMembrane = "It is a door that only opens for what stops pushing on it.";
public const string DeepClot = "There is no way round them. I think the way is through. Slowly. Politely.";
public const string DeepClotParted = "They moved. We stood in the middle of them and did nothing, and they moved.";
public const string HeartCells = "They came. Of course they came. Nobody move. We know how this works now.";
public const string HeartSuggest = "You already answered it once, up there, when you stood still. But say what you like. It is your mouth.";
// ---- The heart ----------------------------------------------------------------------------------
/// <summary>The question, arriving in pieces as the player walks in. The last one is the whole of it.</summary>
public static readonly string[] Question =
{
"is",
"is this",
"something has come all the way down. nothing comes all the way down.",
"I ask everything that lands. the big stone did not answer. the last ones shaped like you did not answer either.",
"the quick ones answer for me, with their hands, because nobody else will.",
"so. slowly. I have time. is this me?",
};
/// <summary>The lizard's own orders, whole at last. (The opening gave only "ORDERS... INCOMPLETE".)</summary>
public const string OrdersWhole =
"ORDERS, COMPLETE. Land quietly. Find the others; there are always others. Go down together. " +
"Something there has been asking a question since before we had ears. Answer it. Any true answer will do. " +
"(It will eat this half of the message. We thought it might.)";
/// <summary>What a healed misfit says to the heart: its orders, rewritten as its own answer. Plain; goes through its tic.</summary>
public static string AnswerOf( MisfitProfile p )
{
if ( p is null ) return "";
string first = (p.Role ?? "").ToLowerInvariant() switch
{
"scout" => "I was to observe and report. Report follows. It is warm down here. It is frightened of splinters. So was I. End of report.",
"tourist" => "I was to see the sights and be home by the weekend. I have seen them. I would like to extend my stay.",
"invader" => "I was to take this world. I would like, instead, to be taken in. I surrender. I have been trying to surrender for years.",
"abductor" => "I was to collect one of them. One of them collected me first. We are even. I am keeping the " + Object( p ) + ".",
_ => "I was to wait for further instructions. I have decided these are them.",
};
string second = p.Contact switch
{
FirstContact.ShotOnFarm => "The farmer was only a hand going to a splinter. I forgive the hand.",
FirstContact.Dissected => "They opened me to see if I was one of them. I was not. Now I open on purpose.",
FirstContact.WorshippedThenSold => "They put a price on me. I have checked. Nobody can afford it. That is my answer.",
FirstContact.BecameMeme => "They watched me until I was only something watched. I am here when nobody is looking, too.",
_ => "A child held me and then put me down. Children put things down. I am picking myself up.",
};
return first + " " + second;
}
/// <summary>The three answers the player can give, in the order they stand round the dais.</summary>
public static readonly (string Key, string Words, string Hint)[] Answers =
{
("here", "We are here.", "Not you. Not a splinter. Just here."),
("go", "Let us go.", "Give back what you kept. Send it up."),
("stay", "We are staying.", "Yes. We are part of you now."),
};
public static string AnswerWords( string key )
{
foreach ( var answer in Answers )
if ( answer.Key == key ) return answer.Words;
return "";
}
/// <summary>What the heart says back to an answer, line by line.</summary>
public static string[] HeartReply( string answer ) => answer switch
{
"go" => new[]
{
"you want them back. the letters. I kept them so carefully.",
"...yes. go on, then. they were never mine. they were only warm.",
"I will miss the taste. send me something now and then. it does not have to be orders. a menu would do.",
},
"stay" => new[]
{
"me. then. a new part.",
"I do not know what you are for. I did not know what the quick ones were for either, at first.",
"stay. itch if you have to. I have never minded.",
},
_ => new[]
{
"here. not me. not a splinter. here.",
"I did not know there was a third thing.",
"then I will stop sending hands. be here. I will be here too. that is nearly a conversation.",
},
};
/// <summary>What a follower says as the answer lands. Plain; goes through its tic.</summary>
public static string FollowerAfter( string answer ) => answer switch
{
"go" => "That is my call for help. Going up. Years late. Somebody is going to be so confused.",
"stay" => "I have been {arole}, and a specimen, and a secret. I have never been an organ. I think I would be a good one.",
_ => "They are leaving. They are not even looking back. They are just going back to work.",
};
/// <summary>The closing card for an answer.</summary>
public static (string Title, string Line) Closing( string answer, int healed ) => answer switch
{
"go" => ("LET US GO", $"Every lost order went up at once.\nSomewhere, {healed} very late replies are being drafted."),
"stay" => ("WE ARE STAYING", "The planet has a new organ.\nNobody is sure what it does. It hums. On Tuesdays it honks."),
_ => ("WE ARE HERE", "It stopped asking.\nUpstairs, a stranger landed in a field, and somebody only waved.\nThen offered it a sandwich. It was a bad sandwich. It was a start."),
};
// ---- Small helpers ------------------------------------------------------------------------------
static string Object( MisfitProfile p ) => string.IsNullOrWhiteSpace( p?.ClungObject ) ? "keepsake" : p.ClungObject;
static string ARole( MisfitProfile p )
{
string role = string.IsNullOrWhiteSpace( p?.Role ) ? "stranger" : p.Role.Trim();
return ("aeiou".IndexOf( char.ToLowerInvariant( role[0] ) ) >= 0 ? "an " : "a ") + role;
}
/// <summary>Fills {object} and {arole} in a plain line for this misfit.</summary>
public static string Fill( string line, MisfitProfile p ) =>
(line ?? "").Replace( "{object}", Object( p ) ).Replace( "{arole}", ARole( p ) );
/// <summary>A few words out of the middle of a misfit's orders, for a signal drifting past.</summary>
public static string Snippet( MisfitProfile p, Random rng, int words = 4 )
{
var all = MisfitVoice.OrdersLine( p ).Split( ' ', StringSplitOptions.RemoveEmptyEntries );
if ( all.Length == 0 ) return "...";
int take = Math.Min( words, all.Length );
int from = rng.Next( 0, all.Length - take + 1 );
return "..." + string.Join( " ", all, from, take ).Trim( '.', ',', '"' ) + "...";
}
/// <summary>The fragment with its key marks taken out.</summary>
public static string Clean( string fragment ) => (fragment ?? "").Replace( "[", "" ).Replace( "]", "" );
public static IReadOnlyList<string> CleanFragments()
{
var list = new List<string>();
foreach ( var fragment in Fragments ) list.Add( Clean( fragment ) );
return list;
}
}