Skip to content

Commit

Permalink
Fix vernier pricing
Browse files Browse the repository at this point in the history
Divide vernier prices by 4 where appropriate, and set the price of combo engines to be the sum of their component engines
  • Loading branch information
Capkirk123 committed Feb 11, 2024
1 parent c8cae44 commit 3d4800b
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 44 deletions.
12 changes: 6 additions & 6 deletions GameData/RP-1/Tree/TREE-Engines.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
@CONFIG[11D417B]
{
%techRequired = lunarLanding
%cost = -79
%cost = 0
}

@CONFIG[11D423]
Expand Down Expand Up @@ -3203,21 +3203,21 @@
@CONFIG[RD-0212]
{
%techRequired = stagedCombustion1967
%cost = 36
%cost = 24
*@PARTUPGRADE[RFUpgrade_RD-0212]/deleteme -= 1
}

@CONFIG[RD-0212-Mk2]
{
%techRequired = stagedCombustion1976
%cost = 41
%cost = 26
*@PARTUPGRADE[RFUpgrade_RD-0212-Mk2]/deleteme -= 1
}

@CONFIG[RD-0212-Mk3]
{
%techRequired = stagedCombustion1992
%cost = 41
%cost = 26
*@PARTUPGRADE[RFUpgrade_RD-0212-Mk3]/deleteme -= 1
}

Expand Down Expand Up @@ -3993,14 +3993,14 @@
@CONFIG[RD-855]
{
%techRequired = orbitalRocketry1964
%cost = 22
%cost = 6
*@PARTUPGRADE[RFUpgrade_RD-855]/deleteme -= 1
}

@CONFIG[RD-856]
{
%techRequired = orbitalRocketry1964
%cost = -2
%cost = -1
*@PARTUPGRADE[RFUpgrade_RD-856]/deleteme -= 1
}

Expand Down
32 changes: 16 additions & 16 deletions GameData/RP-1/Tree/TREE-Parts.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
@PART[ALV_3_Engine_1]:FOR[xxxRP0]
{
%TechRequired = stagedCombustion1963
%cost = 435
%cost = 526
%entryCost = 0
RP0conf = true
@description ^=:$: <b><color=green>From Tantares LV mod</color></b>
Expand Down Expand Up @@ -5593,7 +5593,7 @@
@PART[RLA_mp_small_radial]:FOR[xxxRP0]
{
%TechRequired = stagedCombustion1963
%cost = 91
%cost = 23
%entryCost = 0
RP0conf = false
@description ^=:$: <b><color=green>From RLA Stockalike mod</color></b>
Expand Down Expand Up @@ -11590,7 +11590,7 @@
@PART[ROE-RD0212]:FOR[xxxRP0]
{
%TechRequired = stagedCombustion1963
%cost = 435
%cost = 526
%entryCost = 0
RP0conf = true
@description ^=:$: <b><color=green>From ROEngines mod</color></b>
Expand All @@ -11612,7 +11612,7 @@
@PART[ROE-RD0214]:FOR[xxxRP0]
{
%TechRequired = stagedCombustion1963
%cost = 91
%cost = 23
%entryCost = 0
RP0conf = true
@description ^=:$: <b><color=green>From ROEngines mod</color></b>
Expand Down Expand Up @@ -11932,7 +11932,7 @@
@PART[ROE-RD8]:FOR[xxxRP0]
{
%TechRequired = stagedCombustion1981
%cost = 194
%cost = 49
%entryCost = 0
RP0conf = true
@description ^=:$: <b><color=green>From ROEngines mod</color></b>
Expand All @@ -11943,7 +11943,7 @@
@PART[ROE-RD855]:FOR[xxxRP0]
{
%TechRequired = orbitalRocketry1961
%cost = 96
%cost = 24
%entryCost = 0
RP0conf = true
@description ^=:$: <b><color=green>From ROEngines mod</color></b>
Expand All @@ -11954,7 +11954,7 @@
@PART[ROE-RD856]:FOR[xxxRP0]
{
%TechRequired = orbitalRocketry1961
%cost = 50
%cost = 13
%entryCost = 0
RP0conf = true
@description ^=:$: <b><color=green>From ROEngines mod</color></b>
Expand Down Expand Up @@ -13216,7 +13216,7 @@
@PART[ROEE-RD0230]:FOR[xxxRP0]
{
%TechRequired = stagedCombustion1972
%cost = 100
%cost = 25
%entryCost = 0
RP0conf = true
@description ^=:$: <b><color=green>From ROEnginesExtended mod</color></b>
Expand All @@ -13238,7 +13238,7 @@
@PART[ROEE-RD0236]:FOR[xxxRP0]
{
%TechRequired = stagedCombustion1972
%cost = 90
%cost = 23
%entryCost = 0
RP0conf = true
@description ^=:$: <b><color=green>From ROEnginesExtended mod</color></b>
Expand Down Expand Up @@ -13272,7 +13272,7 @@
@PART[ROEE-RD864]:FOR[xxxRP0]
{
%TechRequired = orbitalRocketry1976
%cost = 163
%cost = 41
%entryCost = 0
RP0conf = true
@description ^=:$: <b><color=green>From ROEnginesExtended mod</color></b>
Expand Down Expand Up @@ -26205,7 +26205,7 @@
@PART[radialLiquidEngine1-2]:FOR[xxxRP0]
{
%TechRequired = orbitalRocketry1961
%cost = 96
%cost = 24
%entryCost = 0
RP0conf = true
@description ^=:$: <b><color=green>From Stock (RO Config) mod</color></b>
Expand Down Expand Up @@ -27344,7 +27344,7 @@
@PART[rn_dnepr1_rd0255_vernier]:FOR[xxxRP0]
{
%TechRequired = stagedCombustion1986
%cost = 100
%cost = 25
%entryCost = 0
RP0conf = true
@description ^=:$: <b><color=green>From RN Soviet Rockets mod</color></b>
Expand Down Expand Up @@ -30541,7 +30541,7 @@
@PART[smallRadialEngine]:FOR[xxxRP0]
{
%TechRequired = orbitalRocketry1961
%cost = 50
%cost = 13
%entryCost = 0
RP0conf = true
@description ^=:$: <b><color=green>From Stock (RO Config) mod</color></b>
Expand Down Expand Up @@ -32340,7 +32340,7 @@
@PART[tantares_lv_engine_rd_855_s0_1]:FOR[xxxRP0]
{
%TechRequired = orbitalRocketry1961
%cost = 96
%cost = 24
%entryCost = 0
RP0conf = true
@description ^=:$: <b><color=green>From Tantares LV mod</color></b>
Expand All @@ -32351,7 +32351,7 @@
@PART[tantares_lv_engine_rd_856_s0_1]:FOR[xxxRP0]
{
%TechRequired = orbitalRocketry1961
%cost = 50
%cost = 13
%entryCost = 0
RP0conf = true
@description ^=:$: <b><color=green>From Tantares LV mod</color></b>
Expand All @@ -32362,7 +32362,7 @@
@PART[tantares_lv_engine_rd_8_s0_1]:FOR[xxxRP0]
{
%TechRequired = stagedCombustion1981
%cost = 194
%cost = 49
%entryCost = 0
RP0conf = true
@description ^=:$: <b><color=green>From Tantares LV mod</color></b>
Expand Down
12 changes: 6 additions & 6 deletions Source/Tech Tree/Parts Browser/data/Engine_Config.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"title": "11D417B",
"description": "",
"mod": "Engine_Config",
"cost": -79,
"cost": 0,
"entry_cost": 0,
"category": "EDL",
"info": "",
Expand Down Expand Up @@ -10664,7 +10664,7 @@
"title": "RD-0212",
"description": "",
"mod": "Engine_Config",
"cost": 36,
"cost": 24,
"entry_cost": 0,
"category": "STAGED",
"info": "",
Expand All @@ -10686,7 +10686,7 @@
"title": "RD-0212-Mk2",
"description": "",
"mod": "Engine_Config",
"cost": 41,
"cost": 26,
"entry_cost": 0,
"category": "STAGED",
"info": "",
Expand All @@ -10708,7 +10708,7 @@
"title": "RD-0212-Mk3",
"description": "",
"mod": "Engine_Config",
"cost": 41,
"cost": 26,
"entry_cost": 0,
"category": "STAGED",
"info": "",
Expand Down Expand Up @@ -13237,7 +13237,7 @@
"title": "RD-855",
"description": "",
"mod": "Engine_Config",
"cost": 22,
"cost": 6,
"entry_cost": 0,
"category": "ORBITAL",
"info": "",
Expand All @@ -13259,7 +13259,7 @@
"title": "RD-856",
"description": "",
"mod": "Engine_Config",
"cost": -2,
"cost": -1,
"entry_cost": 0,
"category": "ORBITAL",
"info": "",
Expand Down
2 changes: 1 addition & 1 deletion Source/Tech Tree/Parts Browser/data/RLA_Stockalike.json
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
"title": "RD-0214",
"description": "A vernier engine cluster found on the third stage of the Proton series launcher. Diameter: [3.78 m]. Plume configured by RealPlume.",
"mod": "RLA Stockalike",
"cost": 91,
"cost": 23,
"entry_cost": 0,
"category": "STAGED",
"info": "",
Expand Down
2 changes: 1 addition & 1 deletion Source/Tech Tree/Parts Browser/data/RN_Soviet_Rockets.json
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@
"title": "RD-0257 Vernier",
"description": "RD-0257 vernier engine for second stage of the Dnepr 1 rocket. Plume configured by RealPlume.",
"mod": "RN Soviet Rockets",
"cost": 100,
"cost": 25,
"entry_cost": 0,
"category": "STAGED",
"info": "",
Expand Down
10 changes: 5 additions & 5 deletions Source/Tech Tree/Parts Browser/data/ROEngines.json
Original file line number Diff line number Diff line change
Expand Up @@ -5078,7 +5078,7 @@
"title": "RD-0212",
"description": "",
"mod": "ROEngines",
"cost": 435,
"cost": 526,
"entry_cost": 0,
"category": "STAGED",
"info": "",
Expand Down Expand Up @@ -5127,7 +5127,7 @@
"title": "RD-0207/0214",
"description": "",
"mod": "ROEngines",
"cost": 91,
"cost": 23,
"entry_cost": 0,
"category": "STAGED",
"info": "",
Expand Down Expand Up @@ -5839,7 +5839,7 @@
"title": "RD-8",
"description": "A single-chamber derivative of the RD-8 engine used on the Zenit second stage. Yuzhnoye Design Office concept, featuring dual-axis gimbal control and restart capability for use in upper stages. Diameter: 0.5 m. Plume configured by RealPlume.",
"mod": "ROEngines",
"cost": 194,
"cost": 49,
"entry_cost": 0,
"category": "STAGED",
"info": "",
Expand All @@ -5863,7 +5863,7 @@
"title": "RD-851/855",
"description": "",
"mod": "ROEngines",
"cost": 96,
"cost": 24,
"entry_cost": 0,
"category": "ORBITAL",
"info": "Engine",
Expand All @@ -5887,7 +5887,7 @@
"title": "RD-852/856",
"description": "",
"mod": "ROEngines",
"cost": 50,
"cost": 13,
"entry_cost": 0,
"category": "ORBITAL",
"info": "Engine",
Expand Down
6 changes: 3 additions & 3 deletions Source/Tech Tree/Parts Browser/data/ROEnginesExtended.json
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@
"title": "RD-0230",
"description": "",
"mod": "ROEnginesExtended",
"cost": 100,
"cost": 25,
"entry_cost": 0,
"category": "STAGED",
"info": "",
Expand Down Expand Up @@ -736,7 +736,7 @@
"title": "RD-0236",
"description": "",
"mod": "ROEnginesExtended",
"cost": 90,
"cost": 23,
"entry_cost": 0,
"category": "STAGED",
"info": "",
Expand Down Expand Up @@ -809,7 +809,7 @@
"title": "RD-864",
"description": "",
"mod": "ROEnginesExtended",
"cost": 163,
"cost": 41,
"entry_cost": 0,
"category": "ORBITAL",
"info": "",
Expand Down
4 changes: 2 additions & 2 deletions Source/Tech Tree/Parts Browser/data/Stock__RO_Config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6640,7 +6640,7 @@
"title": "RD-851/855 [Radial]",
"description": "Vernier thruster used on the first stage of the Tsyklon rocket. Diameter: [0.3 m]. Plume configured by RealPlume.",
"mod": "Stock (RO Config)",
"cost": 96,
"cost": 24,
"entry_cost": 0,
"category": "ORBITAL",
"info": "",
Expand Down Expand Up @@ -7186,7 +7186,7 @@
"title": "RD-852/856 [Radial]",
"description": "Vernier thruster used on the second stage of the Tsyklon rocket. Diameter: [0.3 m]. Plume configured by RealPlume.",
"mod": "Stock (RO Config)",
"cost": 50,
"cost": 13,
"entry_cost": 0,
"category": "ORBITAL",
"info": "",
Expand Down
8 changes: 4 additions & 4 deletions Source/Tech Tree/Parts Browser/data/Tantares_LV.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"title": "RD-0212",
"description": "",
"mod": "Tantares LV",
"cost": 435,
"cost": 526,
"entry_cost": 0,
"category": "STAGED",
"info": "",
Expand Down Expand Up @@ -413,7 +413,7 @@
"title": "RD-851/855",
"description": "",
"mod": "Tantares LV",
"cost": 96,
"cost": 24,
"entry_cost": 0,
"category": "ORBITAL",
"info": "",
Expand All @@ -437,7 +437,7 @@
"title": "RD-852/856",
"description": "",
"mod": "Tantares LV",
"cost": 50,
"cost": 13,
"entry_cost": 0,
"category": "ORBITAL",
"info": "",
Expand All @@ -461,7 +461,7 @@
"title": "RD-8",
"description": "",
"mod": "Tantares LV",
"cost": 194,
"cost": 49,
"entry_cost": 0,
"category": "STAGED",
"info": "",
Expand Down

0 comments on commit 3d4800b

Please sign in to comment.