From 247af626c3bec81c355e7cf8e19fbeff6061b4f5 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Tue, 12 Apr 2022 01:13:58 -0500 Subject: [PATCH] 1.12.1.0 (2017-04-09) - MFT fix ## 1.12.1.0 (2017-04-09) - MFT fix * Corrected some MM patch issues for ModularFuelTanks. * Co-Authored-By: NecroBones <10134364+NecroBones@users.noreply.github.com * closes #75 - 1.12.1 (2017-04-09) - MFT fix * updates #26 - Previous Releases Co-Authored-By: NecroBones <10134364+NecroBones@users.noreply.github.com> --- --- FuelTanksPlus.version | 6 +++--- .../FuelTanksPlus/FuelTanksPlus-CHANGELOG.txt | 3 +++ .../FuelTanksPlus/FuelTanksPlus.version | 6 +++--- .../Patches/FuelTanksPlus_ModularFuelTanks.cfg | 15 ++++++++++++--- json/ksp.json | 2 +- json/mod.json | 2 +- 6 files changed, 23 insertions(+), 11 deletions(-) diff --git a/FuelTanksPlus.version b/FuelTanksPlus.version index 14db1383..06d30ac0 100644 --- a/FuelTanksPlus.version +++ b/FuelTanksPlus.version @@ -13,14 +13,14 @@ { "MAJOR" : 1, "MINOR" : 12, - "PATCH" : 0, + "PATCH" : 1, "BUILD" : 0 }, "KSP_VERSION" : { "MAJOR" : 1, - "MINOR" : 2, - "PATCH" : 2 + "MINOR" : 3, + "PATCH" : 0 }, "KSP_VERSION_MIN" : { diff --git a/GameData/NecroBones/FuelTanksPlus/FuelTanksPlus-CHANGELOG.txt b/GameData/NecroBones/FuelTanksPlus/FuelTanksPlus-CHANGELOG.txt index 74dd121b..1e4d570c 100644 --- a/GameData/NecroBones/FuelTanksPlus/FuelTanksPlus-CHANGELOG.txt +++ b/GameData/NecroBones/FuelTanksPlus/FuelTanksPlus-CHANGELOG.txt @@ -1,3 +1,6 @@ +1.12.1 (2017-04-09) - MFT fix. + - Corrected some MM patch issues for ModularFuelTanks. + 1.12 (2017-04-07) - Tweaks & Fixes. - Corrected a typo that was preventing the B9PartSwitch patches from applying correctly on the radial tanks. - Slightly increased the performance of the 2m/3m stack decouplers, and increased their propellant maximums. diff --git a/GameData/NecroBones/FuelTanksPlus/FuelTanksPlus.version b/GameData/NecroBones/FuelTanksPlus/FuelTanksPlus.version index e03f2e7a..39661b73 100644 --- a/GameData/NecroBones/FuelTanksPlus/FuelTanksPlus.version +++ b/GameData/NecroBones/FuelTanksPlus/FuelTanksPlus.version @@ -13,14 +13,14 @@ { "MAJOR" : 1, "MINOR" : 12, - "PATCH" : 0, + "PATCH" : 1, "BUILD" : 0 }, "KSP_VERSION" : { "MAJOR" : 1, - "MINOR" : 2, - "PATCH" : 2 + "MINOR" : 3, + "PATCH" : 0 }, "KSP_VERSION_MIN" : { diff --git a/GameData/NecroBones/FuelTanksPlus/Patches/FuelTanksPlus_ModularFuelTanks.cfg b/GameData/NecroBones/FuelTanksPlus/Patches/FuelTanksPlus_ModularFuelTanks.cfg index efc42c48..31b480a2 100644 --- a/GameData/NecroBones/FuelTanksPlus/Patches/FuelTanksPlus_ModularFuelTanks.cfg +++ b/GameData/NecroBones/FuelTanksPlus/Patches/FuelTanksPlus_ModularFuelTanks.cfg @@ -1,8 +1,17 @@ @PART[TPtank*|TPcone*|TPdome*]:FOR[FuelTanksPlus]:NEEDS[ModularFuelTanks] { - origLFO = #$RESOURCE[LiquidFuel]/maxAmount$ - @origLFO += #$RESOURCE[Oxidizer]/maxAmount$ - + origLFO = 0 +} +@PART:HAS[#origLFO[0],@RESOURCE[LiquidFuel]:HAS[#maxAmount[>0]]]:FOR[FuelTanksPlus]:NEEDS[ModularFuelTanks] +{ + @origLFO += #$RESOURCE[LiquidFuel]:HAS[#maxAmount[>0]]/maxAmount$ +} +@PART:HAS[#origLFO[*],@RESOURCE[Oxidizer]:HAS[#maxAmount[>0]]]:FOR[FuelTanksPlus]:NEEDS[ModularFuelTanks] +{ + @origLFO += #$RESOURCE[Oxidizer]:HAS[#maxAmount[>0]]/maxAmount$ +} +@PART:HAS[#origLFO[>-1]]:FOR[FuelTanksPlus]:NEEDS[ModularFuelTanks] +{ MODULE { name = ModuleFuelTanks diff --git a/json/ksp.json b/json/ksp.json index 6786c6fe..93d8c94e 100644 --- a/json/ksp.json +++ b/json/ksp.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "label": "KSP", "labelColor": "black", - "message": "1.2.2", + "message": "1.3.0", "color": "66ccff", "style": "plastic" } diff --git a/json/mod.json b/json/mod.json index 5244574c..987c36c9 100644 --- a/json/mod.json +++ b/json/mod.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "label": "Fuel Tanks Plus", "labelColor": "BADA55", - "message": "1.12.0.0", + "message": "1.12.1.0", "color": "darkgreen", "style": "plastic" }