Implement loading of scenarios
- This also tweaks the scenario schemas for consistency between schemas and code, adds some unique key restraints, and makes some attributes required.
This commit is contained in:
@@ -52,10 +52,7 @@
|
||||
<xs:element name="text" minOccurs="1" maxOccurs="2" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="for" type="xs:integer" use="required"/>
|
||||
</xs:complexType><!--
|
||||
short personality,type;
|
||||
char link1[4],link2[4];
|
||||
short extras[4]; -->
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="dialogue">
|
||||
<xs:complexType>
|
||||
@@ -63,7 +60,7 @@
|
||||
<xs:element ref="personality" maxOccurs="10"/>
|
||||
<xs:element ref="node" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="boes" type="xs:string"/>
|
||||
<xs:attribute name="boes" type="xs:string" use="required"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
Reference in New Issue
Block a user