// Removing decoupler shrouds from part that shoudn't get one

// Removing from heatshields (This patch is disabled if ThorTech is installed, since it adds ablators to all parts)
@PART[*]:NEEDS[DecouplerShroud&!ThorTech]:AFTER[DecouplerShroud]:HAS[@MODULE[ModuleAblator]]
{
	!MODULE[ModuleDecouplerShroud] {}
}

// Removing from heatshields with heatshield in their name if ThorTech is installed as a workaround
@PART[*HeatShield*]:NEEDS[DecouplerShroud&ThorTech]:AFTER[DecouplerShroud]{
	!MODULE[ModuleDecouplerShroud] {}
}

//Removing decoupler shroud from engine plates for now
@PART[EnginePlate1p5,EnginePlate2,EnginePlate3,EnginePlate4]:NEEDS[DecouplerShroud]:AFTER[DecouplerShroud]
{
	!MODULE[ModuleDecouplerShroud] {}
}


// Parts that have a decoupler module, but aren't used as stack decouplers
@PART[CargoShroud,CargoShorud,InflatableHeatShield]:NEEDS[DecouplerShroud]:AFTER[DecouplerShroud]
{
	!MODULE[ModuleDecouplerShroud] {}
}

