public Paragraph(Novel inbound) { int quotes = 0; for (int i = 0; i <= 3; i++) { Sentence nextSentence = new Sentence (inbound); sentences.Add (nextSentence); text = (text + " " + nextSentence.ToString ()); } Smooth (); }
public Option(Architect inbound, int pos) { int adjustment; builder = inbound; position = pos; adjustment = builder.MyOutline.Rand.Next (1, 3); adjustments.Add (builder.MyOutline.PickStat (), adjustment); if (builder.MyOutline.Rand.Next (0, 4) == 1) { increaseStat = false; } text = new Sentence (builder.MyNovel).ToString(); }
public string PageBreak() { Sentence nextSentence; Paragraph nextParagraph; string text = ""; nextSentence = new Sentence (myChapter.MyNovel); nextParagraph = new Paragraph (myChapter.MyNovel); text = ("\n*page_break"); if (nextSentence.WordCount <= 5) { text = (text + " " + nextSentence); } text = (text + "\n\n" + nextParagraph.ToString()); return text; }
public override void BuildOptions(Architect inbound) { //Okay, it isn't actually building options! Or not in the normal sense. But the concept of "what happens next" is still valid. Sentence mySentence; new Paragraph (inbound.MyNovel).ToString(); if (inbound.MyChapter.Number < inbound.MyOutline.PlannedChapters) { mySentence = new Sentence (inbound.MyNovel); text = (text + "\n\n*finish Chapter " + (inbound.MyChapter.Number + 1)); if (mySentence.WordCount < 5) { text = (text + ": " + mySentence.ToString ()); } } else { text = (text + "*finish THE END"); } }