Skip to content

Commit

Permalink
Merge pull request #1 from Shimomeitakatote/patch-1
Browse files Browse the repository at this point in the history
Interstellar Extended Lithium Air Battery Support
  • Loading branch information
Rodg88 authored Oct 18, 2021
2 parents 526df61 + 9816805 commit e47a7d5
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions GameData/Bumblebee/Patches/Interstellar.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
@PART[bb_Core]:NEEDS[WarpPlugin]
{
@description ^= :$: Includes high capacity Lithium Air battery for extended flight time.

@RESOURCE[ElectricCharge]
{
@amount = 800.0
@maxAmount = 800.0
}

RESOURCE
{
name = KilowattHour
amount = 15
maxAmount = 15
}

// From Interstellar EC2503.cfg

MODULE
{
name = InterstellarDynamicResourceBuffer
resourceName = ElectricCharge
bufferSize = 800
}

MODULE
{
name = InterstellarResourceConverter
primaryResourceNames = KilowattHour
secondaryResourceNames = ElectricCharge
maxPowerPrimary = 8725
maxPowerSecondary = 8725
primaryConversionCostPower = false
secondaryConversionCostPower = false
primaryNormalizedDensity = 1
secondaryNormalizedDensity = 2.77777777777e-4 // 1 / 3600
}

MODULE
{
name = ModuleElementRadioactiveDecay
decayConstant = 1.0e-6
resourceName = KilowattHour
decayProduct = WasteHeat
convFactor = 0.001
}
}

0 comments on commit e47a7d5

Please sign in to comment.