Skip to content

Commit

Permalink
Add RL10C-X configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Capkirk123 committed Dec 8, 2023
1 parent 2a3212f commit 22687f5
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 0 deletions.
1 change: 1 addition & 0 deletions GameData/RP-1/Tree/ECM-Engines.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,7 @@
RL10C-1-1 = 45000,RL10C-1
RL10C-2-1 = 45000,RL10B-2
RL10C-3 = 50000,RL10B-2
RL10C-X = 25000,RL10C-3,RL10C-1-1
RL200-200k = 146000,RL10A-3-1
RL200-225k = 20000,RL200-200k
RL200-230k = 5000,RL200-225k
Expand Down
47 changes: 47 additions & 0 deletions GameData/RP-1/Tree/TREE-Engines.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4189,6 +4189,13 @@
*@PARTUPGRADE[RFUpgrade_RL10C-3]/deleteme -= 1
}

@CONFIG[RL10C-X]
{
%techRequired = hydrolox2019
%cost = 487
*@PARTUPGRADE[RFUpgrade_RL10C-X]/deleteme -= 1
}

@CONFIG[RL200-200k]
{
%techRequired = improvedHydrolox
Expand Down Expand Up @@ -19668,6 +19675,46 @@ PART
{
}

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

PART
{
name = RFUpgrade_engineConfigSource_RL10C-X
engineType = RL10
}

@PART[RFUpgrade_engineConfigSource_RL10C-X]:AFTER[RealismOverhaulEngines]
{
%MODULE[Module*EngineConfigs] {
@name = ModuleEngineConfigs
%CONFIG[RL10C-X] {
&specLevel = operational
}
}
}

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

!PART[RFUpgrade_engineConfigSource_RL10C-X]:AFTER[RealismOverhaulEngines]
{
}

PARTUPGRADE
{
name = RFUpgrade_RL200-225k
Expand Down
21 changes: 21 additions & 0 deletions Source/Tech Tree/Parts Browser/data/Engine_Config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13849,6 +13849,27 @@
"identical_part_name": "",
"module_tags": []
},
{
"name": "RL10C-X",
"title": "RL10C-X",
"description": "",
"mod": "Engine_Config",
"cost": 487,
"entry_cost": "0",
"category": "HYDROLOX",
"info": "",
"year": "2024",
"technology": "hydrolox2019",
"ro": true,
"orphan": false,
"rp0_conf": true,
"spacecraft": "",
"engine_config": "RL10",
"upgrade": true,
"entry_cost_mods": "25000,RL10C-3,RL10C-1-1",
"identical_part_name": "",
"module_tags": []
},
{
"name": "RL200-200k",
"title": "RL200-200k",
Expand Down

0 comments on commit 22687f5

Please sign in to comment.