Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: KSP-RO/RealismOverhaul
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e0156aeebbac
Choose a base ref
...
head repository: KSP-RO/RealismOverhaul
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5925e0c3c648
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jul 11, 2018

  1. Update the RO engine part patcher

    PhineasFreak committed Jul 11, 2018
    Copy the full SHA
    0c9408b View commit details

Commits on Sep 24, 2018

  1. Merge pull request #1913 from PhineasFreak/RO-Global-Engine-Patcher-U…

    …pdates
    
    [Bug Fix] Update the RO engine part patcher
    raidernick authored Sep 24, 2018
    Copy the full SHA
    5925e0c View commit details
Showing with 10 additions and 9 deletions.
  1. +10 −9 GameData/RealismOverhaul/RO_Engines.cfg
19 changes: 10 additions & 9 deletions GameData/RealismOverhaul/RO_Engines.cfg
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
// ==================================================
// Catch any engine part modules and place them into
// the Engine category.
// the "Engine" category.

// Check if the module implements:
// Check if the part module already implements:

// * ModuleCommand (MechJeb)
// * Decoupler(s) (coupling as a primary function)
// * Custom part categories (FilterExtensions)
// * Command modules (MechJeb)
// * Decouplers (coupling as a primary function)
// * Custom part categories (FilterExtensions)
// * The "leaveCategory" parameter (leaves the part category as is)
// ==================================================

@PART[*]:HAS[@MODULE[ModuleEngines*],!MODULE[*Decouple*],!MODULE[ModuleCommand]]:BEFORE[zzzRealismOverhaul]
@PART[*]:HAS[@MODULE[ModuleEngines*],!MODULE[*Decouple*],!MODULE[ModuleCommand],~leaveCategory[*]]:BEFORE[zzzRealismOverhaul]
{
%category = Engine
%category = Engine
}

// ==================================================
// Make sure that no engine part module has a
// Make sure that no engine part module implements a
// TweakScale module.
// ==================================================

@PART[*]:HAS[@MODULE[TweakScale],@MODULE[ModuleEngines*]]:FOR[zzzRealismOverhaul]
{
!MODULE[TweakScale]{}
!MODULE[TweakScale],*{}
}