Enchantment level support for multisells.

This commit is contained in:
mobius
2015-01-31 22:49:02 +00:00
parent bf7b56f0ba
commit 1289171727
6 changed files with 18 additions and 12 deletions

View File

@@ -37,7 +37,9 @@ TAGS:
<list></list> : start and end the list
<item></item> : start and end a single entry within the list
<production id="itemID" count="amount"/> : add a product for the entry
<ingredient id="ItemID" count="amount"/> : add an ingredient for the entry.
<ingredient id="ItemID" count="amount"/> : add an ingredient for the entry
enchantmentLevel : add item enchantment level
Sample:
<list applyTaxes="true">
@@ -48,7 +50,7 @@ Sample:
<ingredient id="57" count="200">
</item>
<item>
<production id="123" count="1">
<production id="123" enchantmentLevel="16" count="1">
<ingredient id="57" count="2030">
</item>
</list>

View File

@@ -23,6 +23,7 @@
<xs:element name="ingredient" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="id" type="xs:integer" use="required" />
<xs:attribute name="enchantmentLevel" type="xs:integer" />
<xs:attribute name="count" type="xs:positiveInteger" use="required" />
<xs:attribute name="maintainIngredient" type="xs:boolean" />
</xs:complexType>
@@ -30,6 +31,7 @@
<xs:element name="production" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="id" type="xs:integer" use="required" />
<xs:attribute name="enchantmentLevel" type="xs:integer" />
<xs:attribute name="count" type="xs:positiveInteger" use="required" />
<xs:attribute name="chance" type="xs:integer" use="optional" />
</xs:complexType>