Changed location and interval triggers to be part of the script because it would make it easier to manage.

This commit is contained in:
Brendan Robert 2014-06-07 13:28:15 -05:00
parent 04b9a40a7b
commit 4444380178

View File

@ -31,25 +31,21 @@
<xs:element name="name" type="xs:string"/>
<xs:element name="description" type="xs:string" minOccurs="0"/>
<xs:element name="block" type="tns:block"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="locationScript">
<xs:complexContent>
<xs:extension base="tns:script">
<xs:attribute name="x" type="xs:int"/>
<xs:attribute name="y" type="xs:int"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="intervalScript">
<xs:complexContent>
<xs:extension base="tns:script">
<xs:element name="locationTrigger" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="x" type="xs:int"/>
<xs:attribute name="y" type="xs:int"/>
</xs:complexType>
</xs:element>
<xs:element name="intervalTrigger" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="start" type="xs:int" use="optional"/>
<xs:attribute name="end" type="xs:int" use="optional"/>
<xs:attribute name="period" type="xs:int" use="optional"/>
<xs:attribute name="ifTrue" type="xs:string" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="map">
<xs:sequence>