Bridge Commander Central

BC Forums => BC Scripting => Topic started by: Spanner on April 02, 2010, 04:00:39 PM

Title: Ftech Torpedo Question
Post by: Spanner on April 02, 2010, 04:00:39 PM
I'm currently using this code to make phased torpedoes:

Code: [Select]
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?