I was a little confused about that to be honest. Currently, I have this layout, using an Intrepid Class as an example:
Foundation.ShipDef.Intrepid.dTechs = {"Damper Weapon": 1}
Is that even correct though? What exactly does that do within the ship file?
You have to add the FTech code in the chosen Custom/Ship.py, for it too be effective.
Here is an example I have, from my Steamrunner Mod Pack...
Foundation.ShipDef.STCMPSteamrunner.dTechs = {
"Ablative Armour": 9000,
"Regenerative Shields": 100,
"Reflector Shields": 85,
"AutoTargeting": {"Phaser": [8,1]}
}
The name of the ship MUST be the same exactly of the Custom/Ship .py; as defined in the sample code above. In your case the
Intrepid. Copying and pasting the code, from a script you know that works, is probably your best shot.
Also, I would recommend using the latest
Bridge Commander Universal Tool mod. It has a feature, where you can easily add FTech, to any Custom/ship script.py.