Skip to content

Commit

Permalink
Merge pull request #58 from pasalvetti/main
Browse files Browse the repository at this point in the history
Fixes the inflatable heatshield not having ablator
  • Loading branch information
jan-bures authored Dec 1, 2024
2 parents 5b9afee + ed1c646 commit cdeaf7c
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
44 changes: 44 additions & 0 deletions plugin_template/patches/inflatable_heatshield.patch
Original file line number Diff line number Diff line change
@@ -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;
}
}
}

0 comments on commit cdeaf7c

Please sign in to comment.