Tech.xml

From Naevwiki
Jump to: navigation, search

Documentation of the tech.xml tech definition

Example

The following XML snippet demonstrates all the tags that make up tech.xml.

 
 <tech name="Test">
  <item>Laser Cannon MK1</item>
  <item>Llama</item>
  <item>Food</item>
  <item>Test2</item>
 </tech>
 <tech name="Test2">
  <item>Laser Cannon MK1</item>
  <item>Mule</item>
  <item>Ore</item>
 </tech>

Explanation of the major tags

tech

Defines a single tech group. The 'name' field is its identifier. It is only used to reference the tech group and will not appear in the game.

item

Defines an element of a tech group. Values may be the name of an outfit, the name of a ship, or the name of another tech group.