<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<dftd-submarine>
  <classification identifier="submarine_IXc40" modelname="submarine_IXc40.ddxml" type="submarine" country="DE"/>
  <description>
    <far lang="en">Submarine</far>
    <far lang="de">U-Boot</far>
    <far lang="it">Sommergibile</far>
    <medium lang="en">Diesel submarine</medium>
    <medium lang="de">Diesel-U-Boot</medium>
    <medium lang="it">Sommergibile diesel</medium>
    <near lang="en">Submarine type IXc40</near>
    <near lang="de">U-Boot Typ IXc40</near>
    <near lang="it">Sommergibile Tipo IXc40</near>
  </description>
  <motion maxspeed="19.0" maxrevspeed="5" acceleration="0.55" turnrate="0.18">
    <submerged maxspeed="7.3" safedepth="225" maxdepth="235"/>
  </motion>
  <tonnage min="1545" max="1545"/>
  <smoke type="0" x="0" y="0" z="0"/>
  <sensors>
    <sensor type="lookout"/>
    <sensor type="passivesonar"/>
    <sensor type="radar" model="German FuMO 30"/>
  </sensors>
  <ai type="none"/>
  <depths scope="12" snorkel="10" alarm="150"/>
  <torpedoes>
    <tubes bow="4" stern="2" bowreserve="6" sternreserve="2" bowdeckreserve="4" sterndeckreserve="4"/>
    <transfertimes bow="900" stern="900" bowdeck="10800" sterndeck="10800" bowsterndeck="1800"/>
  </torpedoes>
  <battery capacity="100" consumption_a="1.3129e-6" consumption_t="0.77071" recharge_a="1" recharge_t="1"/>
  <torpedomanage image="../VIIc/type7c_torpmanage_sidetop.jpg|png" />
  <fuel capacity="1200" consumption_a="5.3766e-8" consumption_t="2.62382"/>
  <gun_turrets>
    <turret barrels="1" shell_capacity="110" initial_velocity="240.0" max_inclination="30" max_declination="0" time_to_man="20" time_to_unman="20" shell_damage="0.2" calibre="110.0" exclusion_radius_start="160" exclusion_radius_end="200"/>
  </gun_turrets>
  <bridge model="conning_tower_typeVIIc.xml">
  	<camera x="0.25" y="3.45" z="5.65"/>
  	<uzo x="0" y="0" z="6"/>
  	<freeview x="20" y="0" z="10"/>
  </bridge>
  <parts>
    <part id="ballast tank front">
      <begin x="0" y="0" z="0"/>
      <end x="0" y="0" z="0"/>
      <repair repairable="false" weakness="0.4"/>
      <buoyancy volume="1000" air="1000" fuel="0" water="0"/>
    </part>

    <part id="ballast tank rear">
      <begin x="1" y="1" z="1"/>
      <end x="1" y="1" z="1"/>
      <repair repairable="false" weakness="0.4"/>
      <buoyancy volume="1000" air="1000" fuel="0" water="0"/>
    </part>

    <part id="outer fuel tank left">
      <begin x="0.672414" y="0.413043" z="1.000000"/>
      <end x="0.299569" y="0.528986" z="0.821429"/>
      <repair repairable="false" weakness="0.2"/>
      <buoyancy volume="1000" air="0" fuel="1000" water="0"/>
    </part>

    <part id="outer fuel tank right">
      <begin x="0.062500" y="0.304348" z="0.607143"/>
      <end x="0.043103" y="0.362319" z="0.392857"/>
      <repair repairable="false" weakness="0.2"/>
      <buoyancy volume="1000" air="0" fuel="1000" water="0"/>
    </part>

    <part id="rudder">
      <begin x="0.090517" y="0.108696" z="0.892857"/>
      <end x="0.066810" y="0.297101" z="0.083333"/>
      <repair repairable="true" surfaced="true" time="3600" weakness="0.2"/>
    </part>
 
    <part id="screws">
      <begin x="0.131466" y="0.086957" z="0.678571"/>
      <end x="0.114224" y="0.253623" z="0.321429"/>
      <repair repairable="false" surfaced="true" time="3600" weakness="0.2"/>
    </part>
 
    <part id="screw shaft">
      <begin x="0.260776" y="0.130435" z="0.678571"/>
      <end x="0.132543" y="0.231884" z="0.321429"/>
      <repair repairable="true" surfaced="true" time="3600" weakness="0.2"/>
    </part>
 
    <part id="stern dive planes">
      <begin x="0.112069" y="0.137681" z="0.880952"/>
      <end x="0.087284" y="0.181159" z="0.119048"/>
      <repair repairable="true" surfaced="true" time="3600" weakness="0.2"/>
    </part>
 
    <part id="stern water pump">
      <begin x="0" y="0" z="0"/>
      <end x="0" y="0" z="0"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="stern pressure hull">
      <begin x="0.271552" y="0.108696" z="0.892857"/>
      <end x="0.000000" y="0.543478" z="0.107143"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="stern hatch">
      <begin x="0.273707" y="0.536232" z="0.607143"/>
      <end x="0.248922" y="0.579710" z="0.392857"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="electric engines">
      <begin x="0.332974" y="0.094203" z="0.797619"/>
      <end x="0.285560" y="0.246377" z="0.202381"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="air compressor">
      <begin x="0" y="0" z="0"/>
      <end x="0" y="0" z="0"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="machine water pump">
      <begin x="0" y="0" z="0"/>
      <end x="0" y="0" z="0"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="machine pressure hull">
      <begin x="0.451509" y="0.072464" z="0.833333"/>
      <end x="0.271552" y="0.543478" z="0.190476"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="aft battery">
      <begin x="0.627155" y="0.086957" z="0.750000"/>
      <end x="0.501078" y="0.253623" z="0.297619"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="diesel engines">
      <begin x="0.451509" y="0.086957" z="0.797619"/>
      <end x="0.353448" y="0.268116" z="0.202381"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="kitchen hatch (replacce by second periscope?)">
      <begin x="0" y="0" z="0"/>
      <end x="0" y="0" z="0"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="balance tank valves">
      <begin x="0" y="0" z="0"/>
      <end x="0" y="0" z="0"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="forward battery">
      <begin x="0.728448" y="0.086957" z="0.750000"/>
      <end x="0.627155" y="0.253623" z="0.297619"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="periscope">
      <begin x="0.535560" y="0.702899" z="0.559524"/>
      <end x="0.528017" y="0.942029" z="0.476190"/>
      <repair repairable="true" surfaced="true" time="3600" weakness="0.2"/>
    </part>
 
    <part id="central pressure hull">
      <begin x="0.721983" y="0.072464" z="0.833333"/>
      <end x="0.451509" y="0.543478" z="0.190476"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="bilge water pump">
      <begin x="0" y="0" z="0"/>
      <end x="0" y="0" z="0"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="conning tower hatch">
      <begin x="0.524784" y="0.710145" z="0.607143"/>
      <end x="0.509698" y="0.760870" z="0.392857"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="listening device">
      <begin x="0" y="0" z="0"/>
      <end x="0" y="0" z="0"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="radio device">
      <begin x="0" y="0" z="0"/>
      <end x="0" y="0" z="0"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="inner bow tubes">
      <begin x="0.828664" y="0.195652" z="0.678571"/>
      <end x="0.818966" y="0.384058" z="0.369048"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="outer bow tubes">
      <begin x="0.967672" y="0.195652" z="0.678571"/>
      <end x="0.925647" y="0.384058" z="0.369048"/>
      <repair repairable="false" surfaced="true" time="3600" weakness="0.2"/>
    </part>
 
    <part id="bow water pump">
      <begin x="0" y="0" z="0"/>
      <end x="0" y="0" z="0"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="bow hatch">
      <begin x="0.766164" y="0.536232" z="0.607143"/>
      <end x="0.740302" y="0.579710" z="0.392857"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="bow pressure hull">
      <begin x="0.915948" y="0.072464" z="0.833333"/>
      <end x="0.721983" y="0.543478" z="0.190476"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="bow dive planes">
      <begin x="0.935345" y="0.115942" z="0.940476"/>
      <end x="0.896552" y="0.181159" z="0.130952"/>
      <repair repairable="true" surfaced="true" time="3600" weakness="0.2"/>
    </part>
 
    <part id="aa gun">
      <begin x="0.480603" y="0.731884" z="0.678571"/>
      <end x="0.453664" y="0.898551" z="0.369048"/>
      <repair repairable="false" surfaced="true" time="3600" weakness="0.2"/>
    </part>
 
    <part id="ammo depot">
      <begin x="0.480603" y="0.579710" z="0.678571"/>
      <end x="0.451509" y="0.681159" z="0.369048"/>
      <repair repairable="false" surfaced="true" time="3600" weakness="0.2"/>
    </part>
 
    <part id="outer stern tubes">
      <begin x="0.062500" y="0.304348" z="0.607143"/>
      <end x="0.043103" y="0.362319" z="0.392857"/>
      <repair repairable="false" surfaced="true" time="3600" weakness="0.2"/>
    </part>
 
    <part id="inner stern tubes">
      <begin x="0.171336" y="0.304348" z="0.607143"/>
      <end x="0.161638" y="0.362319" z="0.392857"/>
      <repair repairable="true" surfaced="false" time="3600" weakness="0.2"/>
    </part>
 
    <part id="snorkel">
      <begin x="0" y="0" z="0"/>
      <end x="0" y="0" z="0"/>
      <repair repairable="true" surfaced="true" time="3600" weakness="0.2"/>
    </part>
 
    <part id="deck gun">
      <begin x="0.656250" y="0.572464" z="0.642857"/>
      <end x="0.586207" y="0.710145" z="0.357143"/>
      <repair repairable="false" surfaced="true" time="3600" weakness="0.2"/>
    </part>
 
    <part id="radio detection device">
      <begin x="0" y="0" z="0"/>
      <end x="0" y="0" z="0"/>
      <repair repairable="true" surfaced="true" time="3600" weakness="0.2"/>
    </part>
 
    <part id="radar">
      <begin x="0" y="0" z="0"/>
      <end x="0" y="0" z="0"/>
      <repair repairable="true" surfaced="true" time="3600" weakness="0.2"/>
    </part>

  </parts>
</dftd-submarine>
