[Add] Utility to help with indentation. <XML>
This commit is contained in:
parent
35969bab38
commit
86e4bb10e9
@ -9,7 +9,7 @@
|
||||
<enemies>
|
||||
<enemy>Pirate</enemy>
|
||||
<enemy>Collective</enemy>
|
||||
<enemy>DLF</enemy>
|
||||
<enemy>FLF</enemy>
|
||||
<enemy>Collective</enemy>
|
||||
</enemies>
|
||||
</faction>
|
||||
@ -23,7 +23,7 @@
|
||||
</allies>
|
||||
<enemies>
|
||||
<enemy>Pirate</enemy>
|
||||
<enemy>DLF</enemy>
|
||||
<enemy>FLF</enemy>
|
||||
<enemy>Collective</enemy>
|
||||
</enemies>
|
||||
</faction>
|
||||
@ -31,8 +31,8 @@
|
||||
<player>-20</player>
|
||||
<enemies>
|
||||
<enemy>Empire</enemy>
|
||||
<enemy>Draktharr</enemy>
|
||||
<enemy>Tex'nus</enemy>
|
||||
<enemy>Dvaered</enemy>
|
||||
<enemy>Za'lek</enemy>
|
||||
<enemy>Collective</enemy>
|
||||
<enemy>Soromid</enemy>
|
||||
</enemies>
|
||||
@ -46,20 +46,20 @@
|
||||
<enemies>
|
||||
<enemy>Pirate</enemy>
|
||||
<enemy>Collective</enemy>
|
||||
<enemy>DLF</enemy>
|
||||
<enemy>FLF</enemy>
|
||||
</enemies>
|
||||
</faction>
|
||||
<faction name="Empire">
|
||||
<player>0</player>
|
||||
<allies>
|
||||
<ally>Draktharr</ally>
|
||||
<ally>Dvaered</ally>
|
||||
<ally>Soromid</ally>
|
||||
<ally>Tex'nus</ally>
|
||||
<ally>Za'lek</ally>
|
||||
<ally>Merchant</ally>
|
||||
</allies>
|
||||
<enemies>
|
||||
<enemy>Pirate</enemy>
|
||||
<enemy>DLF</enemy>
|
||||
<enemy>FLF</enemy>
|
||||
<enemy>Collective</enemy>
|
||||
</enemies>
|
||||
</faction>
|
||||
@ -67,38 +67,38 @@
|
||||
<player>-100</player>
|
||||
<enemies>
|
||||
<enemy>Empire</enemy>
|
||||
<enemy>Draktharr</enemy>
|
||||
<enemy>Tex'nus</enemy>
|
||||
<enemy>Dvaered</enemy>
|
||||
<enemy>Za'lek</enemy>
|
||||
<enemy>Soromid</enemy>
|
||||
<enemy>Pirate</enemy>
|
||||
<enemy>DLF</enemy>
|
||||
<enemy>FLF</enemy>
|
||||
</enemies>
|
||||
</faction>
|
||||
<faction name="DLF">
|
||||
<longname>Detours Liberation Front</longname>
|
||||
<faction name="FLF">
|
||||
<longname>Frontier Liberation Front</longname>
|
||||
<player>-10</player>
|
||||
<enemies>
|
||||
<enemy>Empire</enemy>
|
||||
<enemy>Draktharr</enemy>
|
||||
<enemy>Tex'nus</enemy>
|
||||
<enemy>Dvaered</enemy>
|
||||
<enemy>Za'lek</enemy>
|
||||
<enemy>Collective</enemy>
|
||||
<enemy>Soromid</enemy>
|
||||
</enemies>
|
||||
</faction>
|
||||
<faction name="Draktharr">
|
||||
<longname>House Draktharr</longname>
|
||||
<faction name="Dvaered">
|
||||
<longname>House Dvaered</longname>
|
||||
<player>0</player>
|
||||
<allies>
|
||||
<ally>Empire</ally>
|
||||
</allies>
|
||||
<enemies>
|
||||
<enemy>Pirate</enemy>
|
||||
<enemy>DLF</enemy>
|
||||
<enemy>FLF</enemy>
|
||||
<enemy>Collective</enemy>
|
||||
</enemies>
|
||||
</faction>
|
||||
<faction name="Tex'nus">
|
||||
<longname>House Tex'nus</longname>
|
||||
<faction name="Za'lek">
|
||||
<longname>House Soromid</longname>
|
||||
<player>0</player>
|
||||
<allies>
|
||||
<ally>Empire</ally>
|
||||
@ -106,7 +106,7 @@
|
||||
<enemies>
|
||||
<enemy>Pirate</enemy>
|
||||
<enemy>Collective</enemy>
|
||||
<enemy>DLF</enemy>
|
||||
<enemy>FLF</enemy>
|
||||
</enemies>
|
||||
</faction>
|
||||
<faction name="Soromid">
|
||||
@ -118,7 +118,7 @@
|
||||
</allies>
|
||||
<enemies>
|
||||
<enemy>Pirate</enemy>
|
||||
<enemy>DLF</enemy>
|
||||
<enemy>FLF</enemy>
|
||||
<enemy>Collective</enemy>
|
||||
</enemies>
|
||||
</faction>
|
||||
@ -131,7 +131,7 @@
|
||||
</allies>
|
||||
<enemies>
|
||||
<enemy>Pirate</enemy>
|
||||
<enemy>DLF</enemy>
|
||||
<enemy>FLF</enemy>
|
||||
<enemy>Collective</enemy>
|
||||
</enemies>
|
||||
</faction>
|
||||
|
@ -4,114 +4,114 @@
|
||||
<ai>militia</ai>
|
||||
<faction>Militia</faction>
|
||||
<pilots>
|
||||
<pilot chance='100'>Lancelot</pilot>
|
||||
<pilot chance="100">Lancelot</pilot>
|
||||
</pilots>
|
||||
</fleet>
|
||||
<fleet name="Goddard Goddard">
|
||||
<ai>militia</ai>
|
||||
<faction>Goddard</faction>
|
||||
<pilots>
|
||||
<pilot chance='100'>Goddard</pilot>
|
||||
<pilot chance="100">Goddard</pilot>
|
||||
</pilots>
|
||||
</fleet>
|
||||
<fleet name="Merchant Llama">
|
||||
<ai>merchant</ai>
|
||||
<faction>Merchant</faction>
|
||||
<pilots>
|
||||
<pilot chance='100'>Llama</pilot>
|
||||
<pilot chance="100">Llama</pilot>
|
||||
</pilots>
|
||||
</fleet>
|
||||
<fleet name="Merchant Mule">
|
||||
<ai>merchant</ai>
|
||||
<faction>Merchant</faction>
|
||||
<pilots>
|
||||
<pilot chance='100'>Mule</pilot>
|
||||
<pilot chance="100">Mule</pilot>
|
||||
</pilots>
|
||||
</fleet>
|
||||
<fleet name="Sml Merchant Convoy">
|
||||
<ai>merchant</ai>
|
||||
<faction>Merchant</faction>
|
||||
<pilots>
|
||||
<pilot chance='80'>Llama</pilot>
|
||||
<pilot chance='80'>Llama</pilot>
|
||||
<pilot chance='80'>Mule</pilot>
|
||||
<pilot chance='80'>Mule</pilot>
|
||||
<pilot chance="80">Llama</pilot>
|
||||
<pilot chance="80">Llama</pilot>
|
||||
<pilot chance="80">Mule</pilot>
|
||||
<pilot chance="80">Mule</pilot>
|
||||
</pilots>
|
||||
</fleet>
|
||||
<fleet name="Pirate Hyena">
|
||||
<ai>pirate</ai>
|
||||
<faction>Pirate</faction>
|
||||
<pilots>
|
||||
<pilot chance='100'>Hyena</pilot>
|
||||
<pilot chance="100">Hyena</pilot>
|
||||
</pilots>
|
||||
</fleet>
|
||||
<fleet name="Pirate Hyena Pack">
|
||||
<ai>pirate</ai>
|
||||
<faction>Pirate</faction>
|
||||
<pilots>
|
||||
<pilot chance='100'>Hyena</pilot>
|
||||
<pilot chance='100'>Hyena</pilot>
|
||||
<pilot chance='80'>Hyena</pilot>
|
||||
<pilot chance='60'>Hyena</pilot>
|
||||
<pilot chance='40'>Hyena</pilot>
|
||||
<pilot chance="100">Hyena</pilot>
|
||||
<pilot chance="100">Hyena</pilot>
|
||||
<pilot chance="80">Hyena</pilot>
|
||||
<pilot chance="60">Hyena</pilot>
|
||||
<pilot chance="40">Hyena</pilot>
|
||||
</pilots>
|
||||
</fleet>
|
||||
<fleet name="Pirate Admonisher">
|
||||
<ai>pirate</ai>
|
||||
<faction>Pirate</faction>
|
||||
<pilots>
|
||||
<pilot chance='100'>Pirate Admonisher</pilot>
|
||||
<pilot chance="100">Pirate Admonisher</pilot>
|
||||
</pilots>
|
||||
</fleet>
|
||||
<fleet name="Collective Drone">
|
||||
<ai>collective</ai>
|
||||
<faction>Collective</faction>
|
||||
<pilots>
|
||||
<pilot chance='100'>Drone</pilot>
|
||||
<pilot chance="100">Drone</pilot>
|
||||
</pilots>
|
||||
</fleet>
|
||||
<fleet name="Collective Sml Swarm">
|
||||
<ai>collective</ai>
|
||||
<faction>Collective</faction>
|
||||
<pilots>
|
||||
<pilot chance='100'>Drone</pilot>
|
||||
<pilot chance='90'>Drone</pilot>
|
||||
<pilot chance='80'>Drone</pilot>
|
||||
<pilot chance='70'>Drone</pilot>
|
||||
<pilot chance='60'>Drone</pilot>
|
||||
<pilot chance='50'>Drone</pilot>
|
||||
<pilot chance="100">Drone</pilot>
|
||||
<pilot chance="90">Drone</pilot>
|
||||
<pilot chance="80">Drone</pilot>
|
||||
<pilot chance="70">Drone</pilot>
|
||||
<pilot chance="60">Drone</pilot>
|
||||
<pilot chance="50">Drone</pilot>
|
||||
</pilots>
|
||||
</fleet>
|
||||
<fleet name="Empire Lancelot">
|
||||
<ai>empire</ai>
|
||||
<faction>Empire</faction>
|
||||
<pilots>
|
||||
<pilot chance='100'>Lancelot</pilot>
|
||||
<pilot chance="100">Lancelot</pilot>
|
||||
</pilots>
|
||||
</fleet>
|
||||
<fleet name="Empire Sml Defense">
|
||||
<ai>empire</ai>
|
||||
<faction>Empire</faction>
|
||||
<pilots>
|
||||
<pilot chance='100'>Lancelot</pilot>
|
||||
<pilot chance='80'>Lancelot</pilot>
|
||||
<pilot chance='60'>Admonisher</pilot>
|
||||
<pilot chance='50'>Pacifier</pilot>
|
||||
<pilot chance='30'>Hawking</pilot>
|
||||
<pilot chance="100">Lancelot</pilot>
|
||||
<pilot chance="80">Lancelot</pilot>
|
||||
<pilot chance="60">Admonisher</pilot>
|
||||
<pilot chance="50">Pacifier</pilot>
|
||||
<pilot chance="30">Hawking</pilot>
|
||||
</pilots>
|
||||
</fleet>
|
||||
<fleet name="Empire Pacifier">
|
||||
<ai>empire</ai>
|
||||
<faction>Empire</faction>
|
||||
<pilots>
|
||||
<pilot chance='100'>Pacifier</pilot>
|
||||
<pilot chance="100">Pacifier</pilot>
|
||||
</pilots>
|
||||
</fleet>
|
||||
<fleet name="Empire Admonisher">
|
||||
<ai>empire</ai>
|
||||
<faction>Empire</faction>
|
||||
<pilots>
|
||||
<pilot chance='100'>Admonisher</pilot>
|
||||
<pilot chance="100">Admonisher</pilot>
|
||||
</pilots>
|
||||
</fleet>
|
||||
</Fleets>
|
@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<GUIs>
|
||||
<gui name="minimal" gfx="minimal">
|
||||
<gui gfx="minimal" name="minimal">
|
||||
<offset>
|
||||
<x>-65</x>
|
||||
<y>0</y>
|
||||
|
@ -1,3 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Missions>
|
||||
<mission name="Welcome">
|
||||
<lua>welcome</lua>
|
||||
@ -45,7 +46,7 @@
|
||||
<unique>1</unique>
|
||||
</flags>
|
||||
<avail>
|
||||
<cond>var.peek("es_cargo") == true and space.jumpDist("NCG-1791") < 5 and player.getFaction("Empire") > 5 and player.getRating() > 10</cond>
|
||||
<cond>var.peek("es_cargo") == true and space.jumpDist("NCG-7291") < 5 and player.getFaction("Empire") > 5 and player.getRating() > 10</cond>
|
||||
<chance>60</chance>
|
||||
<location>Bar</location>
|
||||
<faction>Empire</faction>
|
||||
@ -57,7 +58,7 @@
|
||||
<unique>1</unique>
|
||||
</flags>
|
||||
<avail>
|
||||
<cond>player.getFaction("Empire") > 30</cond>
|
||||
<cond>player.getFaction("Empire") > 30</cond>
|
||||
<done>Collective Scouting</done>
|
||||
<chance>100</chance>
|
||||
<location>Bar</location>
|
||||
@ -70,9 +71,9 @@
|
||||
<unique>1</unique>
|
||||
</flags>
|
||||
<avail>
|
||||
<cond>player.getFaction("Empire") > 30</cond>
|
||||
<cond>player.getFaction("Empire") > 30</cond>
|
||||
<done>Collective Espionage 1</done>
|
||||
<chance>70</chance>
|
||||
<chance>100</chance>
|
||||
<location>Bar</location>
|
||||
<planet>Omega Station</planet>
|
||||
</avail>
|
||||
|
110
dat/ship.xml
110
dat/ship.xml
@ -22,15 +22,15 @@
|
||||
<armour_regen>50</armour_regen>
|
||||
<energy_regen>500</energy_regen>
|
||||
</health>
|
||||
<characteristics>
|
||||
<caracteristics>
|
||||
<crew>2</crew>
|
||||
<mass>32</mass>
|
||||
<fuel>400</fuel>
|
||||
<cap_weapon>25</cap_weapon>
|
||||
<cap_cargo>20</cap_cargo>
|
||||
</characteristics>
|
||||
</caracteristics>
|
||||
<outfits>
|
||||
<outfit quantity='1'>Laser Cannon</outfit>
|
||||
<outfit quantity="1">Laser Cannon</outfit>
|
||||
</outfits>
|
||||
</ship>
|
||||
<ship name="Hyena">
|
||||
@ -55,15 +55,15 @@
|
||||
<armour_regen>60</armour_regen>
|
||||
<energy_regen>550</energy_regen>
|
||||
</health>
|
||||
<characteristics>
|
||||
<caracteristics>
|
||||
<crew>2</crew>
|
||||
<mass>25</mass>
|
||||
<fuel>300</fuel>
|
||||
<cap_weapon>30</cap_weapon>
|
||||
<cap_cargo>10</cap_cargo>
|
||||
</characteristics>
|
||||
</caracteristics>
|
||||
<outfits>
|
||||
<outfit quantity='2'>Laser Cannon</outfit>
|
||||
<outfit quantity="2">Laser Cannon</outfit>
|
||||
</outfits>
|
||||
</ship>
|
||||
<ship name="Pacifier">
|
||||
@ -88,18 +88,18 @@
|
||||
<armour_regen>90</armour_regen>
|
||||
<energy_regen>1380</energy_regen>
|
||||
</health>
|
||||
<characteristics>
|
||||
<caracteristics>
|
||||
<crew>17</crew>
|
||||
<mass>230</mass>
|
||||
<fuel>500</fuel>
|
||||
<cap_weapon>130</cap_weapon>
|
||||
<cap_cargo>30</cap_cargo>
|
||||
</characteristics>
|
||||
</caracteristics>
|
||||
<outfits>
|
||||
<outfit quantity='2'>Laser Cannon</outfit>
|
||||
<outfit quantity='1'>Laser Turret</outfit>
|
||||
<outfit quantity='2'>Headhunter Launcher</outfit>
|
||||
<outfit quantity='40'>Headhunter</outfit>
|
||||
<outfit quantity="2">Laser Cannon</outfit>
|
||||
<outfit quantity="1">Laser Turret</outfit>
|
||||
<outfit quantity="2">Headhunter Launcher</outfit>
|
||||
<outfit quantity="40">Headhunter</outfit>
|
||||
</outfits>
|
||||
</ship>
|
||||
<ship name="Hawking">
|
||||
@ -124,17 +124,17 @@
|
||||
<armour_regen>80</armour_regen>
|
||||
<energy_regen>1600</energy_regen>
|
||||
</health>
|
||||
<characteristics>
|
||||
<caracteristics>
|
||||
<crew>35</crew>
|
||||
<mass>3750</mass>
|
||||
<fuel>300</fuel>
|
||||
<cap_weapon>200</cap_weapon>
|
||||
<cap_cargo>70</cap_cargo>
|
||||
</characteristics>
|
||||
</caracteristics>
|
||||
<outfits>
|
||||
<outfit quantity='3'>Laser Turret</outfit>
|
||||
<outfit quantity='2'>Headhunter Launcher</outfit>
|
||||
<outfit quantity='40'>Headhunter</outfit>
|
||||
<outfit quantity="3">Laser Turret</outfit>
|
||||
<outfit quantity="2">Headhunter Launcher</outfit>
|
||||
<outfit quantity="40">Headhunter</outfit>
|
||||
</outfits>
|
||||
</ship>
|
||||
<ship name="Lancelot">
|
||||
@ -145,8 +145,7 @@
|
||||
<price>500000</price>
|
||||
<fabricator>Nexus</fabricator>
|
||||
<tech>7</tech>
|
||||
<description>One of the Nexus' prize heavy fighters. Was originally a secret design for the Empire military, but then disclosed. Now a modified version is available for civilians, although it doesn't meet up to the original specifications.
|
||||
Used by security agencies all over the universe for it's reliability and availability. Proudly enforcing your security since UST 1132.</description>
|
||||
<description>One of the Nexus' prize heavy fighters. Was originally a secret design for the Empire military, but then disclosed. Now a modified version is available for civilians, although it doesn't meet up to the original specifications.Used by security agencies all over the universe for it's reliability and availability. Proudly enforcing your security since UST 1132.</description>
|
||||
<movement>
|
||||
<thrust>220</thrust>
|
||||
<turn>135</turn>
|
||||
@ -160,17 +159,17 @@ Used by security agencies all over the universe for it's reliability and availab
|
||||
<armour_regen>60</armour_regen>
|
||||
<energy_regen>980</energy_regen>
|
||||
</health>
|
||||
<characteristics>
|
||||
<caracteristics>
|
||||
<crew>4</crew>
|
||||
<mass>90</mass>
|
||||
<fuel>400</fuel>
|
||||
<cap_weapon>80</cap_weapon>
|
||||
<cap_cargo>10</cap_cargo>
|
||||
</characteristics>
|
||||
</caracteristics>
|
||||
<outfits>
|
||||
<outfit quantity='2'>Ripper MK2</outfit>
|
||||
<outfit quantity='1'>Headhunter Launcher</outfit>
|
||||
<outfit quantity='20'>Headhunter</outfit>
|
||||
<outfit quantity="2">Ripper MK2</outfit>
|
||||
<outfit quantity="1">Headhunter Launcher</outfit>
|
||||
<outfit quantity="20">Headhunter</outfit>
|
||||
</outfits>
|
||||
</ship>
|
||||
<ship name="Mule">
|
||||
@ -195,15 +194,15 @@ Used by security agencies all over the universe for it's reliability and availab
|
||||
<armour_regen>40</armour_regen>
|
||||
<energy_regen>800</energy_regen>
|
||||
</health>
|
||||
<characteristics>
|
||||
<caracteristics>
|
||||
<crew>13</crew>
|
||||
<mass>1750</mass>
|
||||
<fuel>500</fuel>
|
||||
<cap_weapon>50</cap_weapon>
|
||||
<cap_cargo>250</cap_cargo>
|
||||
</characteristics>
|
||||
</caracteristics>
|
||||
<outfits>
|
||||
<outfit quantity='2'>Laser Turret</outfit>
|
||||
<outfit quantity="2">Laser Turret</outfit>
|
||||
</outfits>
|
||||
</ship>
|
||||
<ship name="Drone">
|
||||
@ -228,15 +227,15 @@ Used by security agencies all over the universe for it's reliability and availab
|
||||
<armour_regen>420</armour_regen>
|
||||
<energy_regen>600</energy_regen>
|
||||
</health>
|
||||
<characteristics>
|
||||
<caracteristics>
|
||||
<crew>1</crew>
|
||||
<mass>15</mass>
|
||||
<fuel>1</fuel>
|
||||
<cap_weapon>24</cap_weapon>
|
||||
<cap_cargo>1</cap_cargo>
|
||||
</characteristics>
|
||||
</caracteristics>
|
||||
<outfits>
|
||||
<outfit quantity='3'>Neutron Disruptor</outfit>
|
||||
<outfit quantity="3">Neutron Disruptor</outfit>
|
||||
</outfits>
|
||||
</ship>
|
||||
<ship name="Gawain">
|
||||
@ -261,15 +260,15 @@ Used by security agencies all over the universe for it's reliability and availab
|
||||
<armour_regen>70</armour_regen>
|
||||
<energy_regen>700</energy_regen>
|
||||
</health>
|
||||
<characteristics>
|
||||
<caracteristics>
|
||||
<crew>2</crew>
|
||||
<mass>28</mass>
|
||||
<fuel>400</fuel>
|
||||
<cap_weapon>35</cap_weapon>
|
||||
<cap_cargo>15</cap_cargo>
|
||||
</characteristics>
|
||||
</caracteristics>
|
||||
<outfits>
|
||||
<outfit quantity='1'>Ion Cannon</outfit>
|
||||
<outfit quantity="1">Ion Cannon</outfit>
|
||||
</outfits>
|
||||
</ship>
|
||||
<ship name="Goddard">
|
||||
@ -280,8 +279,7 @@ Used by security agencies all over the universe for it's reliability and availab
|
||||
<price>11500000</price>
|
||||
<fabricator>House Goddard</fabricator>
|
||||
<tech>1001</tech>
|
||||
<description>The archaic design of the Goddard is decieving. Although it takes the shape of traditional flying intra-planet vessels, it's very suited for space travel.
|
||||
Production is entirely done on Zhiru en the Goddard system by House Goddard, the sole providor and dealer in Goddards. Over time, specialization and improvements on the original time have kept it very competitive in the market. It's a classic of space.</description>
|
||||
<description>The archaic design of the Goddard is decieving. Although it takes the shape of traditional flying intra-planet vessels, it's very suited for space travel.Production is entirely done on Zhiru en the Goddard system by House Goddard the sole providor and dealer in Goddards. Over time, specialization and improvements on the original time have kept it very competitive in the market. It's a classic of space.</description>
|
||||
<movement>
|
||||
<thrust>100</thrust>
|
||||
<turn>80</turn>
|
||||
@ -295,18 +293,18 @@ Production is entirely done on Zhiru en the Goddard system by House Goddard, the
|
||||
<armour_regen>90</armour_regen>
|
||||
<energy_regen>1700</energy_regen>
|
||||
</health>
|
||||
<characteristics>
|
||||
<caracteristics>
|
||||
<crew>52</crew>
|
||||
<mass>4350</mass>
|
||||
<fuel>500</fuel>
|
||||
<cap_weapon>250</cap_weapon>
|
||||
<cap_cargo>60</cap_cargo>
|
||||
</characteristics>
|
||||
</caracteristics>
|
||||
<outfits>
|
||||
<outfit quantity='2'>Heavy Ion Turret</outfit>
|
||||
<outfit quantity='2'>Laser Turret</outfit>
|
||||
<outfit quantity='2'>Headhunter Launcher</outfit>
|
||||
<outfit quantity='40'>Headhunter</outfit>
|
||||
<outfit quantity="2">Heavy Ion Turret</outfit>
|
||||
<outfit quantity="2">Laser Turret</outfit>
|
||||
<outfit quantity="2">Headhunter Launcher</outfit>
|
||||
<outfit quantity="40">Headhunter</outfit>
|
||||
</outfits>
|
||||
</ship>
|
||||
<ship name="Admonisher">
|
||||
@ -331,18 +329,18 @@ Production is entirely done on Zhiru en the Goddard system by House Goddard, the
|
||||
<armour_regen>90</armour_regen>
|
||||
<energy_regen>1180</energy_regen>
|
||||
</health>
|
||||
<characteristics>
|
||||
<caracteristics>
|
||||
<crew>13</crew>
|
||||
<mass>170</mass>
|
||||
<fuel>400</fuel>
|
||||
<cap_weapon>110</cap_weapon>
|
||||
<cap_cargo>20</cap_cargo>
|
||||
</characteristics>
|
||||
</caracteristics>
|
||||
<outfits>
|
||||
<outfit quantity='1'>Laser Cannon</outfit>
|
||||
<outfit quantity='2'>Plasma Blaster</outfit>
|
||||
<outfit quantity='1'>Headhunter Launcher</outfit>
|
||||
<outfit quantity='10'>Headhunter</outfit>
|
||||
<outfit quantity="1">Laser Cannon</outfit>
|
||||
<outfit quantity="2">Plasma Blaster</outfit>
|
||||
<outfit quantity="1">Headhunter Launcher</outfit>
|
||||
<outfit quantity="10">Headhunter</outfit>
|
||||
</outfits>
|
||||
</ship>
|
||||
<ship name="Pirate Admonisher">
|
||||
@ -367,17 +365,17 @@ Production is entirely done on Zhiru en the Goddard system by House Goddard, the
|
||||
<armour_regen>60</armour_regen>
|
||||
<energy_regen>1180</energy_regen>
|
||||
</health>
|
||||
<characteristics>
|
||||
<caracteristics>
|
||||
<crew>13</crew>
|
||||
<mass>165</mass>
|
||||
<fuel>400</fuel>
|
||||
<cap_weapon>125</cap_weapon>
|
||||
<cap_cargo>15</cap_cargo>
|
||||
</characteristics>
|
||||
</caracteristics>
|
||||
<outfits>
|
||||
<outfit quantity='3'>Plasma Blaster</outfit>
|
||||
<outfit quantity='1'>Headhunter Launcher</outfit>
|
||||
<outfit quantity='10'>Headhunter</outfit>
|
||||
<outfit quantity="3">Plasma Blaster</outfit>
|
||||
<outfit quantity="1">Headhunter Launcher</outfit>
|
||||
<outfit quantity="10">Headhunter</outfit>
|
||||
</outfits>
|
||||
</ship>
|
||||
<ship name="Schroedinger">
|
||||
@ -402,15 +400,13 @@ Production is entirely done on Zhiru en the Goddard system by House Goddard, the
|
||||
<armour_regen>30</armour_regen>
|
||||
<energy_regen>400</energy_regen>
|
||||
</health>
|
||||
<characteristics>
|
||||
<caracteristics>
|
||||
<crew>2</crew>
|
||||
<mass>17</mass>
|
||||
<fuel>800</fuel>
|
||||
<cap_weapon>15</cap_weapon>
|
||||
<cap_cargo>15</cap_cargo>
|
||||
</characteristics>
|
||||
<outfits>
|
||||
<outfit quantity='3'>Plasma Blaster</outfit>
|
||||
</outfits>
|
||||
</caracteristics>
|
||||
<outfits/>
|
||||
</ship>
|
||||
</Ships>
|
@ -1,3 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Start>
|
||||
<name>Dark Tides</name>
|
||||
<player>
|
||||
|
21
utils/resedit/indent-xml.py
Executable file
21
utils/resedit/indent-xml.py
Executable file
@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env python
|
||||
"""
|
||||
Copyright (C) 2013 SaraCraft Studios.
|
||||
allanis@saracraft.net
|
||||
"""
|
||||
import sys
|
||||
from xml.dom import minidom
|
||||
import data
|
||||
|
||||
def main():
|
||||
sys.argv.remove(sys.argv[0]) # Remove self.
|
||||
for file in sys.argv:
|
||||
fp = open(file, 'rw+')
|
||||
doc = minidom.parse(file)
|
||||
data.write_proper_xml(fp, doc)
|
||||
doc.unlink()
|
||||
fp.close()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user