forked from pellinor0/TweakScale
-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
Extras/TweakScale/HotFixes/ModuleFuelTank--ModuleB9PartSwitch--Prefer-B9.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// This patch fixes the unholy patching caused by an blindly adding a Fuel Switch module | ||
// on a part that already have another Fuel Switch installed. | ||
// | ||
// There`re many offending patches for this problem. | ||
// | ||
// This patch brute-forces a solution by bluntly deleting one Fuel Switch if both | ||
// the following are found: | ||
// | ||
// * ModuleFuelTank | ||
// * ModuleB9PartSwitch | ||
// | ||
// And the user prefers to use MFT over B9's | ||
// | ||
// References: | ||
// https://github.com/net-lisias-ksp/TweakScale/issues/12 | ||
// https://github.com/net-lisias-ksp/TweakScale/issues/15 | ||
// | ||
// If needed, copy this file to GameData/__LOCAL/TweakScale/HotFixes subdirectory. | ||
@PART[*]:HAS[@MODULE[TweakScale]&@MODULE[ModuleFuelTank]&@MODULE[ModuleB9PartSwitch]]:NEEDS[TweakScale]:FINAL // This patch should be final, indeed. | ||
{ | ||
-MODULE[ModuleFuelTank],* { } | ||
@MMODULE[TweakScale] | ||
{ | ||
HOTFIX = https%3A//forum.kerbalspaceprogram.com/index.php%3F/topic/179030-14-tweakscale-under-lisias-management-2433-2019-0814/%26do%3DfindComment%26comment%3D3661426 | ||
| | ||
} |
27 changes: 27 additions & 0 deletions
27
Extras/TweakScale/HotFixes/ModuleFuelTank--ModuleB9PartSwitch--Prefer-MFT.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// This patch fixes the unholy patching caused by an blindly adding a Fuel Switch module | ||
// on a part that already have another Fuel Switch installed. | ||
// | ||
// There`re many offending patches for this problem. | ||
// | ||
// This patch brute-forces a solution by bluntly deleting one Fuel Switch if both | ||
// the following are found: | ||
// | ||
// * ModuleFuelTank | ||
// * ModuleB9PartSwitch | ||
// | ||
// And the user prefers to use MFT over B9's | ||
// | ||
// References: | ||
// https://github.com/net-lisias-ksp/TweakScale/issues/12 | ||
// https://github.com/net-lisias-ksp/TweakScale/issues/15 | ||
// | ||
// If needed, copy this file to GameData/__LOCAL/TweakScale/HotFixes subdirectory. | ||
@PART[*]:HAS[@MODULE[TweakScale]&@MODULE[ModuleFuelTank]&@MODULE[ModuleB9PartSwitch]]:NEEDS[TweakScale]:FINAL // This patch should be final, indeed. | ||
{ | ||
-MODULE[ModuleB9PartSwitch],* { } | ||
@MMODULE[TweakScale] | ||
{ | ||
HOTFIX = https%3A//forum.kerbalspaceprogram.com/index.php%3F/topic/179030-14-tweakscale-under-lisias-management-2433-2019-0814/%26do%3DfindComment%26comment%3D3661426 | ||
| | ||
} |