| 1 |
<!DOCTYPE shiptype [ |
|---|
| 2 |
<!ELEMENT shiptype (nickname,class,image,reaktor,(builddata)*,weapons,flightcosts,flightheat,size,sensorrange,eps,maxcrew,maxcargo,(jdocks)?,(adocks)?,(slots)?,hull,panzerung,(shields)?,(deutfactor)?,(hydro)?,(torpedodef)?,(unkeepcosts)?,flags,description)> |
|---|
| 3 |
<!ATTLIST shiptype |
|---|
| 4 |
id CDATA #REQUIRED |
|---|
| 5 |
> |
|---|
| 6 |
<!ELEMENT nickname (#PCDATA)*> |
|---|
| 7 |
<!ELEMENT class (#PCDATA)*> |
|---|
| 8 |
<!ELEMENT image (#PCDATA)*> |
|---|
| 9 |
<!ELEMENT reaktor (ru,rd,ra,rm)> |
|---|
| 10 |
<!ELEMENT ru (#PCDATA)> |
|---|
| 11 |
<!ELEMENT rd (#PCDATA)> |
|---|
| 12 |
<!ELEMENT ra (#PCDATA)> |
|---|
| 13 |
<!ELEMENT rm (#PCDATA)> |
|---|
| 14 |
|
|---|
| 15 |
<!ELEMENT builddata (reqtechs,reqrace,costs,werften,(flagschiff)?)> |
|---|
| 16 |
<!ELEMENT reqtechs (tech)*> |
|---|
| 17 |
<!ELEMENT tech (#PCDATA)> |
|---|
| 18 |
<!ATTLIST tech |
|---|
| 19 |
id CDATA #REQUIRED |
|---|
| 20 |
> |
|---|
| 21 |
<!ELEMENT reqrace (#PCDATA)> |
|---|
| 22 |
<!ELEMENT costs ((res)*,e,crew,time,(factor)?)> |
|---|
| 23 |
<!ELEMENT res (name,image)> |
|---|
| 24 |
<!ELEMENT name (#PCDATA)> |
|---|
| 25 |
<!ELEMENT e (#PCDATA)> |
|---|
| 26 |
<!ELEMENT crew (#PCDATA)> |
|---|
| 27 |
<!ELEMENT time (#PCDATA)> |
|---|
| 28 |
<!ELEMENT factor (#PCDATA)> |
|---|
| 29 |
|
|---|
| 30 |
<!ELEMENT werften (werft)*> |
|---|
| 31 |
<!ELEMENT werft (#PCDATA)> |
|---|
| 32 |
<!ELEMENT flagschiff EMPTY> |
|---|
| 33 |
<!ELEMENT weapons (weapon)*> |
|---|
| 34 |
<!ELEMENT weapon (name,count,description)> |
|---|
| 35 |
<!ELEMENT count (#PCDATA)> |
|---|
| 36 |
<!ELEMENT description (#PCDATA)> |
|---|
| 37 |
|
|---|
| 38 |
<!ELEMENT shipcount (#PCDATA)> |
|---|
| 39 |
<!ELEMENT flightcosts (#PCDATA)> |
|---|
| 40 |
<!ELEMENT flightheat (#PCDATA)> |
|---|
| 41 |
<!ELEMENT size (#PCDATA)> |
|---|
| 42 |
<!ELEMENT sensorrange (#PCDATA)> |
|---|
| 43 |
<!ELEMENT eps (#PCDATA)> |
|---|
| 44 |
<!ELEMENT maxcrew (#PCDATA)> |
|---|
| 45 |
<!ELEMENT maxcargo (#PCDATA)> |
|---|
| 46 |
<!ELEMENT jdocks (#PCDATA)> |
|---|
| 47 |
<!ELEMENT adocks (#PCDATA)> |
|---|
| 48 |
<!ELEMENT slots (#PCDATA)> |
|---|
| 49 |
<!ATTLIST slots |
|---|
| 50 |
count CDATA #REQUIRED |
|---|
| 51 |
> |
|---|
| 52 |
<!ELEMENT hull (#PCDATA)> |
|---|
| 53 |
<!ELEMENT panzerung (#PCDATA)> |
|---|
| 54 |
<!ELEMENT shields (#PCDATA)> |
|---|
| 55 |
<!ELEMENT deutfactor (#PCDATA)> |
|---|
| 56 |
<!ELEMENT hydro (#PCDATA)> |
|---|
| 57 |
<!ELEMENT torpedodef (#PCDATA)> |
|---|
| 58 |
<!ELEMENT unkeepcosts (#PCDATA)> |
|---|
| 59 |
<!ELEMENT flags (flag)> |
|---|
| 60 |
<!ELEMENT flag (name,(description)?)> |
|---|
| 61 |
]> |
|---|
| 62 |
<shiptype id="{shiptype.id}"> |
|---|
| 63 |
<nickname><![CDATA[{shiptype.nickname}]]></nickname> |
|---|
| 64 |
<class><![CDATA[{shiptype.class}]]></class> |
|---|
| 65 |
<image><![CDATA[{shiptype.image}]]></image> |
|---|
| 66 |
<reaktor> |
|---|
| 67 |
<ru>{shiptype.ru}</ru> |
|---|
| 68 |
<rd>{shiptype.rd}</rd> |
|---|
| 69 |
<ra>{shiptype.ra}</ra> |
|---|
| 70 |
<rm>{shiptype.rm}</rm> |
|---|
| 71 |
</reaktor> |
|---|
| 72 |
|
|---|
| 73 |
{if shiptype.buildable} |
|---|
| 74 |
<builddata> |
|---|
| 75 |
<reqtechs> |
|---|
| 76 |
{if shiptype.tr1} |
|---|
| 77 |
<tech id="{shiptype.tr1}"><![CDATA[{shiptype.tr1.name}]]></tech> |
|---|
| 78 |
{/endif} |
|---|
| 79 |
{if shiptype.tr2} |
|---|
| 80 |
<tech id="{shiptype.tr2}"><![CDATA[{shiptype.tr2.name}]]></tech> |
|---|
| 81 |
{/endif} |
|---|
| 82 |
{if shiptype.tr3} |
|---|
| 83 |
<tech id="{shiptype.tr3}"><![CDATA[{shiptype.tr3.name}]]></tech> |
|---|
| 84 |
{/endif} |
|---|
| 85 |
</reqtechs> |
|---|
| 86 |
<reqrace>{shiptype.race}</reqrace> |
|---|
| 87 |
|
|---|
| 88 |
<costs> |
|---|
| 89 |
<!-- BEGIN res.listitem --> |
|---|
| 90 |
<res> |
|---|
| 91 |
<name><![CDATA[{res.name}]]></name> |
|---|
| 92 |
<image><![CDATA[{res.image}]]></image> |
|---|
| 93 |
</res> |
|---|
| 94 |
<!-- END res.listitem --> |
|---|
| 95 |
<e>{shiptype.cost.energie}</e> |
|---|
| 96 |
<crew>{shiptype.cost.crew}</crew> |
|---|
| 97 |
<time>{shiptype.cost.dauer}</time> |
|---|
| 98 |
{if shiptype.cost.linfactor} |
|---|
| 99 |
<factor>{shiptype.cost.linfactor}</factor> |
|---|
| 100 |
{/endif} |
|---|
| 101 |
</costs> |
|---|
| 102 |
<werften> |
|---|
| 103 |
<!-- BEGIN shiptype.werften.listitem --> |
|---|
| 104 |
<werft>{werft.name}</werft> |
|---|
| 105 |
<!-- END shiptype.werften.listitem --> |
|---|
| 106 |
</werften> |
|---|
| 107 |
{if shiptype.flagschiff} |
|---|
| 108 |
<flagschiff /> |
|---|
| 109 |
{/endif} |
|---|
| 110 |
</builddata> |
|---|
| 111 |
{/endif} |
|---|
| 112 |
|
|---|
| 113 |
<weapons> |
|---|
| 114 |
<!-- BEGIN shiptype.weapons.listitem --> |
|---|
| 115 |
<weapon> |
|---|
| 116 |
<name><![CDATA[{shiptype.weapon.name}]]></name> |
|---|
| 117 |
<count>{shiptype.weapon.count}</count> |
|---|
| 118 |
<description><![CDATA[{shiptype.weapon.description}]]></description> |
|---|
| 119 |
</weapon> |
|---|
| 120 |
<!-- END shiptype.weapons.listitem --> |
|---|
| 121 |
</weapons> |
|---|
| 122 |
<shipcount>{shiptype.count}</shipcount> |
|---|
| 123 |
<flightcosts>{shiptype.cost}</flightcosts> |
|---|
| 124 |
<flightheat>{shiptype.heat}</flightheat> |
|---|
| 125 |
<size>{shiptype.size}</size> |
|---|
| 126 |
<sensorrange>{shiptype.sensorrange}</sensorrange> |
|---|
| 127 |
<eps>{shiptype.eps}</eps> |
|---|
| 128 |
<maxcrew>{shiptype.crew}</maxcrew> |
|---|
| 129 |
<maxcargo>{shiptype.cargo}</maxcargo> |
|---|
| 130 |
{if shiptype.jdocks} |
|---|
| 131 |
<jdocks>{shiptype.jdocks}</jdocks> |
|---|
| 132 |
{/endif} |
|---|
| 133 |
{if shiptype.adocks} |
|---|
| 134 |
<adocks>{shiptype.adocks}</adocks> |
|---|
| 135 |
{/endif} |
|---|
| 136 |
{if shiptype.moduleslots} |
|---|
| 137 |
<slots count="{shiptype.moduleslots}"><![CDATA[{shiptype.moduleslots.desc}]]></slots> |
|---|
| 138 |
{/endif} |
|---|
| 139 |
<hull>{shiptype.hull}</hull> |
|---|
| 140 |
<panzerung>{shiptype.panzerung}</panzerung> |
|---|
| 141 |
{if shiptype.shields} |
|---|
| 142 |
<shields>{shiptype.shields}</shields> |
|---|
| 143 |
{/endif} |
|---|
| 144 |
{if shiptype.deutfactor} |
|---|
| 145 |
<deutfactor>{shiptype.deutfactor}</deutfactor> |
|---|
| 146 |
{/endif} |
|---|
| 147 |
{if shiptype.hydro} |
|---|
| 148 |
<hydro>{shiptype.hydro}</hydro> |
|---|
| 149 |
{/endif} |
|---|
| 150 |
{if shiptype.torpedodef} |
|---|
| 151 |
<torpedodef>{shiptype.torpedodef}</torpedodef> |
|---|
| 152 |
{/endif} |
|---|
| 153 |
{if shiptype.recost} |
|---|
| 154 |
<unkeepcosts>{shiptype.recost}</unkeepcosts> |
|---|
| 155 |
{/endif} |
|---|
| 156 |
<flags> |
|---|
| 157 |
<!-- BEGIN shiptypeflags.listitem --> |
|---|
| 158 |
<flag> |
|---|
| 159 |
<name><![CDATA[{shiptypeflag.name}]]></name> |
|---|
| 160 |
{if shiptypeflag.description} |
|---|
| 161 |
<description><![CDATA[{shiptypeflag.description}]]></description> |
|---|
| 162 |
{/endif} |
|---|
| 163 |
</flag> |
|---|
| 164 |
<!-- END shiptypeflags.listitem --> |
|---|
| 165 |
</flags> |
|---|
| 166 |
<description> |
|---|
| 167 |
<![CDATA[{shiptype.description}]]> |
|---|
| 168 |
</description> |
|---|
| 169 |
</shiptype> |
|---|