Document <Randomize/> (#126)

* Document <Randomize/>
This commit is contained in:
TerrificTrifid 2022-05-16 17:28:10 -05:00 committed by GitHub
parent ffedbd5b0d
commit a475564db6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- Dialogue Tree --> <!-- Dialogue Tree -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- Empty Type -->
<xs:complexType name="empty"/>
<!-- Dialogue Tree Info --> <!-- Dialogue Tree Info -->
<xs:element name="DialogueTree"> <xs:element name="DialogueTree">
<xs:complexType> <xs:complexType>
@ -42,7 +45,14 @@
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>
</xs:element> </xs:element>
<xs:element name="Dialogue" type="Dialogue"> <xs:element name="Randomize" type="empty" minOccurs="0">
<xs:annotation>
<xs:documentation>
When used with multiple Dialogues, the node will choose a random one to show
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Dialogue" type="Dialogue" maxOccurs="unbounded">
<xs:annotation> <xs:annotation>
<xs:documentation> <xs:documentation>
The dialogue to show to the player The dialogue to show to the player