Fix Text Schema Types

This commit is contained in:
Ben C 2023-07-02 22:09:41 -04:00
parent 6754340a82
commit 997a32707b
No known key found for this signature in database
GPG Key ID: 556064B755159BBC

View File

@ -7,59 +7,49 @@
<xs:sequence>
<xs:element name="TextBlock" type="TextBlock" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
The different text blocks of this object
</xs:documentation>
<xs:documentation> The different text blocks of this object </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ShipLogConditions" type="ShipLogConditions" minOccurs="0" maxOccurs="unbounded">
<xs:element name="ShipLogConditions" type="ShipLogConditions" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
The conditions for unlocking ship log facts
</xs:documentation>
<xs:documentation> The conditions for unlocking ship log facts </xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="LocationA"/>
<xs:complexType name="LocationB"/>
<!-- Empty Type -->
<xs:complexType name="empty" />
<!-- Text Block Info -->
<xs:complexType name="TextBlock">
<xs:sequence>
<xs:element name="ID" type="xs:positiveInteger">
<xs:annotation>
<xs:documentation>
The id of this text block
</xs:documentation>
<xs:documentation> The id of this text block </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ParentID" type="xs:positiveInteger" minOccurs="0">
<xs:annotation>
<xs:documentation>
The id of the parent text block
</xs:documentation>
<xs:documentation> The id of the parent text block </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LocationA" type="LocationA" minOccurs="0">
<xs:element name="LocationA" type="empty" minOccurs="0">
<xs:annotation>
<xs:documentation>
</xs:documentation>
<xs:documentation> </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LocationB" type="LocationB" minOccurs="0">
<xs:element name="LocationB" type="empty" minOccurs="0">
<xs:annotation>
<xs:documentation>
</xs:documentation>
<xs:documentation> </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Text" type="xs:string">
<xs:annotation>
<xs:documentation>
The text to show for this option
</xs:documentation>
<xs:documentation> The text to show for this option </xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
@ -68,23 +58,20 @@
<!-- Ship Log Conditions Info -->
<xs:complexType name="ShipLogConditions">
<xs:sequence>
<xs:element name="LocationA" type="LocationA" minOccurs="0">
<xs:element name="LocationA" type="empty" minOccurs="0">
<xs:annotation>
<xs:documentation>
</xs:documentation>
<xs:documentation> </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LocationB" type="LocationB" minOccurs="0">
<xs:element name="LocationB" type="empty" minOccurs="0">
<xs:annotation>
<xs:documentation>
</xs:documentation>
<xs:documentation> </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RevealFact" type="RevealFact" minOccurs="0">
<xs:annotation>
<xs:documentation>
Facts to reveal when the player goes through this dialogue node
</xs:documentation>
<xs:documentation> Facts to reveal when the player goes through this dialogue
node </xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
@ -95,16 +82,13 @@
<xs:sequence>
<xs:element name="FactID" type="xs:string">
<xs:annotation>
<xs:documentation>
The ID of a fact to reveal
</xs:documentation>
<xs:documentation> The ID of a fact to reveal </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Condition" type="xs:string">
<xs:annotation>
<xs:documentation>
The text block ids (separated by commas) that need to be read to reveal that fact
</xs:documentation>
<xs:documentation> The text block ids (separated by commas) that need to be read
to reveal that fact </xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>