<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">
	<!-- Damage -->
	<DialogueNode>
		<Name>Chert_S2_Damage_First</Name>
		<EntryCondition>RH_CHERT_IMPACT_DAMAGE</EntryCondition>
		<Dialogue>
			<Page>Hm? Oh, goodness! Please, please, be careful! You could've concussed yourself there, friend!</Page>
			<Page>Ahem. Well, it's good to see you! I take it your first launch went well, then? Welcome to the Hourglass Twins. <![CDATA[<Pause=2>]]>Mind the sand, now.</Page>
		</Dialogue>
		<DialogueOptionsList>
			<ReuseDialogueOptionsListFrom>ChertIntro1</ReuseDialogueOptionsListFrom>
		</DialogueOptionsList>
	</DialogueNode>
	<DialogueNode>
		<Name>Chert_S2_Damage_1to2</Name>
		<EntryCondition>RH_CHERT_IMPACT_DAMAGE</EntryCondition>
		<EntryCondition>METCHERT_1</EntryCondition>
		<Dialogue>
			<Page>Hm? Oh, goodness! Please, please, be careful! You could've concussed yourself there, friend!</Page>
			<Page>Ahem. Well, I'm glad you're back. Have you noticed anything unusual about the stars lately? Something seems…<![CDATA[<Pause=0.5>]]> how to put this… <![CDATA[<Pause=0.5>]]>off.</Page>
			<Page>I’ve seen, what, ten supernovae already? Twelve? They’re in the double digits now, and that’s, you know, not normal. Not normal at all…</Page>
		</Dialogue>
		<SetCondition>SaidHiToChert2</SetCondition>
		<DialogueTarget>Questions</DialogueTarget>
	</DialogueNode>
	<DialogueNode>
		<Name>Chert_S2_Damage_TalkToAgain</Name>
		<EntryCondition>RH_CHERT_IMPACT_DAMAGE</EntryCondition>
		<EntryCondition>SaidHiToChert2</EntryCondition>
		<Dialogue>
			<Page>My! Had a bumpy entrance, did you? Be careful, now.</Page>
		</Dialogue>
		<DialogueTarget>Questions</DialogueTarget>
	</DialogueNode>

	<!-- Fire -->
	<DialogueNode>
		<Name>Chert_S2_Fire_First</Name>
		<EntryCondition>RH_CHERT_FIRE_DAMAGED_RECENT</EntryCondition>
		<Dialogue>
			<Page>Hm? Oh, goodness! Please, please, be careful around the fire!</Page>
			<Page>Ahem. Well, it's good to see you! I take it your first launch went well, then? Welcome to the Hourglass Twins. <![CDATA[<Pause=2>]]>Mind the sand, now.</Page>
		</Dialogue>
		<DialogueOptionsList>
			<ReuseDialogueOptionsListFrom>ChertIntro1</ReuseDialogueOptionsListFrom>
		</DialogueOptionsList>
		<ConditionToCancel>RH_CHERT_FIRE_DAMAGED_RECENT</ConditionToCancel>
		<SetCondition>RH_CHERT_FIRE_DIALOGUE_THISLOOP</SetCondition>
	</DialogueNode>
	<DialogueNode>
		<Name>Chert_S2_Fire_1to2</Name>
		<EntryCondition>RH_CHERT_FIRE_DAMAGED_RECENT</EntryCondition>
		<EntryCondition>METCHERT_1</EntryCondition>
		<Dialogue>
			<Page>Hm? Oh, goodness! Please, please, be careful around the fire!</Page>
			<Page>Ahem. Well, I'm glad you're back. Have you noticed anything unusual about the stars lately? Something seems…<![CDATA[<Pause=0.5>]]> how to put this… <![CDATA[<Pause=0.5>]]>off.</Page>
			<Page>I’ve seen, what, ten supernovae already? Twelve? They’re in the double digits now, and that’s, you know, not normal. Not normal at all…</Page>
		</Dialogue>
		<SetCondition>SaidHiToChert2</SetCondition>
		<DialogueTarget>Questions</DialogueTarget>
		<ConditionToCancel>RH_CHERT_FIRE_DAMAGED_RECENT</ConditionToCancel>
		<SetCondition>RH_CHERT_FIRE_DIALOGUE_THISLOOP</SetCondition>
	</DialogueNode>
	<DialogueNode>
		<Name>Chert_S2_Fire_TalkToAgain</Name>
		<EntryCondition>RH_CHERT_FIRE_DAMAGED_RECENT</EntryCondition>
		<EntryCondition>SaidHiToChert2</EntryCondition>
		<Dialogue>
			<Page>My! Caught yourself in the fire, did you? Be careful, now.</Page>
		</Dialogue>
		<DialogueTarget>Questions</DialogueTarget>
		<ConditionToCancel>RH_CHERT_FIRE_DAMAGED_RECENT</ConditionToCancel>
		<SetCondition>RH_CHERT_FIRE_DIALOGUE_THISLOOP</SetCondition>
	</DialogueNode>

	<DialogueNode>
		<Name>Chert_S2_BadMallow_First</Name>
		<EntryCondition>RH_CHERT_ATE_BAD_MALLOW</EntryCondition>
		<Dialogue>
			<Page>Hm? Uhh… ahem, perhaps it's just the lighting, but I think your marshmallow stash may have spoiled.</Page>
			<Page>Regardless, it's good to see you. I take it your first launch went well, then? Welcome to the Hourglass Twins. <![CDATA[<Pause=2>]]>Mind the sand, now.</Page>
		</Dialogue>
		<DialogueOptionsList>
			<ReuseDialogueOptionsListFrom>ChertIntro1</ReuseDialogueOptionsListFrom>
		</DialogueOptionsList>
		<SetCondition>RH_CHERT_ATE_BAD_MALLOW_DIALOGUE_THIS_LOOP</SetCondition>
	</DialogueNode>
	<!-- Intentionally not putting a 1-to-2 dialogue here, let it default to the vanilla one. -->
	<DialogueNode>
		<Name>Chert_S2_BadMallow_TalkToAgain</Name>
		<EntryCondition>RH_CHERT_ATE_BAD_MALLOW</EntryCondition>
		<EntryCondition>SaidHiToChert2</EntryCondition>
		<Dialogue>
			<Page>Uhh… ahem, perhaps it's just the lighting, but I think your marshmallow stash may have spoiled.</Page>
		</Dialogue>
		<SetCondition>RH_CHERT_ATE_BAD_MALLOW_DIALOGUE_THIS_LOOP</SetCondition>
		<DialogueTarget>Questions</DialogueTarget>
	</DialogueNode>

	<DialogueNode>
		<Name>Chert_S2_Hugged</Name>
		<EntryCondition>RH_CHERT_HUGGED_S2</EntryCondition>
		<Dialogue>
			<Page>Hmm? Oh! Hello there, friend.</Page>
			<Page>I take it your first launch went well, then? Welcome to the Hourglass Twins. <![CDATA[<Pause=2>]]>Mind the sand, now.</Page>
		</Dialogue>
		<DialogueOptionsList>
			<ReuseDialogueOptionsListFrom>ChertIntro1</ReuseDialogueOptionsListFrom>
		</DialogueOptionsList>
	</DialogueNode>
	<DialogueNode>
		<Name>Chert_S2_Hugged_TalkToAgain</Name>
		<EntryCondition>RH_CHERT_HUGGED_S2</EntryCondition>
		<EntryCondition>SaidHiToChert</EntryCondition>
		<Dialogue>
			<Page>Aww! Thank you. A hug… yes, that certainly helps keep my mind occupied.</Page>
		</Dialogue>
		<DialogueTarget>Questions</DialogueTarget>
	</DialogueNode>

	<!-- Ship breach dialogue -->
	<DialogueNode>
		<Name>ChertIntro1</Name>
		<DialogueOptionsList>
			<DialogueOption>
				<RequiredCondition>RH_SHIP_BREACH</RequiredCondition>
				<CancelledCondition>RH_CHERT_SHIP_BREACH_TALKED</CancelledCondition>
				<Text>My ship's completely busted.</Text>
				<DialogueTarget>Chert_S2_ShipHullBreach_Admit</DialogueTarget>
			</DialogueOption>
		</DialogueOptionsList>
	</DialogueNode>
	<DialogueNode>
		<Name>Questions</Name>
		<DialogueOptionsList>
			<DialogueOption>
				<CancelledCondition>Chert_Feldspar</CancelledCondition>
				<RequiredPersistentCondition>MetFeldspar</RequiredPersistentCondition>
				<Text>Just thought you'd like to know: Feldspar is alive.</Text>
				<DialogueTarget>Chert_S2_Feldspar</DialogueTarget>
			</DialogueOption>
			<DialogueOption>
				<RequiredCondition>RH_SHIP_BREACH</RequiredCondition>
				<CancelledCondition>RH_CHERT_SHIP_BREACH_TALKED</CancelledCondition>
				<Text>My ship's completely busted.</Text>
				<DialogueTarget>Chert_S2_ShipHullBreach_Admit</DialogueTarget>
			</DialogueOption>
		</DialogueOptionsList>
	</DialogueNode>

	<DialogueNode>
		<Name>Chert_S2_Feldspar</Name>
		<SetCondition>Chert_Feldspar</SetCondition>
		<Dialogue>
			<Page>Goodness!! Really? Oh, Hearth, I'm relieved. Where are they?!</Page>
		</Dialogue>
		<DialogueOptionsList>
			<DialogueOption>
				<RequiredLogCondition>DB_FELDSPAR_X3</RequiredLogCondition>
				<Text>They've been living inside Dark Bramble this whole time. They, uhh… don't want to leave.</Text>
				<DialogueTarget>Chert_S2_Feldspar_2</DialogueTarget>
			</DialogueOption>
			<DialogueOption>
				<CancelledLogCondition>DB_FELDSPAR_X3</CancelledLogCondition>
				<Text>They've been living inside Dark Bramble this whole time.</Text>
				<DialogueTarget>Chert_S2_Feldspar_3</DialogueTarget>
			</DialogueOption>
		</DialogueOptionsList>
	</DialogueNode>
	<DialogueNode>
		<Name>Chert_S2_Feldspar_2</Name>
		<Dialogue>
			<Page>What?! Inside Dark Bramble, with the anglerfish and the warped space, where it's incredibly easy to get lost or eaten or starve or run out of oxygen?! That…</Page>
			<Page>Oh, goodness, I was about to say I can't believe it, but I can. Of <![CDATA[<i>course</i>]]> they'd land there and not want to leave. Well, fine. They're welcome to stay!</Page>
		</Dialogue>
		<DialogueTarget>Questions</DialogueTarget>
	</DialogueNode>
	<DialogueNode>
		<Name>Chert_S2_Feldspar_3</Name>
		<Dialogue>
			<Page>What?! Inside Dark Bramble, with the anglerfish and the warped space, where it's incredibly easy to get lost or eaten or starve or run out of oxygen?! That…</Page>
			<Page>Oh, goodness, I was about to say I can't believe it, but I can. If anyone could survive in conditions like that, it'd be Feldspar!</Page>
			<Page>Well, go and rescue them, please! I'm sure everyone would be ecstatic to see them again.</Page>
		</Dialogue>
		<DialogueTarget>Questions</DialogueTarget>
	</DialogueNode>

	<DialogueNode>
		<Name>Chert_S2_ShipHullBreach_Admit</Name>
		<Dialogue>
			<Page>Oh, umm… friend… I'm… so sorry to hear that.</Page>
			<Page>This was supposed to be your big day, wasn't it? What an awful… awful shame.</Page>
			<Page>I-it's alright, though! We all make mistakes. It's nothing Slate can't put back together… or rebuild, for that matter.</Page>
			<Page>Ah, umm, don't worry, though! You're not stranded here; there's plenty of room for the both of us inside my ship! Once I'm done with my star charts, we can fly right back down to home base and get this all settled. That… might take a while, but I'll be on it, d-don't you worry!</Page>
			<Page>In the meantime… how about you explore Ember Twin? There's plenty to see, so don't worry about getting bored, either.</Page>
			<Page>I'll just be here, umm… stargazing.</Page>
		</Dialogue>

		<SetCondition>SaidHiToChert</SetCondition>
		<SetCondition>SaidHiToChert2</SetCondition>
		<SetPersistentCondition>ChertFirstContact</SetPersistentCondition>

		<SetCondition>RH_CHERT_SHIP_BREACH_TALKED</SetCondition>

		<DialogueTarget>Questions</DialogueTarget>
	</DialogueNode>
	
	<DialogueNode>
		<Name>Chert_S2_ShipHullBreach</Name>
		<EntryCondition>RH_CHERT_SHIP_BREACH</EntryCondition>
		<Dialogue>
			<Page>Goodness! Oh my… your ship, it's… oh, friend, I'm so sorry.</Page>
			<Page>This was supposed to be your big day, wasn't it? What an awful… awful shame.</Page>
			<Page>I-it's alright, though! We all make mistakes. It's nothing Slate can't put back together… or rebuild, for that matter.</Page>
			<Page>Ah, umm, don't worry, though! You're not stranded here; there's plenty of room for the both of us inside my ship! Once I'm done with my star charts, we can fly right back down to home base and get this all settled. That… might take a while, but I'll be on it, d-don't you worry!</Page>
			<Page>In the meantime… how about you explore Ember Twin? There's plenty to see, so don't worry about getting bored, either.</Page>
			<Page>I'll just be here, umm… stargazing.</Page>
		</Dialogue>

		<SetCondition>SaidHiToChert</SetCondition>
		<SetCondition>SaidHiToChert2</SetCondition>
		<SetPersistentCondition>ChertFirstContact</SetPersistentCondition>

		<SetCondition>RH_CHERT_SHIP_BREACH_TALKED</SetCondition>

		<DialogueTarget>Questions</DialogueTarget>
	</DialogueNode>

	<DialogueNode>
		<Name>Chert_S2_ShipHullBreach_1to2</Name>

		<EntryCondition>RH_CHERT_SHIP_BREACH_TALKED</EntryCondition>
		<EntryCondition>METCHERT_1</EntryCondition>

		<Dialogue>
			<Page>Hello again, friend. I hope you're fairing well out here.</Page>
			<Page>Personally, I've been having some trouble. Have you noticed anything unusual about the stars lately? Something seems…<![CDATA[<Pause=0.5>]]> how to put this… <![CDATA[<Pause=0.5>]]>off.</Page>
			<Page>I’ve seen, what, ten supernovae already? Twelve? They’re in the double digits now, and that’s, you know, not normal. Not normal at all…</Page>
		</Dialogue>
		<SetCondition>SaidHiToChert2</SetCondition>
		<DialogueTarget>Questions</DialogueTarget>
	</DialogueNode>

	<DialogueNode>
		<Name>Chert_S2_ShipHullBreach_TalkToAgain</Name>
		
		<EntryCondition>RH_CHERT_SHIP_BREACH_TALKED</EntryCondition>
		<EntryCondition>SaidHiToChert2</EntryCondition>
		
		<Dialogue>
			<Page>Hello again, friend.</Page>
		</Dialogue>

		<SetCondition>SaidHiToChert</SetCondition>
		<SetCondition>SaidHiToChert2</SetCondition>
		<SetPersistentCondition>ChertFirstContact</SetPersistentCondition>

		<DialogueTarget>Questions</DialogueTarget>
	</DialogueNode>

	<!-- New discoveries -->
	<DialogueNode>
		<Name>FoundSomethingMenu</Name>
		<DialogueOptionsList>
			<DialogueOption>
				<CancelledCondition>CHERT_KNOWS_STRANGER</CancelledCondition>
				<RequiredLogCondition>IP_RING_WORLD_X1</RequiredLogCondition>
				<Text>I found a hidden ring world in our solar system!</Text>
				<DialogueTarget>Chert_S2_Stranger</DialogueTarget>
			</DialogueOption>
		</DialogueOptionsList>
	</DialogueNode>
	<DialogueNode>
		<Name>Chert_S2_Stranger</Name>
		<Dialogue>
			<Page>Really?! Goodness, that's fascinating!</Page>
			<Page>It's surrounded by some sort of cloaking field? It's just… been there the whole time?</Page>
			<Page>And… there's… another species in there? It's not Nomaian, it's… froms somewhere else?</Page>
			<Page>Oh my, that's… wow, that's a lot for me to take in all at once. It frankly frightens me a little.</Page>
			<Page>Who knows how long they've just been… watching us, without us ever knowing. Agh! It's giving me the creeps just thinking about it!</Page>
			<Page>Have fun investigating that! I think I'll stay right here, thank you very much.</Page>
		</Dialogue>
		<SetCondition>CHERT_KNOWS_STRANGER</SetCondition>
		<DialogueTarget>Questions</DialogueTarget>
	</DialogueNode>

	<!-- Redirect -->
	<DialogueNode>
		<EntryCondition>ChertBreakdownNomai</EntryCondition>
		<Name>ChertBreakdownNomai_2</Name>
		<Dialogue>
			<Page>B-b-but surely, I would have seen some kind of other sign than the supernovae, so p-perhaps…?</Page>
		</Dialogue>
	</DialogueNode>
</DialogueTree>