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

Hylas configs #2333

Merged
merged 1 commit into from
Mar 20, 2024
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
3 changes: 2 additions & 1 deletion GameData/RP-1/Tree/ECM-Engines.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
AJ10-118E = 5000, AJ10-104, AJ10-118D
AJ10-118F = 3000, AJ10-138, AJ10-118E
AJ10-118K = 5000, AJ10-118F
AJ10-133-LH = 4000, HydroloxPF, AJ10-104, AJ10-highPerf
AJ10-133-Hylas = 4000,HydroloxPF,AJ10-104,AJ10-highPerf
AJ10-133-LH = 5000,AJ10-133-Hylas
AJ10-137 = 24500, AJ10-138
AJ10-138 = 2000, AJ10-104, AJ10-highPerf
AJ10-142 = 1500, AJ10-42
Expand Down
49 changes: 49 additions & 0 deletions GameData/RP-1/Tree/TREE-Engines.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,19 @@
*@PARTUPGRADE[RFUpgrade_AJ10-118K]/deleteme -= 1
}

@CONFIG[AJ10-133-Hylas]
{
%techRequired = improvedHydrolox
%cost = 118
tag = Hydrolox
*@PARTUPGRADE[RFUpgrade_AJ10-133-Hylas]/deleteme -= 1
}

@CONFIG[AJ10-133-LH]
{
%techRequired = improvedHydrolox
%cost = 133
tag = Hydrolox
*@PARTUPGRADE[RFUpgrade_AJ10-133-LH]/deleteme -= 1
}

Expand Down Expand Up @@ -6301,6 +6310,46 @@ PART
{
}

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

PART
{
name = RFUpgrade_engineConfigSource_AJ10-133-Hylas
engineType = AJ10_Adv
}

@PART[RFUpgrade_engineConfigSource_AJ10-133-Hylas]:AFTER[RealismOverhaulEngines]
{
%MODULE[Module*EngineConfigs] {
@name = ModuleEngineConfigs
%CONFIG[AJ10-133-Hylas] {
&specLevel = operational
}
}
}

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

!PART[RFUpgrade_engineConfigSource_AJ10-133-Hylas]:AFTER[RealismOverhaulEngines]
{
}

PARTUPGRADE
{
name = RFUpgrade_AJ10-133-LH
Expand Down
29 changes: 27 additions & 2 deletions Source/Tech Tree/Parts Browser/data/Engine_Config.json
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,29 @@
"identical_part_name": "",
"module_tags": []
},
{
"name": "AJ10-133-Hylas",
"title": "AJ10-133-Hylas",
"description": "",
"mod": "Engine_Config",
"cost": "118",
"entry_cost": "0",
"category": "HYDROLOX",
"info": "",
"year": "1966",
"technology": "improvedHydrolox",
"ro": true,
"orphan": false,
"rp0_conf": true,
"spacecraft": "",
"engine_config": "AJ10_Adv",
"upgrade": true,
"entry_cost_mods": "4000,HydroloxPF,AJ10-104,AJ10-highPerf",
"identical_part_name": "",
"module_tags": [
"Hydrolox"
]
},
{
"name": "AJ10-133-LH",
"title": "AJ10-133-LH",
Expand All @@ -766,9 +789,11 @@
"spacecraft": "Alternate Apollo",
"engine_config": "AJ10_Adv",
"upgrade": true,
"entry_cost_mods": "4000, HydroloxPF, AJ10-104, AJ10-highPerf",
"entry_cost_mods": "5000,AJ10-133-Hylas",
"identical_part_name": "",
"module_tags": []
"module_tags": [
"Hydrolox"
]
},
{
"name": "AJ10-137",
Expand Down
Loading