split unit smoke out into WithSmoke trait; remove duplication

This commit is contained in:
Chris Forbes
2011-07-17 11:27:20 +12:00
parent d6819a19b8
commit 5f315bc404
9 changed files with 56 additions and 48 deletions

View File

@@ -283,5 +283,4 @@ VICE:
PrimaryWeapon: Chemspray
AttackWander:
RenderUnit:
Smokes: False
WithMuzzleFlash:

View File

@@ -29,6 +29,7 @@
Notification: unitlost.aud
AttackMove:
AcceptsCloakCrate:
WithSmoke:
^Tank:
AppearsOnRadar:
@@ -61,6 +62,7 @@
Notification: unitlost.aud
AttackMove:
AcceptsCloakCrate:
WithSmoke:
^Helicopter:
AppearsOnRadar:

View File

@@ -25,6 +25,7 @@ BOAT:
RenderGunboat:
AutoTarget:
AllowMovement: false
WithSmoke:
LST:
Inherits: ^Ship