Damage Control Component |
I just added a Damage Control Component to my mod. What it does is it repairs a very small amount of ship tonnage per turn. Its setup so that it requires crew to function, and is only 1 component per ship effective. Problem is, it repairs over 300kt of tonnage each turn. I only made it 20kt at tech level 20 (Max Level). I don't understand why its repairing so much tonnage.
Name := Damage Control
Description := Damage control crew members slowly repair a ship's systems.
Picture Number := 111
Maximum Level := 20
Tonnage Space Taken Formula := 10
Tonnage Structure Formula := 10
Cost Minerals Formula := 20
Cost Organics Formula := 20
Cost Radioactives Formula := 0
Supply Amount Used Formula := 0
Ordnance Amount Used Formula := 0
Can Be Placed On Vehicle Types := Base, Ship
Can Be Placed In Ship Sections := Inner Hull, Outer Hull
Component Type List := Technological
General Group := Miscellaneous
Custom Group := 0
Number Of Requirements := 3
Requirements Evaluation Availability := 1
Requirements Evaluation Allows Placement := 2, 3
Requirements Evaluation Allows Usage := TRUE
Requirement 1 Description := Empire must have at least tech level 1 in Vehicle Systems.
Requirement 1 Formula := Get_Empire_Tech_Level("Vehicle Systems") >= (1 + ([%Level%] - 1))
Requirement 2 Description := This component requires a crew to function.
Requirement 2 Formula := does_component_have_ability("Control Center")
Requirement 3 Description := There is a limit of one Damage Control per vehicle.
Requirement 3 Formula := Get_Design_Specific_Component_Count("Damage Control")
Re: Damage Control Component
Please, post the ability field to see if there is any error...?
Re: Damage Control Component
When posting > and < symbols, you need to HTML-ise them - ie use ampersand gt semi-colon and ampersand lt semi-colon.
Re: Damage Control Component
It won't actually require any crew to function. Requirements are only checked at design time.
Ability 1 Amount 1 Formula := 0 + (([%Level%]) * 1)
You actually made it repair an amount of tonnage equal to its level..
Do you have multiple ships with these components in the stack? Other repair components? All repair abilities are added together in one sector-wide pool; there is no way to make a component repair just the ship it is on.




Re: Damage Control Component
Check to see if it's repairing 20kt to EACH DAMAGED component on the ship. That might be it.