From ed1c646425a08f6fc0b8c79207f358928c6544b0 Mon Sep 17 00:00:00 2001 From: pasalvetti Date: Sat, 30 Nov 2024 12:51:01 +0100 Subject: [PATCH 1/3] Fixes the inflatable heatshield not having ablator --- README.md | 1 + .../patches/inflatable_heatshield.patch | 44 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 plugin_template/patches/inflatable_heatshield.patch diff --git a/README.md b/README.md index 1c4da2e..8fe57a3 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ This project aims to bring together community bug fixes for Kerbal Space Program - **Time Warp Thrust Fix** by [SunSerega](https://github.com/SunSerega) - Fixes the bug where thrust under time warp was sometimes not working despite draining fuel. - **Save/Load DateTime Fix** by [bizzehdee](https://github.com/bizzehdee) - Displays dates and times of save files in the correct locale format. - **Tracking Station Debris Name Fix** by [polo](https://github.com/pasalvetti) - Replaces the object's guid with a human-readable name: "Debris of [ship name]". +- **Inflatable heatshield Fix** by [polo](https://github.com/pasalvetti) - Fixes the inflatable heatshield not having ablator". ## Planned fixes To see what fixes are planned to be implemented, you can visit the [Issues page](https://github.com/KSP2Community/CommunityFixes/issues) on the project's GitHub. diff --git a/plugin_template/patches/inflatable_heatshield.patch b/plugin_template/patches/inflatable_heatshield.patch new file mode 100644 index 0000000..1dab0a9 --- /dev/null +++ b/plugin_template/patches/inflatable_heatshield.patch @@ -0,0 +1,44 @@ +:parts #heatshield_2v_inflatable { + resourceContainers: +[ + { + name: "Ablator", + capacityUnits: 0.8, + initialUnits: 0.8, + NonStageable: false + } + ]; + +Module_Heatshield { + +Data_Heatshield { + IsDeployed: false; + IsAblating: false; + HasEnoughResources: false; + AblatorRatio: 1.0; + AblatorTonnesPerSecond: 1.0; + FluxRemoved: 0.0; + ShieldingDirectionScale: 1.0; + IsAblatorExhausted: false; + requiredResources: [ + { + Rate: 0.5, + ResourceName: "Ablator", + AcceptanceThreshold: 0.001 + } + ]; + AblationTempThreshold: 1000.0; + AblationMaximumOverThreshold: 50.0; + PyrolysisLossFactor: 0.00000016; + ShieldingScale: 1.0; + ShieldingDirection: { + x: 0.0, + y: -1.0, + z: 0.0 + }; + DisabledWhenRetracted: true; + UseChar: true; + CharMaterialName: "heatshield_2v_inflatable"; + CharMin: 0.0; + CharMax: 1.0; + AblatorMaxValue: 1.0; + } + } +} \ No newline at end of file From d7e293f6deddd37285a072ed0a43073e77ddea0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bure=C5=A1?= Date: Sun, 1 Dec 2024 04:16:14 +0100 Subject: [PATCH 2/3] Fixed some typos --- .idea/.idea.CommunityFixes/.idea/projectSettingsUpdater.xml | 1 + README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.idea/.idea.CommunityFixes/.idea/projectSettingsUpdater.xml b/.idea/.idea.CommunityFixes/.idea/projectSettingsUpdater.xml index 86cc6c6..64af657 100644 --- a/.idea/.idea.CommunityFixes/.idea/projectSettingsUpdater.xml +++ b/.idea/.idea.CommunityFixes/.idea/projectSettingsUpdater.xml @@ -1,6 +1,7 @@ + \ No newline at end of file diff --git a/README.md b/README.md index 8fe57a3..6caf3de 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ This project aims to bring together community bug fixes for Kerbal Space Program - **Time Warp Thrust Fix** by [SunSerega](https://github.com/SunSerega) - Fixes the bug where thrust under time warp was sometimes not working despite draining fuel. - **Save/Load DateTime Fix** by [bizzehdee](https://github.com/bizzehdee) - Displays dates and times of save files in the correct locale format. - **Tracking Station Debris Name Fix** by [polo](https://github.com/pasalvetti) - Replaces the object's guid with a human-readable name: "Debris of [ship name]". -- **Inflatable heatshield Fix** by [polo](https://github.com/pasalvetti) - Fixes the inflatable heatshield not having ablator". +- **Inflatable Heat Shield Fix** by [polo](https://github.com/pasalvetti) - Fixes the inflatable heat shield not having ablator. ## Planned fixes To see what fixes are planned to be implemented, you can visit the [Issues page](https://github.com/KSP2Community/CommunityFixes/issues) on the project's GitHub. From a1b0f196bdb5ef934ef5c0c034cffdebf2eaa99f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bure=C5=A1?= Date: Sun, 1 Dec 2024 04:18:24 +0100 Subject: [PATCH 3/3] Bump version to 0.16.0 --- plugin_template/swinfo.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin_template/swinfo.json b/plugin_template/swinfo.json index c3362fa..f60be5b 100644 --- a/plugin_template/swinfo.json +++ b/plugin_template/swinfo.json @@ -5,7 +5,7 @@ "name": "Community Fixes", "description": "Community project that aims to bring together bug fixes for KSP 2.", "source": "https://github.com/KSP2Community/CommunityFixes", - "version": "0.15.0", + "version": "0.16.0", "version_check": "https://raw.githubusercontent.com/KSP2Community/CommunityFixes/main/plugin_template/swinfo.json", "ksp2_version": { "min": "0.2.2",