Lasers - solid projectiles can stop lasers.
Hostile ships - especially useful for crossing systems patrolled by weak enemies without forcing the captain to come out of autopilot suspension.
Friendly ships - a hostile ROM or unknown device could cause lots of trouble with this.
Stations - a heavy weapon dedicated to disabling stations would allow the player to concentrate regular weapon fire on the defending fleet.
Debris - useful for clearing away dead ships. Note that the missile defense currently targets some harmless debris.
Using the same syntax as the item table modifiers, the device could target any combination of object types.
Code: Select all
<!-- Deionizer -->
<ItemType UNID="&itDeionizer;"
...
description="Keep your flight path clean with this ion neutralizer."
>
<AutoDefenseDevice
target="+ion; +hostile; +friendly; +intersect"
weapon="&itRecoillessCannon;"
...
/>
</ItemType>
It may be helpful to have a default target of "+hostile; +friendly; +intersect", which would simplify devices intended for the most important situation (any weapon that will hit the player should be stopped). With default modifiers, the target for a station disabler might be "+intact; +station; -friendly; -intersect", while the deionizer would only need "+ion".
A few shortcuts could simplify target specifications: "+energy" (all energy weapons), "+weapons" (all weapons), etc.