Skip to content

Commit

Permalink
Missed another level
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanKell committed May 31, 2023
1 parent d4eed0d commit ad4811d
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 38 deletions.
59 changes: 39 additions & 20 deletions GameData/ROSolar/PartUpgrades.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,83 +2,92 @@ PARTUPGRADE
{
name = solarTL1
partIcon = solarPanels5
techRequired:NEEDS[RP-0] = earlyPower
techRequired:NEEDS[RP-0] = primitiveSolarPanels
techRequired:NEEDS[!RP-0] = engineering101
title = Solar Panel Tech Level 1 (1961)
title = Solar Panel Tech Level 1 (1958)
description = Allows solar panels to upgrade to Tech Level 1. NOTE: You must purchase this upgrade here before you can use it.
}
PARTUPGRADE
{
name = solarTL2
partIcon = solarPanels5
techRequired:NEEDS[RP-0] = basicPower
techRequired:NEEDS[RP-0] = earlyPower
techRequired:NEEDS[!RP-0] = engineering101
title = Solar Panel Tech Level 2 (1963)
title = Solar Panel Tech Level 2 (1961)
description = Allows solar panels to upgrade to Tech Level 2. NOTE: You must purchase this upgrade here before you can use it.
}
PARTUPGRADE
{
name = solarTL3
partIcon = solarPanels5
techRequired:NEEDS[RP-0] = improvedPower
techRequired:NEEDS[RP-0] = basicPower
techRequired:NEEDS[!RP-0] = engineering101
title = Solar Panel Tech Level 3 (1964)
description = Allows solar panels to upgrade to Tech Level 3 and allows sun tracking. NOTE: You must purchase this upgrade here before you can use it.
title = Solar Panel Tech Level 3 (1963)
description = Allows solar panels to upgrade to Tech Level 3. NOTE: You must purchase this upgrade here before you can use it.
}
PARTUPGRADE
{
name = solarTL4
partIcon = solarPanels5
techRequired:NEEDS[RP-0] = lunarRatedPower
techRequired:NEEDS[RP-0] = improvedPower
techRequired:NEEDS[!RP-0] = engineering101
title = Solar Panel Tech Level 4 (1967)
description = Allows solar panels to upgrade to Tech Level 4. NOTE: You must purchase this upgrade here before you can use it.
title = Solar Panel Tech Level 4 (1964)
description = Allows solar panels to upgrade to Tech Level 4 and allows sun tracking. NOTE: You must purchase this upgrade here before you can use it.
}
PARTUPGRADE
{
name = solarTL5
partIcon = solarPanels5
techRequired:NEEDS[RP-0] = spaceStationSolarPanels
techRequired:NEEDS[RP-0] = lunarRatedPower
techRequired:NEEDS[!RP-0] = engineering101
title = Solar Panel Tech Level 5 (1975)
title = Solar Panel Tech Level 5 (1967)
description = Allows solar panels to upgrade to Tech Level 5. NOTE: You must purchase this upgrade here before you can use it.
}
PARTUPGRADE
{
name = solarTL6
partIcon = solarPanels5
techRequired:NEEDS[RP-0] = maturePower
techRequired:NEEDS[RP-0] = spaceStationSolarPanels
techRequired:NEEDS[!RP-0] = engineering101
title = Solar Panel Tech Level 6 (1980s)
title = Solar Panel Tech Level 6 (1975)
description = Allows solar panels to upgrade to Tech Level 6. NOTE: You must purchase this upgrade here before you can use it.
}
PARTUPGRADE
{
name = solarTL7
partIcon = solarPanels5
techRequired:NEEDS[RP-0] = largeScaleSolarArrays
techRequired:NEEDS[RP-0] = maturePower
techRequired:NEEDS[!RP-0] = engineering101
title = Solar Panel Tech Level 7 (1990s)
title = Solar Panel Tech Level 7 (1980s)
description = Allows solar panels to upgrade to Tech Level 7. NOTE: You must purchase this upgrade here before you can use it.
}
PARTUPGRADE
{
name = solarTL8
partIcon = solarPanels5
techRequired:NEEDS[RP-0] = advancedPower
techRequired:NEEDS[RP-0] = largeScaleSolarArrays
techRequired:NEEDS[!RP-0] = engineering101
title = Solar Panel Tech Level 8 (ISS)
title = Solar Panel Tech Level 8 (1990s)
description = Allows solar panels to upgrade to Tech Level 8. NOTE: You must purchase this upgrade here before you can use it.
}
PARTUPGRADE
{
name = solarTL9
partIcon = solarPanels5
techRequired:NEEDS[RP-0] = modernPower
techRequired:NEEDS[RP-0] = advancedPower
techRequired:NEEDS[!RP-0] = engineering101
title = Solar Panel Tech Level 9 (Modern)
title = Solar Panel Tech Level 9 (ISS)
description = Allows solar panels to upgrade to Tech Level 9. NOTE: You must purchase this upgrade here before you can use it.
}
PARTUPGRADE
{
name = solarTL10
partIcon = solarPanels5
techRequired:NEEDS[RP-0] = modernPower
techRequired:NEEDS[!RP-0] = engineering101
title = Solar Panel Tech Level 10 (Modern)
description = Allows solar panels to upgrade to Tech Level 10. NOTE: You must purchase this upgrade here before you can use it.
}

@PART[*]:HAS[@MODULE[ModuleROSolar]]:FOR[ROSolar]
{
Expand Down Expand Up @@ -125,6 +134,16 @@ PARTUPGRADE
{
name__ = solarTL8
maxTechLevel = 8
}
UPGRADE
{
name__ = solarTL9
maxTechLevel = 9
}
UPGRADE
{
name__ = solarTL10
maxTechLevel = 10
}
}
}
Expand Down
58 changes: 40 additions & 18 deletions GameData/ROSolar/TechLimits.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,28 @@ ROSOLAR_CONFIG
{
name = TL0
level = 0
description = 1956 Era
techRequired = start
kwPerM2 = 0.06
kgPerM2 = 0.012
costPerM2 = 1000
retractable = false
isTracking = false
massMultHinged = 1.25
massMultFolded = 1.75
massMultTrack = 2
costMultHinged = 1.1
costMultFolded = 1.75
costMultTrack = 2
key1 = 0,1,-0.01100084,-0.01100084
key20 = 11,0.8,-0.0006479075,-0.0006479075
key80 = 1200,0.2,-0.0002910884,-0.0002910884
key99 = 3650,0.01,-7.755102E-05,-7.755102E-05
}
ROS_TECH
{
name = TL1
level = 1
description = 1958 Era
techRequired = start
kwPerM2 = 0.063
Expand All @@ -24,8 +46,8 @@ ROSOLAR_CONFIG
}
ROS_TECH
{
name = TL1
level = 1
name = TL2
level = 2
description = 1961 Era
techRequired = start
kwPerM2 = 0.09
Expand All @@ -46,8 +68,8 @@ ROSOLAR_CONFIG
}
ROS_TECH
{
name = TL2
level = 2
name = TL3
level = 3
description = 1963 Era
techRequired = start
kwPerM2 = 0.10
Expand All @@ -68,8 +90,8 @@ ROSOLAR_CONFIG
}
ROS_TECH
{
name = TL3
level = 3
name = TL4
level = 4
description = 1964 Era
techRequired = start
kwPerM2 = 0.11
Expand All @@ -90,8 +112,8 @@ ROSOLAR_CONFIG
}
ROS_TECH
{
name = TL4
level = 4
name = TL5
level = 5
description = 1967 Era
techRequired = start
kwPerM2 = 0.126
Expand All @@ -112,8 +134,8 @@ ROSOLAR_CONFIG
}
ROS_TECH
{
name = TL5
level = 5
name = TL6
level = 6
description = 1975 Era
techRequired = start
kwPerM2 = 0.18
Expand All @@ -134,8 +156,8 @@ ROSOLAR_CONFIG
}
ROS_TECH
{
name = TL6
level = 6
name = TL7
level = 7
description = 1980's
techRequired = start
kwPerM2 = 0.205
Expand All @@ -156,8 +178,8 @@ ROSOLAR_CONFIG
}
ROS_TECH
{
name = TL7
level = 7
name = TL8
level = 8
description = 1990's
techRequired = start
kwPerM2 = 0.233
Expand All @@ -178,8 +200,8 @@ ROSOLAR_CONFIG
}
ROS_TECH
{
name = TL8
level = 8
name = TL9
level = 9
description = ISS Era Solar Panels
techRequired = start
kwPerM2 = 0.265
Expand All @@ -200,8 +222,8 @@ ROSOLAR_CONFIG
}
ROS_TECH
{
name = TL9
level = 9
name = TL10
level = 10
description = Modern Era Solar Panels
techRequired = start
kwPerM2 = 0.301
Expand Down

0 comments on commit ad4811d

Please sign in to comment.