fix: Fix validation issues for items and vehicles

- Add some documentation to schema types
pull/92/head
Chris Jennewein 2020-11-02 22:14:45 -07:00
parent 7f8e28db4e
commit 22f4b7b762
3 changed files with 63 additions and 14420 deletions

14383
FightClub5eXML/Sources/items.xml Executable file → Normal file

File diff suppressed because it is too large Load Diff

44
FightClub5eXML/Sources/vehicles.xml Executable file → Normal file
View File

@ -63,15 +63,15 @@ Source: Unearthed Arcana: Of Ships And Sea p. 2</description>
<size>G</size>
<type>vehicle (90 ft. x 30 ft.)</type>
<alignment>Unaligned</alignment>
<ac></ac>
<ac>0</ac>
<hp>0</hp>
<speed>12 miles per hour (288 miles per day)</speed>
<str>-</str>
<dex>-</dex>
<con>-</con>
<int>-</int>
<wis>-</wis>
<cha>-</cha>
<str>0</str>
<dex>0</dex>
<con>0</con>
<int>0</int>
<wis>0</wis>
<cha>0</cha>
<save></save>
<skill></skill>
<languages></languages>
@ -100,15 +100,15 @@ Source: Mordenkainen's Tome of Foes p. 90</description>
<size>H</size>
<type>vehicle (30 ft. x 10 ft.)</type>
<alignment>Unaligned</alignment>
<ac></ac>
<ac>0</ac>
<hp>0</hp>
<speed>15 miles per hour (360 miles per day)</speed>
<str>-</str>
<dex>-</dex>
<con>-</con>
<int>-</int>
<wis>-</wis>
<cha>-</cha>
<str>0</str>
<dex>0</dex>
<con>0</con>
<int>0</int>
<wis>0</wis>
<cha>0</cha>
<save></save>
<skill></skill>
<languages></languages>
@ -859,15 +859,15 @@ Source: Acquisitions Incorporated p. 219</description>
<size>H</size>
<type>vehicle (120 ft. x 40 ft.)</type>
<alignment>Unaligned</alignment>
<ac></ac>
<ac>0</ac>
<hp>0</hp>
<speed>12 miles per hour (288 miles per day)</speed>
<str>-</str>
<dex>-</dex>
<con>-</con>
<int>-</int>
<wis>-</wis>
<cha>-</cha>
<str>0</str>
<dex>0</dex>
<con>0</con>
<int>0</int>
<wis>0</wis>
<cha>0</cha>
<save></save>
<skill></skill>
<languages></languages>
@ -1222,7 +1222,7 @@ Source: Baldur's Gate: Descent Into Avernus p. 219</description>
<size>L</size>
<type>CREATURE</type>
<alignment>Unaligned</alignment>
<ac>U (n, k, n, o, w, n)</ac>
<ac>16 (natural armor)</ac>
<hp>67 (9d10+18)</hp>
<speed>walk 30 ft.</speed>
<str>18</str>

View File

@ -101,39 +101,39 @@
<xs:simpleType name="itemEnum">
<xs:restriction base="xs:string">
<xs:enumeration value="LA"/>
<xs:enumeration value="MA"/>
<xs:enumeration value="HA"/>
<xs:enumeration value="S"/>
<xs:enumeration value="M"/>
<xs:enumeration value="R"/>
<xs:enumeration value="A"/>
<xs:enumeration value="RD"/>
<xs:enumeration value="ST"/>
<xs:enumeration value="WD"/>
<xs:enumeration value="RG"/>
<xs:enumeration value="P"/>
<xs:enumeration value="SC"/>
<xs:enumeration value="W"/>
<xs:enumeration value="G"/>
<xs:enumeration value="$"/>
<xs:enumeration value="LA"/><!-- light armor -->
<xs:enumeration value="MA"/><!-- medium armor -->
<xs:enumeration value="HA"/><!-- heavy armor -->
<xs:enumeration value="S"/><!-- shield -->
<xs:enumeration value="M"/><!-- melee weapon -->
<xs:enumeration value="R"/><!-- ranged weapon -->
<xs:enumeration value="A"/><!-- ammunication -->
<xs:enumeration value="RD"/><!-- rod -->
<xs:enumeration value="ST"/><!-- staff -->
<xs:enumeration value="WD"/><!-- wand -->
<xs:enumeration value="RG"/><!-- ring -->
<xs:enumeration value="P"/><!-- potion -->
<xs:enumeration value="SC"/><!-- scroll -->
<xs:enumeration value="W"/><!-- wonderous item -->
<xs:enumeration value="G"/><!-- adventuring gear -->
<xs:enumeration value="$"/><!-- money -->
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="damageEnum">
<xs:restriction base="xs:string">
<xs:enumeration value="B"/>
<xs:enumeration value="P"/>
<xs:enumeration value="S"/>
<xs:enumeration value="A"/>
<xs:enumeration value="C"/>
<xs:enumeration value="F"/>
<xs:enumeration value="FC"/>
<xs:enumeration value="L"/>
<xs:enumeration value="N"/>
<xs:enumeration value="PS"/>
<xs:enumeration value="R"/>
<xs:enumeration value="T"/>
<xs:enumeration value="B"/><!-- bludgeoning -->
<xs:enumeration value="P"/><!-- piercing -->
<xs:enumeration value="S"/><!-- slashing -->
<xs:enumeration value="A"/><!-- acid -->
<xs:enumeration value="C"/><!-- cold -->
<xs:enumeration value="F"/><!-- fire -->
<xs:enumeration value="FC"/><!-- force -->
<xs:enumeration value="L"/><!-- lightning -->
<xs:enumeration value="N"/><!-- necrotic -->
<xs:enumeration value="PS"/><!-- poison -->
<xs:enumeration value="R"/><!-- radiant -->
<xs:enumeration value="T"/><!-- thunder -->
<xs:enumeration value=""/>
</xs:restriction>
</xs:simpleType>