<!ENTITY scIAVSalvage "0xDBAC2222">
Code: Select all
<ShipClass UNID="&scIAVSalvage;"
manufacturer= ""
class= "light IAV"
type= ""
mass= "25"
cargoSpace= "5"
thrust= "100"
maneuver= "8"
maxSpeed= "25"
leavesWreck= "100"
attributes= "commonwealth, genericClass"
>
<Armor>
<ArmorSection start="270" span="180" armorID="&itHeavyOmskArmor;" enhanced="250"/>
<ArmorSection start="90" span="180" armorID="&itHeavyOmskArmor;" enhanced="250"/>
</Armor>
<Devices>
<Table>
<Device item="&itOmskDeflectorII;" enhanced="250"/>
<Device item="&itArmorRepairDevice;" enhanced="100"/>
<Device item="&itArmorRepairDevice;" enhanced="100"/>
<Device item="&itArmorRepairDevice;" enhanced="100"/>
</Table>
</Devices>
<Image imageID="&rsIAVLight;" imageWidth="48" imageHeight="48"/>
<AISettings
aggressor= "true"
fireRateAdj= "10"
fireRangeAdj= "50"
fireAccuracy= "90"
perception= "4"
/>
<DriveImages>
<NozzleImage imageID="&rsDriveExhaust;" imageX="48" imageY="0" imageWidth="48" imageHeight="48"/>
<NozzlePos x="-43" y="5"/>
<NozzlePos x="-43" y="0"/>
<NozzlePos x="-43" y="-5"/>
</DriveImages>
</ShipClass>
Suggestion: Maybe instead of spawning a new ship to gather loot, you can just repurpose the current closest, returning salvage ship to pick up that loot too (just so long as the total RUs and all the items are kept track of. If the cargohold is full then it ignores repurpose commands and docks asap.
Another bug: If you have loot bearing salvage ships, and you use the [G]rbit Mothership, Cov[3]r mothership or [J]ock all ships Now commands, then the salvage ships do that, and you permanently lose the loot RUs and Items.
Possible fixes:
1. make all Salvage and Boarder ships ignore all such commands
2. Let them follow commands but add a check so that the ship in question remembers that it's carrying loot, and will deposit that loot whenever it next docks with the mothership.
I'll test the new version, but AFAIK manufactured squads are borked so that they instantly run off to the gate unless you quickly [J]ock all ships Now, and then when you launch them again, you have to immediately command them or they gate out.