Support for multisell enchantmentLevel option.
This commit is contained in:
@@ -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>
|
2
trunk/dist/game/data/xsd/multisell.xsd
vendored
2
trunk/dist/game/data/xsd/multisell.xsd
vendored
@@ -20,6 +20,7 @@
|
||||
<xs:element name="ingredient" minOccurs="0" 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>
|
||||
@@ -27,6 +28,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>
|
||||
|
Reference in New Issue
Block a user