News

[Mod Request/Help] Module for Strategic repair on a ship - Support Repair ship

Posted on Monday, June 29, 2015

I need help to with creating a mod for making a module so that it can be put on a ship to repair all ships in the fleet

This is what I have come up with

I based it on the repair drones module. I haven't tested it out. I also looked at a starbase mod for reference

Would like advice on creating this mod in any way.
Like how do I find the file with the repairdrone description... there must be a link to another file.

Note: I tried to put it in xml code block but the text turned white...and the background is white in the block code.

<ShipComponent>
    <InternalName>RepairDronesStrategic</InternalName>
    <DisplayName>RepairDronesStrategic_Name</DisplayName>
    <Description>RepairDronesStrategic_Dec</Description>
    <ArtDefine>Slingshot_01</ArtDefine>
    <Category>Support</Category>
    <Type>RepairSupport</Type>
    <SupportType>Repair</SupportType>
    <PlacementType>Support</PlacementType>
    <Stats>
      <EffectType>Value</EffectType>
      <Target>
        <TargetType>Ship</TargetType>
      </Target>
      <BonusType>Flat</BonusType>
      <Value>6</Value>
    </Stats>
    <Stats>
      <EffectType>ManufacturingCost</EffectType>
      <Scope>Queue</Scope>
      <Target>
        <TargetType>Ship</TargetType>
      </Target>
      <BonusType>Flat</BonusType>
      <Value>75</Value>
    </Stats>
    <Stats>
      <EffectType>SupportMass</EffectType>
      <Target>
        <TargetType>Ship</TargetType>
      </Target>
      <BonusType>Flat</BonusType>
      <Value>20</Value>
    </Stats>
    <Stats>
      <EffectType>StrategicRepair</EffectType>
      <Scope>Fleet</Scope>
      <Target>
        <TargetType>Ship</TargetType>
      </Target>
      <BonusType>Flat</BonusType>
      <Value>5</Value>
    </Stats>
    <Stats>
      <EffectType>Maintenance</EffectType>
      <Target>
        <TargetType>Ship</TargetType>
      </Target>
      <BonusType>Flat</BonusType>
      <Value>1</Value>
    </Stats>
    <Prerequ>
      <Techs>
        <Option>HullRepairSystems</Option>
      </Techs>
    </Prerequ>
  </ShipComponent>