Skip to content

Commit

Permalink
Merge pull request #115 from zer0Kerbal/zer0Kerbal-hutiwephy-1
Browse files Browse the repository at this point in the history
Update B9TanksSwitch.cfg
  • Loading branch information
zer0Kerbal authored May 14, 2022
2 parents 9dc41f7 + ca4eae0 commit 6a4de0d
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
name = Ore
primaryColor = #caa472
secondaryColor = #caa472
title = #autoLOC_501007 = Ore
title = #autoLOC_501007 // Ore
tankType = Ore
percentFilled = 0
}
Expand Down Expand Up @@ -55,4 +55,4 @@
!RESOURCE[Ore]
}

// CC BY-NC-SA 3.0 Unported by zer0Kerbal
// CC BY-NC-SA 3.0 Unported by zer0Kerbal
39 changes: 37 additions & 2 deletions GameData/SimpleConstruction/Config/SimpleConstruction/Tanks.cfg
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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]
Expand All @@ -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

0 comments on commit 6a4de0d

Please sign in to comment.