Skip to content

Commit

Permalink
J57-420 and J79-IAI
Browse files Browse the repository at this point in the history
  • Loading branch information
Capkirk123 committed Mar 9, 2024
1 parent e0254b9 commit b277836
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GameData/RP-1/Tree/ECM-Engines.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@
J57-P-1W = 2000
J57-P-20A = 1000,J57-P-21
J57-P-21 = 500,J57-P-8
J57-P-420 = 1000,J57-P-20A
J57-P-43WA = 500,J57-P-1W
J57-P-7A = 500,J57-P-8
J57-P-8 = 500,J57-P-1W
Expand All @@ -261,6 +262,7 @@
J79-GE-3A = 4400,J47-GE-25A
J79-GE-5C = 500,J79-GE-2A
J79-GE-8 = 5000,J79-GE-2A
J79-IAI-J1E = 2500,J79-GE-17
J79-MTU-J1K = 2500,J79-GE-11
J85-GE-21 = 5000,J85-GE-5
J85-GE-4 = 1000,J35-A-17
Expand Down
94 changes: 94 additions & 0 deletions GameData/RP-1/Tree/TREE-Engines.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1550,6 +1550,13 @@
*@PARTUPGRADE[RFUpgrade_J57-P-21]/deleteme -= 1
}

@CONFIG[J57-P-420]
{
%techRequired = advancedJetEngines
%cost = 145
*@PARTUPGRADE[RFUpgrade_J57-P-420]/deleteme -= 1
}

@CONFIG[J57-P-43WA]
{
%techRequired = matureSupersonic
Expand Down Expand Up @@ -1671,6 +1678,13 @@
*@PARTUPGRADE[RFUpgrade_J79-GE-8]/deleteme -= 1
}

@CONFIG[J79-IAI-J1E]
{
%techRequired = matureTurbofans
%cost = 75
*@PARTUPGRADE[RFUpgrade_J79-IAI-J1E]/deleteme -= 1
}

@CONFIG[J79-MTU-J1K]
{
%techRequired = efficientSupersonic
Expand Down Expand Up @@ -10419,6 +10433,46 @@ PART
{
}

PARTUPGRADE
{
name = RFUpgrade_J57-P-420
partIcon = RO-H1-RS27 // FIXME Once we get dedicated model
techRequired = advancedJetEngines
entryCost = 0
cost = 0
title = J57 Engine Upgrade: J57-P-420 Config
basicInfo = Engine Performance Upgrade
manufacturer = Engine Upgrade
deleteme = 1
description = The J57 Engine now supports the J57-P-420 configuration for increased performance. Unlock it in the VAB/SPH through the engine configs interface.\n\n
}

PART
{
name = RFUpgrade_engineConfigSource_J57-P-420
engineType = J57
}

@PART[RFUpgrade_engineConfigSource_J57-P-420]:AFTER[RealismOverhaulEngines]
{
%MODULE[Module*EngineConfigs] {
@name = ModuleEngineConfigs
%CONFIG[J57-P-420] {
&specLevel = operational
}
}
}

@PARTUPGRADE[RFUpgrade_J57-P-420]:AFTER[RealismOverhaulEngines]
{
%description = #$description$\nAvailable at specLevel $@PART[RFUpgrade_engineConfigSource_J57-P-420]/MODULE[ModuleEngineConfigs]/CONFIG[J57-P-420]/specLevel$
// TODO: could add any number of other useful fields from the CONFIG here. cost? description?
}

!PART[RFUpgrade_engineConfigSource_J57-P-420]:AFTER[RealismOverhaulEngines]
{
}

PARTUPGRADE
{
name = RFUpgrade_J57-P-43WA
Expand Down Expand Up @@ -10939,6 +10993,46 @@ PART
{
}

PARTUPGRADE
{
name = RFUpgrade_J79-IAI-J1E
partIcon = RO-H1-RS27 // FIXME Once we get dedicated model
techRequired = matureTurbofans
entryCost = 0
cost = 0
title = J79 Engine Upgrade: J79-IAI-J1E Config
basicInfo = Engine Performance Upgrade
manufacturer = Engine Upgrade
deleteme = 1
description = The J79 Engine now supports the J79-IAI-J1E configuration for increased performance. Unlock it in the VAB/SPH through the engine configs interface.\n\n
}

PART
{
name = RFUpgrade_engineConfigSource_J79-IAI-J1E
engineType = J79
}

@PART[RFUpgrade_engineConfigSource_J79-IAI-J1E]:AFTER[RealismOverhaulEngines]
{
%MODULE[Module*EngineConfigs] {
@name = ModuleEngineConfigs
%CONFIG[J79-IAI-J1E] {
&specLevel = operational
}
}
}

@PARTUPGRADE[RFUpgrade_J79-IAI-J1E]:AFTER[RealismOverhaulEngines]
{
%description = #$description$\nAvailable at specLevel $@PART[RFUpgrade_engineConfigSource_J79-IAI-J1E]/MODULE[ModuleEngineConfigs]/CONFIG[J79-IAI-J1E]/specLevel$
// TODO: could add any number of other useful fields from the CONFIG here. cost? description?
}

!PART[RFUpgrade_engineConfigSource_J79-IAI-J1E]:AFTER[RealismOverhaulEngines]
{
}

PARTUPGRADE
{
name = RFUpgrade_J79-MTU-J1K
Expand Down
42 changes: 42 additions & 0 deletions Source/Tech Tree/Parts Browser/data/Engine_Config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5128,6 +5128,27 @@
"identical_part_name": "",
"module_tags": []
},
{
"name": "J57-P-420",
"title": "J57-P-420",
"description": "",
"mod": "Engine_Config",
"cost": "145",
"entry_cost": "0",
"category": "FLIGHT",
"info": "",
"year": "1967",
"technology": "advancedJetEngines",
"ro": true,
"orphan": false,
"rp0_conf": true,
"spacecraft": "",
"engine_config": "J57",
"upgrade": true,
"entry_cost_mods": "1000,J57-P-20A",
"identical_part_name": "",
"module_tags": []
},
{
"name": "J57-P-43WA",
"title": "J57-P-43WA",
Expand Down Expand Up @@ -5523,6 +5544,27 @@
"identical_part_name": "",
"module_tags": []
},
{
"name": "J79-IAI-J1E",
"title": "J79-IAI-J1E",
"description": "",
"mod": "Engine_Config",
"cost": "75",
"entry_cost": "0",
"category": "FLIGHT",
"info": "",
"year": "1982",
"technology": "matureTurbofans",
"ro": true,
"orphan": false,
"rp0_conf": true,
"spacecraft": "",
"engine_config": "J79",
"upgrade": true,
"entry_cost_mods": "2500,J79-GE-17",
"identical_part_name": "",
"module_tags": []
},
{
"name": "J79-MTU-J1K",
"title": "J79-MTU-J1K",
Expand Down

0 comments on commit b277836

Please sign in to comment.