Merge repair and rearm anim traits into WithResupplyAnimation

This is the safest approach to avoid conflicts/visual glitches when the host is responsible for both resupply types.
The new trait will simply play a looping animation as long as the actor is resupplying in any form.
This commit is contained in:
reaperrr
2017-11-14 15:07:16 +01:00
committed by abcdefg30
parent 9fb8f6c6f8
commit 8144fca5be
14 changed files with 278 additions and 143 deletions

View File

@@ -1338,7 +1338,7 @@ HPAD:
ReferencePoint: Top
ZOffset: 256
RequiresCondition: primary
WithRearmAnimation:
WithResupplyAnimation:
AFLD:
Inherits: ^Building
@@ -1478,7 +1478,7 @@ AFLD:
ReferencePoint: Top
ZOffset: 256
RequiresCondition: primary
WithRearmAnimation:
WithResupplyAnimation:
AFLD.Ukraine:
Inherits: AFLD
@@ -1874,8 +1874,7 @@ FIX:
StartRepairingNotification: Repairing
FinishRepairingNotification: UnitRepaired
PlayerExperience: 15
WithRepairAnimation:
WithRearmAnimation:
WithResupplyAnimation:
Power:
Amount: -30
ProvidesPrerequisite@buildingname: