diff --git a/GameData/SimpleConstruction/Compatibility/B9PartSwitch/B9TanksSwitch.cfg b/GameData/SimpleConstruction/Compatibility/B9PartSwitch/B9TanksSwitch.cfg index 1ceccd8b..eaab2a2f 100644 --- a/GameData/SimpleConstruction/Compatibility/B9PartSwitch/B9TanksSwitch.cfg +++ b/GameData/SimpleConstruction/Compatibility/B9PartSwitch/B9TanksSwitch.cfg @@ -22,7 +22,7 @@ name = Ore primaryColor = #caa472 secondaryColor = #caa472 - title = #autoLOC_501007 = Ore + title = #autoLOC_501007 // Ore tankType = Ore percentFilled = 0 } @@ -55,4 +55,4 @@ !RESOURCE[Ore] } -// CC BY-NC-SA 3.0 Unported by zer0Kerbal \ No newline at end of file +// CC BY-NC-SA 3.0 Unported by zer0Kerbal diff --git a/GameData/SimpleConstruction/Config/SimpleConstruction/Tanks.cfg b/GameData/SimpleConstruction/Config/SimpleConstruction/Tanks.cfg index ae5f7c8d..933889ea 100644 --- a/GameData/SimpleConstruction/Config/SimpleConstruction/Tanks.cfg +++ b/GameData/SimpleConstruction/Config/SimpleConstruction/Tanks.cfg @@ -1,7 +1,7 @@ -// Tanks.cfg v1.0.2.0 +// Tanks.cfg v1.0.3.0 // SimpleConstruction! (SCON) // created: 2020 03 27 -// updated: 26 Feb 2022 +// updated: 13 May 2022 // *************************** Resource Reference // name = Ore @@ -39,6 +39,14 @@ { @name = Metal } + + !TechRequired:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = DELETE + !entryCost:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = DELETE + @category:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = -1 + %TechHidden:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = True + %entryCost:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = 0 + @title:NEEDS[B9PartSwitch|InterstellarFuelSwitch] ^= :^: Kindly use new part numbers : + @description:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = This part has been depreciated, kindly use new part. } +PART[SmallTank,LargeTank,RadialOreTank]:NEEDS[SimpleConstruction]:FOR[SimpleConstruction] @@ -54,12 +62,39 @@ { @name = RocketParts } + + !TechRequired:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = DELETE + !entryCost:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = DELETE + @category:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = -1 + %TechHidden:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = True + %entryCost:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = 0 + @title:NEEDS[B9PartSwitch|InterstellarFuelSwitch] ^= :^: Kindly use new part numbers : + @description:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = This part has been depreciated, kindly use new part. } @PART[SmallTank,LargeTank,RadialOreTank]:NEEDS[SimpleConstruction]:FOR[SimpleConstruction] { // @name ^= :$:-ore: @title ^= :$: (Ore): + + // ghost extra partsif B9PartSwitch or InterstellarFuelSwitch present + // so shouldn't affect saves + !TechRequired:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = DELETE + !entryCost:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = DELETE + @category:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = -1 + %TechHidden:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = True + %entryCost:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = 0 + @title:NEEDS[B9PartSwitch|InterstellarFuelSwitch] ^= :^: Kindly use new part numbers : + @description:NEEDS[B9PartSwitch|InterstellarFuelSwitch] = This part has been depreciated, kindly use new part. } + +@PART[SmallTank,LargeTank,RadialOreTank]:NEEDS[SimpleConstruction,B9PartSwitch|InterstellarFuelSwitch]:FOR[SimpleConstruction] +{ + // if B9PartSwitch or InterstellarFuelSwitch present, rename tanks back to stock + @title ^= : (Ore):: + +} + + // GPLv2 BY zer0Kerbal \ No newline at end of file