Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 5D60 config to RD-100 #2480

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -28,6 +28,7 @@
4x-NK-21 = NK-21
4x-NK-39 = NK-39
5D22 = 1,11D423
5D60 = 22000, RD101-TP
8x-NK-15V = NK-15V
8x-NK-43 = NK-43
A-4 = 1
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 @@ -135,6 +135,13 @@
*@PARTUPGRADE[RFUpgrade_5D22]/deleteme -= 1
}

@CONFIG[5D60]
{
%techRequired = basicRocketryRP0
%cost = -51
*@PARTUPGRADE[RFUpgrade_5D60]/deleteme -= 1
}

@CONFIG[8x_NK-15V]
{
%techRequired = stagedCombustion1969
Expand Down Expand Up @@ -6357,6 +6364,46 @@ PART
{
}

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

PART
{
name = RFUpgrade_engineConfigSource_5D60
engineType = RD100
}

@PART[RFUpgrade_engineConfigSource_5D60]:AFTER[RealismOverhaulEngines]
{
%MODULE[Module*EngineConfigs] {
@name = ModuleEngineConfigs
%CONFIG[5D60] {
&specLevel = operational
}
}
}

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

!PART[RFUpgrade_engineConfigSource_5D60]:AFTER[RealismOverhaulEngines]
{
}

PARTUPGRADE
{
name = RFUpgrade_8x_NK-43
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 @@ -396,6 +396,27 @@
"identical_part_name": "",
"module_tags": []
},
{
"name": "5D60",
"title": "5D60",
"description": "",
"mod": "Engine_Config",
"cost": "-51",
"entry_cost": "0",
"category": "ORBITAL",
"info": "",
"year": "1952",
"technology": "basicRocketryRP0",
"ro": true,
"orphan": false,
"rp0_conf": true,
"spacecraft": "",
"engine_config": "RD100",
"upgrade": true,
"entry_cost_mods": "22000, RD101-TP",
"identical_part_name": "",
"module_tags": []
},
{
"name": "8x_NK-15V",
"title": "8x_NK-15V",
Expand Down
Loading