<DialogueTree xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Outer-Wilds-New-Horizons/new-horizons/main/NewHorizons/Schemas/dialogue_schema.xsd">
 <NameField>Cypress</NameField> <!-- The name of this character -->

 <DialogueNode> <!-- A dialogue node is a set of pages displayed to the player optionally followed by options -->
  <Name>ScientistDescendantVision</Name> <!-- The name of this node, used to go to this node from another node -->
  <EntryCondition>DEFAULT</EntryCondition> <!-- The condition that must be met for this node to be reached; A file should always have a node with "ScientistDescendantVision" -->
  <Dialogue> <!-- The actual dialogue we want to show the player -->
      <Page>...So you came all this way after discovering my ancestor's terraforming studies? Just like he predicted...</Page> <!-- A single page of the dialogue -->
  </Dialogue>

  <DialogueOptionsList> <!-- Show options the player can choose from when the character is done talking -->
   <DialogueOption>
    <Text>....And you are?</Text>
    <DialogueTarget>2</DialogueTarget>
   </DialogueOption>
    <DialogueOption>
    <Text>Yeah I'm going to go exploring now.</Text>
    <DialogueTarget>END</DialogueTarget>
   </DialogueOption>
	  <DialogueOption>
		  <RequiredLogCondition>HOME_VESSEL</RequiredLogCondition>
		  <Text>Come with me. Your life depends on it!</Text>
		  <DialogueTarget>4</DialogueTarget>
	  </DialogueOption>
  </DialogueOptionsList>
 </DialogueNode>

 <DialogueNode>
  <Name>END</Name>
  <Dialogue>
   <Page>Enjoy your stay, just don't do anything to our utopia or else we'll exile you from the system!</Page>
  </Dialogue>
	 <SetCondition>CYPRESS_MET</SetCondition>
	 <RevealFacts>
		 <FactID>HOME_LEADER_E</FactID>
	 </RevealFacts>
 </DialogueNode>

 <DialogueNode> <!-- Another node why not -->
  <Name>2</Name>
  <Dialogue>
   <Page>Sorry, now that I know you're the fabled alien to find his work, I'll introduce myself.</Page>
   <Page>My name is Cypress, I'm The Scientist's very distant grandson and the current leader of this place.</Page>
  </Dialogue>
  <DialogueOptionsList> 
  <DialogueOption>
    <Text>Nice to meet you! They call me "Hatchling".</Text>
    <DialogueTarget>2A</DialogueTarget>
   </DialogueOption>
   </DialogueOptionsList> 
 </DialogueNode>

 <DialogueNode> <!-- Another node why not -->
  <Name>2A</Name>
  <Dialogue>
   <Page>Greetings Hatchling. I hope you enjoy your time here at our utopia.</Page>
  </Dialogue>
	 <SetCondition>CYPRESS_MET</SetCondition>
	 <RevealFacts>
		 <FactID>HOME_LEADER_E</FactID>
	 </RevealFacts>
 </DialogueNode>

	<DialogueNode>
		<!-- The end node -->
		<Name>4</Name>
		<Dialogue>
			<Page>Why must I go with you, Hatchling? Is it really that urgent?</Page>
		</Dialogue>
		<DialogueOptionsList>
			<DialogueOption>
				<Text>The universe is dying, we have no choice but to activate The Eye!</Text>
				<DialogueTarget>5</DialogueTarget>
			</DialogueOption>
		</DialogueOptionsList>
	</DialogueNode>

	<DialogueNode>
		<!-- The end node -->
		<Name>5</Name>
		<Dialogue>
			<Page>The Eye? That vortex thing? I'd rather die here on my homeworld!</Page>
		</Dialogue>
		<DialogueOptionsList>
			<DialogueOption>
				<Text>If The Scientist was here, he'd say it's time.</Text>
				<DialogueTarget>6</DialogueTarget>
			</DialogueOption>
		</DialogueOptionsList>
	</DialogueNode>

	<DialogueNode>
		<!-- The end node -->
		<Name>6</Name>
		<Dialogue>
			<Page>No he woul.....wait....</Page>
			<Page>I remember...he passed down a note through many generations.</Page>
			<Page>It said..."Wait for all the stars to die, then activate the Universe's Eye".</Page>
			<Page>Heh, you know a lot, stranger! Do you have something to take us there?</Page>
		</Dialogue>
		<DialogueOptionsList>
			<DialogueOption>
				<Text>Yes, come aboard the Vessel!</Text>
				<DialogueTarget>7</DialogueTarget>
			</DialogueOption>
		</DialogueOptionsList>
	</DialogueNode>

	<DialogueNode>
		<!-- The end node -->
		<Name>7</Name>
		<Dialogue>
			<Page>Alright, I alone shall come with you on this journey.</Page>
			<Page>The others can keep guard of our homeland. I'll start my way on over.</Page>
		</Dialogue>
		<SetPersistentCondition>CYPRESS_BOARDVESSEL</SetPersistentCondition>
		<RevealFacts>
			<FactID>HOME_LEADER_VESSEL</FactID>
		</RevealFacts>
	</DialogueNode>
 </DialogueTree>