Author Topic: Ftech Torpedo Question  (Read 530 times)

Offline Spanner

  • Posts: 30
  • Cookies: 0
Ftech Torpedo Question
« 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?