Replace UnitTraitOrderTargeter with TargetTypeOrderTargeter.

This also makes naval buildings untargetable for c4 and demo trucks, as they don't make much sense.
This commit is contained in:
Paul Chote
2013-04-15 22:31:09 +12:00
parent e545865599
commit 4ca777597f
16 changed files with 81 additions and 56 deletions

View File

@@ -225,7 +225,7 @@
Selectable:
Priority: 3
TargetableBuilding:
TargetTypes: Ground
TargetTypes: Ground, C4
Armor:
Type: Wood
RepairableBuilding:
@@ -267,7 +267,6 @@
Sellable:
Capturable:
CapturableBar:
C4Demolishable:
DebugMuzzlePositions:
^CivBuilding:
@@ -339,7 +338,7 @@
Adjacent: 7
TerrainTypes: Clear,Road
TargetableBuilding:
TargetTypes: Ground
TargetTypes: Ground, C4
Wall:
CrushClasses: wall
CrushSound: sandbag2.aud
@@ -356,7 +355,6 @@
RelativeToTopLeft: yes
AutoTargetIgnore:
Sellable:
C4Demolishable:
^Tree:
Tooltip: