// =====================================================================
// CRASH TEST DEMOLABS - DYNAMIC TECH TREE SYNC
// Ensures all explosive decouplers unlock exactly when their stock counterparts do, 
// completely ignoring what mods (like Unkerballed Start) are installed.
// =====================================================================

// Size 0 (0.625m) - Syncs TNT-06 and TNT-06N to the stock TD-06
@PART[ExplosiveDecoupler_TNT06*]:FINAL
{
    @TechRequired = #$@PART[Decoupler_0]/TechRequired$
}

// Size 1 (1.25m) - Syncs TNT-12 to the stock TD-12
@PART[ExplosiveDecoupler_TNT12]:FINAL
{
    @TechRequired = #$@PART[Decoupler_1]/TechRequired$
}

// Size 1.5 (1.875m) - Syncs TNT-18 to the stock TD-18
@PART[ExplosiveDecoupler_TNT18]:FINAL
{
    @TechRequired = #$@PART[Decoupler_1p5]/TechRequired$
}

// Size 2 (2.5m) - Syncs TNT-25 to the stock TD-25
@PART[ExplosiveDecoupler_TNT25]:FINAL
{
    @TechRequired = #$@PART[Decoupler_2]/TechRequired$
}

// Size 3 (3.75m) - Syncs TNT-37 to the stock TD-37
@PART[ExplosiveDecoupler_TNT37]:FINAL
{
    @TechRequired = #$@PART[Decoupler_3]/TechRequired$
}