I'm currently using this code to make phased torpedoes:
try:
sYieldName = ?Phased Torpedo?
import FoundationTech
try:
oYield = FoundationTech.oTechs[sYieldName]
FoundationTech.dYields[__name__] = oYield
except:
pass
except:
pass
Is there anyway of altering this to include a list of ships that are immune to it or attach something to the ship file?