Then some hints.
Most of the gameplay related things are done in Assets\Python\CvEventManager.py and CvGameUtils.py.
In this case, in the CvEventManager is a function onUnitMove, which is called after an unit is moved, with some arguments (just look at it).
There you could attach a check for the domain, a check for a tech, and then just let the dices roll, if the ship should be killed.
The available python commands can be seen in the
Python API. It's sorted in classes, and it's logical. The CyUnit class is a unit, and so on.
I don't know, if you now anything about python, so minimum short instruction:
- Intendation is important, because there's no begin/end, no {}, etc, instead the hierachy of commands is just determined by the intendation. Is difficult to program without the python console itself, you should install it.
- No ; at the end of a line
- at the end of the line of an if-statement, a loop, etc you need a :
- Assigning values =, comparing values ==
Another thing: In the BtS .ini you can turn on python exceptions. They are really useful, turn them on.