UmbraSpaceIndustries / NuclearRockets

Nuclear Pulse Drives for KSP!
Other
20 stars 13 forks source link

FSfuelSwitch error in OrionTank.cfg #59

Open BararQ opened 6 years ago

BararQ commented 6 years ago

On Load I get this error in my logs for FSfuelSwitch.

PartLoader: Compiling Part 'UmbraSpaceIndustries/Orion/Parts/OrionTank/USI_ORIONTank'

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

FSfuelSwitch: error parsing resource amount 4/0: '20000': ''

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

FSfuelSwitch: error parsing resource amount 4/0: '20000': ''

I fixed it by removing the ; at end of resource amounts and initialResourceAmounts in OrionTank.cfg

GameData\UmbraSpaceIndustries\Orion\Parts OrionTank.cfg

MODULE
{
    name = FSfuelSwitch
    resourceNames =NPU-250;NPU-500;NPU-1000;NPU-2500
    resourceAmounts = 20000;10000;5000;2000;          <-Remove the ;
    initialResourceAmounts = 20000;10000;5000;2000;    <-Remove the ;
    tankCost = 1001000;1001000;1001000;1001000
    basePartMass = 10
    tankMass = 0;0;0;0
    hasGUI = false
}