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